Firefox installed from packages on my RaspBerry Pi Zero crashes every time I launch it...

try this (will probably panic but maybe not)

mkdir /boot/test
copy this kernel in /boot/test
at boot stop the loader with esc
unload all
load /boot/test/kernel
boot

when it panics or you reboot will default to your current (good) kernel

BINGO ! it almost works. You have been damned good to apply the right patches. Please,give me the whole package. It has been accepted and the panfrost driver is activated,but it wants its own linker.hints file and its own ko modules. The modules that I'm using come from the kernel 14.0,but you have compiled the 14.2.
 
its actually the previous upload.
the rest of the /boot/kernel can also be taken from a vanilla 14.2 arm64 image
if you take the link above keep the current kernel because the one in the zip above is borked

you can update linker.hints with kldxref /boot/kernel
 
1749152304926.png
 
on my arm64 vm. X running on mac host. kinda works but not very well

Can't work well at the moment. We should be able to compile the mesa libs with the support for the panfrost driver. This is what I tried to do yesterday and today,but I failed :


But before to try to fix that,here I have a problem with the ums.ko module. It won't load it,it says that depends about the kernel - not available or version mismatch ; ums.ko is newer than the linker.hints file.

Without the correct ums.ko module,I can't use my mouse. So,this is a priority.
 
I have fixed my mouse problem. Firefox here don't work at all,it crashes everytime. I think because I should recompile it with the panfrost support. If you want do it with your faster machine,you are welcome. It will take years with my board. Instead,I'm watching some youtube video using Chromium (compiled by you) and it works great (except for the audio that does not work for the moment,dunno why),but the speed of the video streaming using Chromium is good.
 
proccontrol -m aslr -s disable firefox
seems to help a lot with firefox arm64

Works. I see a good speed even with Firefox...so I assume that Firefox can benefit the panfrost driver acceleration even if it has not been compiled with the panfrost driver enabled ?
 
I'm reading that the panfrost driver works on different models of GPU and Im sure that it can work even on the MALI GPU used on the radxa board. For making a workable phone,I should enable the panfrost driver on the radxa zero 3W. Actually the error that I get is that the kernel used for FreeBSD 14.0 and even your recompiled kernel,is not able to detect the root partition. I would like to understand why. What I know is that the number of the partitions on the sd card where the panfrost driver works on the RockPro are 2. Instead,on the sd card where I have installed FreeBSD for the radxa I have 4 partitions :

Code:
=>       40  249737136  da0  GPT  (119G)
         40         24       - free -  (12K)
         64      20416    1  linux-data  (10M)
      20480      10240    2  linux-data  (5.0M)
      30720     100352       - free -  (49M)
     131072      65536    3  efi  (32M)
     196608  249540568    4  freebsd-ufs  (119G)

I think the kernel expect to find the root partition on the slot n. 2,but it is on the slot n. 4,so it fails. Is there a parameter that I can add on loader.conf to tell to the kernel that it should look the root partitition on the partition 4 ? Something like this ?

Code:
loaddev="disk0p4:"

I suspect that it is wrong,because it does not work. Infact according with this post :


it seems that loaddev is set from an EFI variable. I suspect that I should recompile the EFI code to change that variable ?

I don't understand because it seems that the problem arises only if I use the kernel compiled with the drm subtree...

Today I swapped the kernel used on the radxa with your recompiled kernel and I saw that it has been detected. So I think that we can enable the panfrost driver even on the radxa board applying some minor changes.


WhatsApp Image 2025-06-05 at 19.46.28.jpeg
 
why the generic-drm i built won't see the boot device beats me . panfrost won't work on the radxa zero anyway because the vop2 is not implemented.
if it boots from sd card maybe the sdhci driver fails
on my orange pi on which i fixed the drm patches it panics instantly when it tries to write to it's address space but then again drm init fails before because there is no vop and framebuffer and whatever.
 
i will bite the bullet and try to add support for rk vop2 in the next weeks. maybe my board will arrive in a week or so
 
google ai output
In Rockchip SoCs, VOP stands for Visual Output Processor. It is the display controller responsible for transferring image data from video memory to an external LCD interface, enabling video output to displays. VOPs can handle various display formats like HDMI, LVDS, eDP, and MIPI.
the hw is different between rk3399 and rk35xx
 
the panfrost itself is just the gpu like the old voodoo boards that needed another vga card to work
the vop part differes between mfgs and its called different like vop for rk, allwinner display engine (DE2, DE3, etc)
 
Bro. I'm trying to update the system but I get an error :

Code:
@RockPro:/usr # rsync -avxHAXP /boot /boot-backup

@RockPro:/usr # git clone -b releng/14.2 https://git.freebsd.org/src.git /usr/src
Cloning into '/usr/src'...
remote: Enumerating objects: 4655403, done.
remote: Counting objects: 100% (384167/384167), done.
remote: Compressing objects: 100% (29272/29272), done.
remote: Total 4655403 (delta 378448), reused 354895 (delta 354895), pack-reused 4271236 (from 1)
Receiving objects: 100% (4655403/4655403), 1.72 GiB | 6.18 MiB/s, done.
Resolving deltas: 100% (3703194/3703194), done.
Checking objects: 100% (16777216/16777216), done.
Updating files: 100% (99895/99895), done.

@RockPro:/usr/src # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 14.2-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
The following files will be updated as part of updating to
14.2-RELEASE-p3:
/bin/freebsd-version
/boot/kernel/cd9660.ko
/boot/kernel/ext2fs.ko
/boot/kernel/kernel
/boot/kernel/kernel.bin
/boot/kernel/tarfs.ko
/lib/lib80211.so.1
/lib/libbsdxml.so.4
/lib/libcrypto.so.30
/lib/libgeom.so.5
/lib/libmt.so.5
/usr/bin/ctlstat
/usr/bin/mt
/usr/bin/ntpq
/usr/bin/openssl
/usr/bin/ssh-add
/usr/bin/ssh-agent
/usr/bin/ssh-keygen
/usr/include/isofs/cd9660/iso.h
/usr/lib/debug/boot/kernel/cd9660.ko.debug
/usr/lib/debug/boot/kernel/ext2fs.ko.debug

@RockPro:/usr/src # freebsd-update install
Installing updates...xargs: chflags: No such file or directory

@RockPro:/usr/src # freebsd-version -kru
14.2-RELEASE
14.2-RELEASE
14.3-BETA4
 
i don't know why cflags is missing, it should be in /bin
if you have /rescue/chflags
ln -s /rescue/chflags /bin/chflags and run install again
 
Back
Top