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

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Sun, 13 Apr 2025 22:41:55 UTC
->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 .

by default,the FreeBSD image that I've installed on the sd card has the
SWAP memory already configured like this :

# swapinfo

Device                    1K-blocks     Used    Avail    Capacity

/dev/label/growfs_swap    872444        13024   859420   1%

but I suspect that these values are wrong. Can someone help me to fix them
? thanks...

Mario.

On Sun, Apr 13, 2025 at 11:47 PM Mario Marietto <marietto2008@gmail.com>
wrote:

> ->14.2-RELEASE does not officially support any RPi* but what is listed...
>
> Why isn't there a specific version of FreeBSD for the raspberry pi zero 2W
> ? I see that there is another image that I can install,this one :
> FreeBSD-14.2-STABLE-arm64-aarch64-RPI-20250320-84ca9ab010dc-270791.img. Is
> there any chance that it works better than this one ? ---> FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img
> ?
>
> ->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 .
>
> I can setup the swap space following this tutorial :
>
> https://docs.vultr.com/how-to-add-swap-memory-on-freebsd-14-0
>
> How many GB of swap do you suggest to add ?
>
> On Sun, Apr 13, 2025 at 11:30 PM Mark Millard <marklmi@yahoo.com> wrote:
>
>> On Apr 13, 2025, at 12:37, Mario Marietto <marietto2008@gmail.com> 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 <marietto2008@gmail.com> 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
>>
>>
>
> --
> Mario.
>


-- 
Mario.