Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2025 23:47:09 +0200
From:      Mario Marietto <marietto2008@gmail.com>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Andrew Haley <aph-open@littlepinkcloud.com>, freebsd-arm@freebsd.org
Subject:   Re: Firefox crashes all the time on the RaspBerry Pi Zero 2W
Message-ID:  <CA%2B1FSiiNcFR=61O7hmAHSpqXWLghNJagim_-4A2OOuJtX_cvrA@mail.gmail.com>
In-Reply-To: <13B1A133-8AE6-4588-B3FD-7B66867325C8@yahoo.com>
References:  <CA%2B1FSig7cE2_qP2GvbjTV34rDqucto-w5o4Ymyou9fVQ21WO=g@mail.gmail.com> <492f6f91-9ce2-497f-9ac1-2c6c7315790b@FreeBSD.org> <e1daada1-e947-4398-9c74-efd1136e7d5c@littlepinkcloud.com> <357901C9-10F1-4041-9BB2-CFE3FF863A82@yahoo.com> <724ADF41-02A6-4452-9AB2-0F7DF376592D@yahoo.com> <CA%2B1FSigAYEVu3eUhFLWOA2e3SeQi4cN_EYT8CpsQWUEcxmaVSA@mail.gmail.com> <13B1A133-8AE6-4588-B3FD-7B66867325C8@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000cc83050632afe24b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

 ->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=E2=80=AFPM Mark Millard <marklmi@yahoo.com> w=
rote:

> 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=C3=A1bado, 29/03/2025=
 =C3=A0(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=3Dreleng/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=3D"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 .
>
> =3D=3D=3D
> Mark Millard
> marklmi at yahoo.com
>
>

--=20
Mario.

--000000000000cc83050632afe24b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>
-&gt;14.2-RELEASE does not officially support any RPi* but what is listed..=
.</div><div><br></div><div>Why isn&#39;t there a specific version of FreeBS=
D for the raspberry pi zero 2W ? I see that there is another image that I c=
an install,this one : FreeBSD-14.2-STABLE-arm64-aarch64-RPI-20250320-84ca9a=
b010dc-270791.img. Is there any chance that it works better than this one ?=
 ---&gt; <span class=3D"gmail-im">FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.im=
g ?</span></div><div><span class=3D"gmail-im"><br></span></div><div>-&gt;I&=
#39;ve no clue what the minimum RAM might be for firefox use<br>
-&gt;in your context. For all I know, 512 MiBytes might be too<br>
-&gt;little. How little may well depend on which graphics<br>
-&gt;environment you are using, as it all competes for RAM+SWAP .</div><div=
><br></div><div>I can setup the swap space following this tutorial :</div><=
div><br></div><div><a href=3D"https://docs.vultr.com/how-to-add-swap-memory=
-on-freebsd-14-0">https://docs.vultr.com/how-to-add-swap-memory-on-freebsd-=
14-0</a></div><div><br></div><div>How many GB of swap do you suggest to add=
 ?=C2=A0</div></div><br><div class=3D"gmail_quote gmail_quote_container"><d=
iv dir=3D"ltr" class=3D"gmail_attr">On Sun, Apr 13, 2025 at 11:30=E2=80=AFP=
M Mark Millard &lt;<a href=3D"mailto:marklmi@yahoo.com">marklmi@yahoo.com</=
a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On=
 Apr 13, 2025, at 12:37, Mario Marietto &lt;<a href=3D"mailto:marietto2008@=
gmail.com" target=3D"_blank">marietto2008@gmail.com</a>&gt; wrote:<br>
<br>
&gt; I don&#39;t know if it is relevant or not,but this is the image file t=
hat I&#39;ve installed on the sd card of my raspberry pi zero 2W<br>
&gt; <br>
&gt; FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img<br>
<br>
It brings up a very good point, in part based on your earlier:<br>
<br>
QUOTE<br>
Mario Marietto &lt;<a href=3D"mailto:marietto2008@gmail.com" target=3D"_bla=
nk">marietto2008@gmail.com</a>&gt; escreveu (s=C3=A1bado, 29/03/2025 =C3=A0=
(s) 22:32):<br>
Hello to everyone.<br>
<br>
I&#39;ve installed FreeBSD 14.2 on my Raspberry Pi Zero 2W. <br>
The problem that I&#39;m having is that Firefox crashes all the time. . . .=
<br>
END QUOTE<br>
<br>
14.2-RELEASE does not officially support any RPi* but what is listed<br>
in:<br>
<br>
<a href=3D"https://cgit.freebsd.org/src/tree/release/arm64/RPI.conf?h=3Drel=
eng/14.2" rel=3D"noreferrer" target=3D"_blank">https://cgit.freebsd.org/src=
/tree/release/arm64/RPI.conf?h=3Dreleng/14.2</a><br>
<br>
as having support files that it supplies for the release media,<br>
such as the *.dtb files copied from the RPi* firmware. What is<br>
listed for the DTBs is:<br>
<br>
DTB=3D&quot;bcm2710-rpi-2-b.dtb bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dt=
b bcm2710-rpi-cm3.dtb bcm2711-rpi-4-b.dtb&quot;<br>
<br>
The file bcm2710-rpi-zero-2-w.dtb is not listed.<br>
<br>
There is also no FreeBSD port for a U-boot that is explicitly<br>
for the RPi Zero 2 W:<br>
<br>
# ls -dC1 /usr/ports/sysutils/u-boot-rpi*<br>
/usr/ports/sysutils/u-boot-rpi<br>
/usr/ports/sysutils/u-boot-rpi-0-w<br>
/usr/ports/sysutils/u-boot-rpi-arm64<br>
/usr/ports/sysutils/u-boot-rpi2<br>
/usr/ports/sysutils/u-boot-rpi3<br>
/usr/ports/sysutils/u-boot-rpi3-32<br>
/usr/ports/sysutils/u-boot-rpi4<br>
<br>
I&#39;ve no clue if /usr/ports/sysutils/u-boot-rpi-arm64 would<br>
support the RPi0-2-W or not. sysutils/u-boot-rpi-arm64 was<br>
used to supply U-Boot for arm64 for 14.2-RELEASE.<br>
<br>
It seems you likely have a non-standard/adjusted<br>
configuration in order to use the RPi0-2-W with the<br>
correct RPi* firmware-related files (and possibly<br>
more).<br>
<br>
Separately, you do not mention any configuration of swap<br>
space. With so little RAM you may well need RAM+SWAP.<br>
<br>
I&#39;ve no clue what the minimum RAM might be for firefox use<br>
in your context. For all I know, 512 MiBytes might be too<br>
little. How little may well depend on which graphics<br>
environment you are using, as it all competes for RAM+SWAP .<br>
<br>
=3D=3D=3D<br>
Mark Millard<br>
marklmi at <a href=3D"http://yahoo.com" rel=3D"noreferrer" target=3D"_blank=
">yahoo.com</a><br>
<br>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Ma=
rio.<br></div>

--000000000000cc83050632afe24b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSiiNcFR=61O7hmAHSpqXWLghNJagim_-4A2OOuJtX_cvrA>