Re: Firefox crashes all the time on the RaspBerry Pi Zero 2W

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Apr 13, 2025, at 12:37, Mario Marietto <[email protected]> wrote:

> I don't know if it is relevant or not,but this is the image file that I've installed on the sd card of my raspberry pi zero 2W
> 
> FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img

It brings up a very good point, in part based on your earlier:

QUOTE
Mario Marietto <[email protected]> escreveu (sábado, 29/03/2025 à(s) 22:32):
Hello to everyone.

I've installed FreeBSD 14.2 on my Raspberry Pi Zero 2W. 
The problem that I'm having is that Firefox crashes all the time. . . .
END QUOTE

14.2-RELEASE does not officially support any RPi* but what is listed
in:

https://cgit.freebsd.org/src/tree/release/arm64/RPI.conf?h=releng/14.2

as having support files that it supplies for the release media,
such as the *.dtb files copied from the RPi* firmware. What is
listed for the DTBs is:

DTB="bcm2710-rpi-2-b.dtb bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb bcm2710-rpi-cm3.dtb bcm2711-rpi-4-b.dtb"

The file bcm2710-rpi-zero-2-w.dtb is not listed.

There is also no FreeBSD port for a U-boot that is explicitly
for the RPi Zero 2 W:

# ls -dC1 /usr/ports/sysutils/u-boot-rpi*
/usr/ports/sysutils/u-boot-rpi
/usr/ports/sysutils/u-boot-rpi-0-w
/usr/ports/sysutils/u-boot-rpi-arm64
/usr/ports/sysutils/u-boot-rpi2
/usr/ports/sysutils/u-boot-rpi3
/usr/ports/sysutils/u-boot-rpi3-32
/usr/ports/sysutils/u-boot-rpi4

I've no clue if /usr/ports/sysutils/u-boot-rpi-arm64 would
support the RPi0-2-W or not. sysutils/u-boot-rpi-arm64 was
used to supply U-Boot for arm64 for 14.2-RELEASE.

It seems you likely have a non-standard/adjusted
configuration in order to use the RPi0-2-W with the
correct RPi* firmware-related files (and possibly
more).

Separately, you do not mention any configuration of swap
space. With so little RAM you may well need RAM+SWAP.

I've no clue what the minimum RAM might be for firefox use
in your context. For all I know, 512 MiBytes might be too
little. How little may well depend on which graphics
environment you are using, as it all competes for RAM+SWAP .

===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.