Date: Tue, 15 Apr 2025 14:03:00 +0200 From: Mario Marietto <marietto2008@gmail.com> To: Clinton Bessesen <cbessesen@kbcnetworks.com> Cc: Mark Millard <marklmi@yahoo.com>, Zach Metzinger <zmetzing@pobox.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Firefox crashes all the time on the RaspBerry Pi Zero 2W Message-ID: <CA%2B1FSihq9Ejtg4StVo=O5f4Z0qMQzsJ59wZ=va3LqvNRm9i=vw@mail.gmail.com> In-Reply-To: <CA%2B1FSiiXgFkb79SnpPJL3U6sOf5dS6CcDatfhSshO3dxvFmENw@mail.gmail.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> <CA%2B1FSiiNcFR=61O7hmAHSpqXWLghNJagim_-4A2OOuJtX_cvrA@mail.gmail.com> <8bf4162b-64a0-4ec0-95b9-5f71e6ae95cc@pobox.com> <66F95296-09D2-4FE4-BD1C-73B672CFA039@yahoo.com> <CA%2B1FSijdHnKhi_KMpYOgdaLSJb27OWVTD7Otu96gtc2HvffqiA@mail.gmail.com> <CA%2B1FSig15JXL-=qpA8%2Bz1w6D146ZE%2Bkn7xZpcPy0vg06vmwEYw@mail.gmail.com> <CA%2B1FSigYvo7JSocPncCCHTeOsNnHPHvsROHVxgZW6ZuBkbbYuw@mail.gmail.com> <BYAPR08MB61521D9AE4C0AB579683E54FABB22@BYAPR08MB6152.namprd08.prod.outlook.com> <CA%2B1FSiiXgFkb79SnpPJL3U6sOf5dS6CcDatfhSshO3dxvFmENw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] In addition,I will try to cross compile Firefox for 32 and 64 bit on my PC where I have installed FreeBSD for x86-64 following this fresh tutorial : https://www.siberoloji.com/how-to-cross-compile-software-for-arm-architecture-on-freebsd-operating-system/ because doing it directly on the raspberry pi zero is impossible... On Tue, Apr 15, 2025 at 1:30 PM Mario Marietto <marietto2008@gmail.com> wrote: > I made a mistake before. The image that's seems to be more appropriate for > the raspberry pi at 32 bit does not seems to be this one : > > FreeBSD-14.2-RELEASE-arm-armv7-GENERICSD.img.xz > <https://download.freebsd.org/releases/arm/armv7/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-arm-armv7-GENERICSD.img.xz> > > but this one : > > FreeBSD-13.5-STABLE-arm-armv6-RPI-B-20250403-f8cd0c8e20b0-259236.img.xz > > Don't know what differences there are between these versions. > > With that said,the Superuser.com post says : > > *Install the 32 bit version of Firefox* > > By installing the 32 bit version of firefox (apt-get install firefox:i386) > the base memory usage is only about 50% of what it is with the 64 bit. > > > To be able to cut 50% of the memory usage in one only shot is very > appealing. It's hard to refuse this benefit.... > > On Tue, Apr 15, 2025 at 12:48 PM Clinton Bessesen < > cbessesen@kbcnetworks.com> wrote: > >> Be careful when suggesting 32bit application on a 64bit RISC >> architecture. The 32bit instruction set is a separate license and not every >> silicon manufacturer is still going to be implementing the ARMv7 >> instruction set on ARMv8 or ARMv9 architecture. >> >> I would rather go down the path of optimising firefox memory management >> (remove some of the legacy code). >> >> >> >> Regards >> >> Clinton >> >> >> >> *From:* owner-freebsd-arm@FreeBSD.org <owner-freebsd-arm@FreeBSD.org> *On >> Behalf Of *Mario Marietto >> *Sent:* 15 April 2025 11:10 >> *To:* Mark Millard <marklmi@yahoo.com> >> *Cc:* Zach Metzinger <zmetzing@pobox.com>; freebsd-arm@freebsd.org >> *Subject:* Re: Firefox crashes all the time on the RaspBerry Pi Zero 2W >> >> >> >> I think,this version : >> >> >> >> >> https://download.freebsd.org/releases/arm/armv7/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-arm-armv7-GENERICSD.img.xz >> >> >> >> or, maybe, Firefox can be optimized to run with 512 MB. For >> example,installing the 32 bit version of Firefox on the Raspberry Pi zero >> (if it exists),according with this post : >> >> [image: superuser.com] >> How can I configure Firefox to assume I have less memory? >> <https://superuser.com/questions/459448/how-can-i-configure-firefox-to-assume-i-have-less-memory> >> >> >> >> just because on a 64 bit OS we can run 32 bit applications....at least in >> Linux... >> >> >> >> Mario. >> >> >> >> On Tue, Apr 15, 2025 at 12:06 PM Mario Marietto <marietto2008@gmail.com> >> wrote: >> >> Can I install FreeBSD at 32 bit (if it exists) on the Raspberry Pi Zero >> 2W ? >> >> >> >> On Mon, Apr 14, 2025 at 2:16 AM Mario Marietto <marietto2008@gmail.com> >> wrote: >> >> I will try all your suggestions one by one. Regarding the wi-fi on the >> raspberry pi,I want to open a parentheses... ( >> >> >> >> I'm looking for a way to transform a BT keyboard like that I've bought >> (LILYGO t-keyboard) into a wired / USB keyboard. >> >> I need this conversion because FreeBSD on the Raspy (and not only here) >> does not recognize almost all the BT/Wi-fi devices or if it does,they will >> not work. I found this adapter : >> >> https://www.intelletto.com/products?id=3004 >> >> I would like to understand if it works like I imagine. Basically what I >> want to do to reach the final goal are the following tasks : >> >> >> >> 1) I attach the BT dongle >> >> 2) I turn on my LILYGO bt and it starts waiting for the signal >> >> 3) I attach your adapter >> >> 4) I do the pairing >> >> 5) FreeBSD recognizes the Keyboard as a USB device and it starts working. >> >> >> >> I would like to know if,using that adapter, I can exonerate FreeBSD from >> recognition or maybe it's better to say make it work,the BT dongle that >> I use to do the pairing with my LILYGO keyboard....if the keyboard will be >> recognized as one USB keyboard I can use use it on FreeBSD installed on the >> Raspy. >> >> >> >> closed parentheses ) >> >> >> >> On Mon, Apr 14, 2025 at 1:59 AM Mark Millard <marklmi@yahoo.com> wrote: >> >> On Apr 13, 2025, at 15:41, Zach Metzinger <zmetzing@pobox.com> wrote: >> >> > On 4/13/25 16:47, Mario Marietto wrote: >> >> Why isn't there a specific version of FreeBSD for the raspberry pi >> zero 2W ? >> > >> > Hello Mario, >> > >> > You might think about re-wording that question. It sounds like that >> you're demanding that others do work, gratis, for you. >> > >> > Perhaps a softer way to ask this question is: >> > >> > "Is there a specific version for each of the RPi platforms, >> specifically the Zero 2 W?" >> > >> > I haven't checked recently, but one of the issues I've seen preventing >> a fully-functioning Zero 2 W on FreeBSD is the lack of the wireless driver >> (closed source). You might do some research into that and see if the >> situation has changed and, if possible, contribute to such work. >> > >> >> https://wiki.freebsd.org/arm/Raspberry%20Pi does not list >> any RPi* has having "WiFi" OK. It explicitly lists >> "Unsupported" for each of: RPI 3 / RPi3B+ / RPI 2 1.2 / RPi4 . >> As far as I know, no RPi* has ever had support for any >> built-in WiFi or the like. >> >> In other words: the normal FreeBSD RPi* type of context. >> >> === >> Mark Millard >> marklmi at yahoo.com >> >> >> >> -- >> >> Mario. >> >> >> >> -- >> >> Mario. >> >> >> >> -- >> >> Mario. >> > > > -- > Mario. > -- Mario. [-- Attachment #2 --] <div dir="ltr"><div>In addition,I will try to cross compile Firefox for 32 and 64 bit on my PC where I have installed FreeBSD for<span style="font-size:18px;line-height:24px"><span style="font-size:18px;line-height:24px"> x86-64 following this fresh tutorial : </span></span><br></div><div><br></div><div><a href="https://www.siberoloji.com/how-to-cross-compile-software-for-arm-architecture-on-freebsd-operating-system/">https://www.siberoloji.com/how-to-cross-compile-software-for-arm-architecture-on-freebsd-operating-system/</a></div><div><br></div><div>because doing it directly on the raspberry pi zero is impossible...</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Apr 15, 2025 at 1:30 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I made a mistake before. The image that's seems to be more appropriate for the raspberry pi at 32 bit does not seems to be this one :</div><div><br></div><div><div><a href="https://download.freebsd.org/releases/arm/armv7/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-arm-armv7-GENERICSD.img.xz" target="_blank">FreeBSD-14.2-RELEASE-arm-armv7-GENERICSD.img.xz</a></div><div><br></div><div>but this one :</div><br></div><div></div><div>FreeBSD-13.5-STABLE-arm-armv6-RPI-B-20250403-f8cd0c8e20b0-259236.img.xz</div><div><br></div><div>Don't know what differences there are between these versions.</div><div><br></div><div>With that said,the Superuser.com post says :</div><div><br></div><div><p style="font-size:15px;line-height:27px"><b style="font-size:15px;line-height:27px">Install the 32 bit version of Firefox</b></p> <p style="font-size:15px;line-height:27px">By installing the 32 bit version of firefox (<code style="font-size:13px;line-height:27px">apt-get install firefox:i386</code>) the base memory usage is only about 50% of what it is with the 64 bit.</p><p style="font-size:15px;line-height:27px"><br></p><p style="font-size:15px;line-height:27px">To be able to cut 50% of the memory usage in one only shot is very appealing. It's hard to refuse this benefit.... <br></p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 15, 2025 at 12:48 PM Clinton Bessesen <<a href="mailto:cbessesen@kbcnetworks.com" target="_blank">cbessesen@kbcnetworks.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div> <div lang="EN-GB"> <div> <p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif">Be careful when suggesting 32bit application on a 64bit RISC architecture. The 32bit instruction set is a separate license and not every silicon manufacturer is still going to be implementing the ARMv7 instruction set on ARMv8 or ARMv9 architecture.<u></u><u></u></span></p> <p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif">I would rather go down the path of optimising firefox memory management (remove some of the legacy code).<u></u><u></u></span></p> <p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p> <p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif">Regards<u></u><u></u></span></p> <p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif">Clinton<u></u><u></u></span></p> <p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p> <div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(225,225,225) currentcolor currentcolor;padding:3pt 0cm 0cm"> <p class="MsoNormal"><b><span lang="EN-US" style="font-size:11pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11pt;font-family:"Calibri",sans-serif"> owner-freebsd-arm@FreeBSD.org <owner-freebsd-arm@FreeBSD.org> <b>On Behalf Of </b>Mario Marietto<br> <b>Sent:</b> 15 April 2025 11:10<br> <b>To:</b> Mark Millard <<a href="mailto:marklmi@yahoo.com" target="_blank">marklmi@yahoo.com</a>><br> <b>Cc:</b> Zach Metzinger <<a href="mailto:zmetzing@pobox.com" target="_blank">zmetzing@pobox.com</a>>; <a href="mailto:freebsd-arm@freebsd.org" target="_blank">freebsd-arm@freebsd.org</a><br> <b>Subject:</b> Re: Firefox crashes all the time on the RaspBerry Pi Zero 2W<u></u><u></u></span></p> </div> <p class="MsoNormal"><u></u> <u></u></p> <div> <div> <p class="MsoNormal">I think,this version : <u></u><u></u></p> </div> <div> <p class="MsoNormal"><u></u> <u></u></p> </div> <div> <p class="MsoNormal"><a href="https://download.freebsd.org/releases/arm/armv7/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-arm-armv7-GENERICSD.img.xz" target="_blank">https://download.freebsd.org/releases/arm/armv7/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-arm-armv7-GENERICSD.img.xz</a><u></u><u></u></p> </div> <div> <p class="MsoNormal"><u></u> <u></u></p> </div> <div> <p class="MsoNormal" style="margin-bottom:12pt">or, maybe, Firefox can be optimized to run with 512 MB. For example,installing the 32 bit version of Firefox on the Raspberry Pi zero (if it exists),according with this post :<u></u><u></u></p> <div> <div> <div> <p class="MsoNormal" style="line-height:18.9pt"><img border="0" width="316" height="316" style="width: 3.2916in; height: 3.2916in;" id="m_3372463959009285666m_-6666220099410758946m_7643193570843242486_x0000_i1025" src="https://cdn.sstatic.net/Sites/superuser/Img/apple-touch-icon@2.png?v=e869e4459439" alt="superuser.com"><u></u><u></u></p> </div> <div> <h3 style="line-height:18.9pt"><span style="font-size:12pt"><a href="https://superuser.com/questions/459448/how-can-i-configure-firefox-to-assume-i-have-less-memory" target="_blank">How can I configure Firefox to assume I have less memory? </a><u></u><u></u></span></h3> <p class="MsoNormal" style="line-height:18.9pt"><u></u> <u></u></p> </div> </div> </div> <p class="MsoNormal">just because on a 64 bit OS we can run 32 bit applications....at least in Linux...<u></u><u></u></p> </div> <div> <p class="MsoNormal"><u></u> <u></u></p> </div> <div> <p class="MsoNormal">Mario.<u></u><u></u></p> </div> </div> <p class="MsoNormal"><u></u> <u></u></p> <div> <div> <p class="MsoNormal">On Tue, Apr 15, 2025 at 12:06<span style="font-family:"Arial",sans-serif"> </span>PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<u></u><u></u></p> </div> <blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"> <div> <p class="MsoNormal">Can I install FreeBSD at 32 bit (if it exists) on the Raspberry Pi Zero 2W ?<u></u><u></u></p> </div> <p class="MsoNormal"><u></u> <u></u></p> <div> <div> <p class="MsoNormal">On Mon, Apr 14, 2025 at 2:16<span style="font-family:"Arial",sans-serif"> </span>AM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<u></u><u></u></p> </div> <blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"> <div> <div> <p class="MsoNormal">I will try all your suggestions one by one. Regarding the wi-fi on the raspberry pi,I want to open a parentheses... (<u></u><u></u></p> </div> <div> <div> <p class="MsoNormal"> <u></u><u></u></p> </div> <div> <p class="MsoNormal">I'm looking for a way to transform a BT keyboard like that I've bought (LILYGO t-keyboard) into a wired / USB keyboard. <u></u><u></u></p> <p class="MsoNormal">I need this conversion because FreeBSD on the Raspy (and not only here) does not recognize almost all the BT/Wi-fi devices or if it does,they will not work. I found this adapter :<br> <br> <a href="https://www.intelletto.com/products?id=3004" target="_blank">https://www.intelletto.com/products?id=3004</a><br> <br> I would like to understand if it works like I imagine. Basically what I want to do to reach the final goal are the following tasks : <u></u><u></u></p> </div> <div> <p class="MsoNormal"> <u></u><u></u></p> </div> <div> <p class="MsoNormal">1) I attach the BT dongle<u></u><u></u></p> </div> <div> <p class="MsoNormal">2) I turn on my LILYGO bt and it starts waiting for the signal<u></u><u></u></p> </div> <div> <p class="MsoNormal">3) I attach your adapter<u></u><u></u></p> </div> <div> <p class="MsoNormal">4) I do the pairing<u></u><u></u></p> </div> <div> <p class="MsoNormal">5) FreeBSD recognizes the Keyboard as a USB device and it starts working.<u></u><u></u></p> </div> <div> <p class="MsoNormal"> <u></u><u></u></p> </div> <div> <p class="MsoNormal">I would like to know if,using that adapter, I can <span lang="EN">exonerate FreeBSD from recognition or maybe it's better to say make it work,</span>the BT dongle that I use to do the pairing with my LILYGO keyboard....if the keyboard will be recognized as one USB keyboard I can use use it on FreeBSD installed on the Raspy.<u></u><u></u></p> <p class="MsoNormal"><u></u> <u></u></p> <p class="MsoNormal">closed parentheses )<u></u><u></u></p> </div> </div> </div> <p class="MsoNormal"><u></u> <u></u></p> <div> <div> <p class="MsoNormal">On Mon, Apr 14, 2025 at 1:59<span style="font-family:"Arial",sans-serif"> </span>AM Mark Millard <<a href="mailto:marklmi@yahoo.com" target="_blank">marklmi@yahoo.com</a>> wrote:<u></u><u></u></p> </div> <blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"> <p class="MsoNormal" style="margin-bottom:12pt">On Apr 13, 2025, at 15:41, Zach Metzinger <<a href="mailto:zmetzing@pobox.com" target="_blank">zmetzing@pobox.com</a>> wrote:<br> <br> > On 4/13/25 16:47, Mario Marietto wrote:<br> >> Why isn't there a specific version of FreeBSD for the raspberry pi zero 2W ?<br> > <br> > Hello Mario,<br> > <br> > You might think about re-wording that question. It sounds like that you're demanding that others do work, gratis, for you.<br> > <br> > Perhaps a softer way to ask this question is:<br> > <br> > "Is there a specific version for each of the RPi platforms, specifically the Zero 2 W?"<br> > <br> > I haven't checked recently, but one of the issues I've seen preventing a fully-functioning Zero 2 W on FreeBSD is the lack of the wireless driver (closed source). You might do some research into that and see if the situation has changed and, if possible, contribute to such work.<br> > <br> <br> <a href="https://wiki.freebsd.org/arm/Raspberry%20Pi" target="_blank">https://wiki.freebsd.org/arm/Raspberry%20Pi</a> does not list<br> any RPi* has having "WiFi" OK. It explicitly lists<br> "Unsupported" for each of: RPI 3 / RPi3B+ / RPI 2 1.2 / RPi4 .<br> As far as I know, no RPi* has ever had support for any<br> built-in WiFi or the like.<br> <br> In other words: the normal FreeBSD RPi* type of context.<br> <br> ===<br> Mark Millard<br> marklmi at <a href="http://yahoo.com" target="_blank">yahoo.com</a><br> <br> <u></u><u></u></p> </blockquote> </div> <div> <p class="MsoNormal"><br clear="all"> <u></u><u></u></p> </div> <p class="MsoNormal"><br> <span>-- </span><u></u><u></u></p> <div> <p class="MsoNormal">Mario.<u></u><u></u></p> </div> </blockquote> </div> <div> <p class="MsoNormal"><br clear="all"> <u></u><u></u></p> </div> <p class="MsoNormal"><br> <span>-- </span><u></u><u></u></p> <div> <p class="MsoNormal">Mario.<u></u><u></u></p> </div> </blockquote> </div> <div> <p class="MsoNormal"><br clear="all"> <u></u><u></u></p> </div> <p class="MsoNormal"><br> <span>-- </span><u></u><u></u></p> <div> <p class="MsoNormal">Mario.<u></u><u></u></p> </div> </div> </div> </div></blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div> </blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSihq9Ejtg4StVo=O5f4Z0qMQzsJ59wZ=va3LqvNRm9i=vw>
