Date: Mon, 14 Mar 2022 21:50:05 +0800 From: Archimedes Gaviola <archimedes.gaviola@gmail.com> To: Mark Millard <marklmi@yahoo.com> Cc: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi 3B Slow Boot-up Message-ID: <CAJFbk7E3LonfF365hr9sQYc-6Xd_2tLNCgB0mPWTR1RWHMUfRg@mail.gmail.com> In-Reply-To: <71491D61-415D-4096-9BB1-CE07DCDFE185@yahoo.com> References: <CAJFbk7GAzEOOf5-6VgM23kBRa_ASzyCDSRRrzjtK6ue9FhSZ1A@mail.gmail.com> <71491D61-415D-4096-9BB1-CE07DCDFE185@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000b9cebf05da2df523 Content-Type: text/plain; charset="UTF-8" On Mon, Mar 14, 2022 at 8:01 PM Mark Millard <marklmi@yahoo.com> wrote: > On 2022-Mar-14, at 02:55, Archimedes Gaviola <archimedes.gaviola@gmail.com> > wrote: > > > In the default config.txt file there is [pi4] line. If I'm going to > remove this [pi4] line, the boot-up process is very slow. Slow in a sense > that some extended time is observed as compared to the default. I already > tested emphasizing the boot_delay=1 but to no avail. The reason why I > removed it is because I want to change the settings of the HDMI display > resolution as changes will not take effect with the [pi4] line in RPi 3B. > > > > With 14.0-CURRENT (February 24, 2022 snapshot) I have described my > resolution here > https://lists.freebsd.org/archives/freebsd-arm/2022-February/001070.html > however with the latest 14.0-CURRENT (March 10, 2022 snapshot) it's no > longer possible. Any idea what's going on? > > > > Below is the default config.txt and my current config.txt for reference. > > > > freebsd@generic:~ % cat /boot/msdos/config.txt > > [all] > > arm_64bit=1 > > dtparam=audio=on,i2c_arm=on,spi=on > > dtoverlay=mmc > > dtoverlay=disable-bt > > device_tree_address=0x4000 > > kernel=u-boot.bin > > > > [pi4] > > hdmi_safe=1 > > armstub=armstub8-gic.bin > > > > freebsd@generic:~ % cat /boot/msdos/config.txt > > [all] > > arm_64bit=1 > > dtparam=audio=on,i2c_arm=on,spi=on > > dtoverlay=mmc > > dtoverlay=disable-bt > > device_tree_address=0x4000 > > kernel=u-boot.bin > > > > hdmi_group=2 > > hdmi_mode=11 > > armstub=armstub8-gic.bin > > armstub8-gic.bin is specific to the BCM2711 and will not > work for the RPi3, as I understand. > > armstub=armstub8.bin is the default and is what was being > used for the RPi3 when the [pi4] was in place. > > You have the option of listing a [pi3] section last > (after the [pi4] section). To have a [pi3] section > be last, it should have an explicit > armstub=armstub8.bin line. > > Listing older RPi* models last is done because some older > RPi models ignore the [] notation and listing things last > overrides earlier assignments, in this case overriding > assignments for newer models. It is a safe notational > ordering convention, even for models that do support > the [] notation sufficiently. > > If one depended on RPi3 models processing [] notation, > if it does, then another option would have been to move > the [rpi4] line to be just before the > armstub=armstub8-gic.bin line, causing the RPi3 to skip > the assignment and use the default. > Hi Mark, Awesome, it works great! Below is my revised config.txt file now, no more boot-up delay and display resolution was effectively changed. Thank you so much for sharing your thoughts in well-explained details, now I learned. freebsd@generic:~ % cat /boot/msdos/config.txt [all] boot_delay=0 arm_64bit=1 dtparam=audio=on,i2c_arm=on,spi=on dtoverlay=mmc dtoverlay=disable-bt device_tree_address=0x4000 kernel=u-boot.bin [pi4] armstub=armstub8-gic.bin [pi3] hdmi_group=2 hdmi_mode=11 Thanks, Archimedes --000000000000b9cebf05da2df523 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Mon, Mar 14, 2022 at 8:01 PM Mark = Millard <<a href=3D"mailto:marklmi@yahoo.com">marklmi@yahoo.com</a>> = wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0= px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2022-M= ar-14, at 02:55, Archimedes Gaviola <<a href=3D"mailto:archimedes.gaviol= a@gmail.com" target=3D"_blank">archimedes.gaviola@gmail.com</a>> wrote:<= br> <br> > In the default config.txt file there is [pi4] line. If I'm going t= o remove this [pi4] line, the boot-up process is very slow. Slow in a sense= that some extended time is observed as compared to the default. I already = tested emphasizing the boot_delay=3D1 but to no avail. The reason why I rem= oved it is because I want to change the settings of the HDMI display resolu= tion as changes will not take effect with the [pi4] line in RPi 3B.<br> > <br> > With 14.0-CURRENT (February 24, 2022 snapshot) I have described my res= olution here <a href=3D"https://lists.freebsd.org/archives/freebsd-arm/2022= -February/001070.html" rel=3D"noreferrer" target=3D"_blank">https://lists.f= reebsd.org/archives/freebsd-arm/2022-February/001070.html</a> however with = the latest 14.0-CURRENT (March 10, 2022 snapshot) it's no longer possib= le. Any idea what's going on?<br> > <br> > Below is the default config.txt and my current config.txt for referenc= e.<br> > <br> > freebsd@generic:~ % cat /boot/msdos/config.txt<br> > [all]<br> > arm_64bit=3D1<br> > dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don<br> > dtoverlay=3Dmmc<br> > dtoverlay=3Ddisable-bt<br> > device_tree_address=3D0x4000<br> > kernel=3Du-boot.bin<br> > <br> > [pi4]<br> > hdmi_safe=3D1<br> > armstub=3Darmstub8-gic.bin<br> > <br> > freebsd@generic:~ % cat /boot/msdos/config.txt<br> > [all]<br> > arm_64bit=3D1<br> > dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don<br> > dtoverlay=3Dmmc<br> > dtoverlay=3Ddisable-bt<br> > device_tree_address=3D0x4000<br> > kernel=3Du-boot.bin<br> > <br> > hdmi_group=3D2<br> > hdmi_mode=3D11<br> > armstub=3Darmstub8-gic.bin<br> <br> armstub8-gic.bin is specific to the BCM2711 and will not<br> work for the RPi3, as I understand.<br> <br> armstub=3Darmstub8.bin is the default and is what was being<br> used for the RPi3 when the [pi4] was in place.<br> <br> You have the option of listing a [pi3] section last<br> (after the [pi4] section). To have a [pi3] section<br> be last, it should have an explicit<br> armstub=3Darmstub8.bin line.<br> <br> Listing older RPi* models last is done because some older<br> RPi models ignore the [] notation and listing things last<br> overrides earlier assignments, in this case overriding<br> assignments for newer models. It is a safe notational<br> ordering convention, even for models that do support<br> the [] notation sufficiently.<br> <br> If one depended on RPi3 models processing [] notation,<br> if it does, then another option would have been to move<br> the [rpi4] line to be just before the<br> armstub=3Darmstub8-gic.bin line, causing the RPi3 to skip<br> the assignment and use the default.<br></blockquote></div><div class=3D"gma= il_quote"><br></div><div class=3D"gmail_quote"><br></div><div class=3D"gmai= l_quote">Hi Mark,</div><div class=3D"gmail_quote"><br></div><div class=3D"g= mail_quote">Awesome, it works great! Below is my revised config.txt file no= w, no more boot-up delay and display resolution was effectively changed. Th= ank you so much for sharing your thoughts in well-explained details, now I = learned.<br></div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_= quote">freebsd@generic:~ % cat /boot/msdos/config.txt<br>[all]<br>boot_dela= y=3D0<br>arm_64bit=3D1<br>dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don<br>dto= verlay=3Dmmc<br>dtoverlay=3Ddisable-bt<br>device_tree_address=3D0x4000<br>k= ernel=3Du-boot.bin<br><br>[pi4]<br>armstub=3Darmstub8-gic.bin<br><br>[pi3]<= br>hdmi_group=3D2<br>hdmi_mode=3D11</div><div class=3D"gmail_quote"><br></d= iv><div class=3D"gmail_quote">Thanks,</div><div class=3D"gmail_quote">Archi= medes<br></div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quo= te"><br></div><div class=3D"gmail_quote"><div><br></div><div>=C2=A0</div></= div></div> --000000000000b9cebf05da2df523--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJFbk7E3LonfF365hr9sQYc-6Xd_2tLNCgB0mPWTR1RWHMUfRg>