Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2021 14:28:53 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: RPi4 Status and xorg behavior (Mar 5 2021 firmware is bad for USB based booting)
Message-ID:  <24202B69-A5F2-41CF-A6F4-7113B76B9B0E@yahoo.com>
In-Reply-To: <EC4C3040-E86A-45EC-9E4F-0E0F81ED3CBD@yahoo.com>
References:  <AAA4E495-4E9E-4C55-A07E-74D9737EC15B@yahoo.com> <20210307155515.GA4591@www.zefox.net> <67BF2EAC-04AD-4822-99B2-48A99563331F@yahoo.com> <G5ZAfvg49jl5dj40HAnjmwoEKpVSuGp8KmiBrSY_EBLXou6UGBIjU3tVxUuPGKeCvXEovg2d3tqhIGOmQCyb7c3wKsUHJ8xrSasvwXfbqwk=@protonmail.com> <4B963C56-D7E9-42FE-8B8B-B8A425ACE78F@yahoo.com> <20210308011035.GA6603@www.zefox.net> <DB3CD5BA-337E-476F-9F0C-C70401F7D800@yahoo.com> <C500EE5B-B483-4580-8C7C-9B9B013D726B@googlemail.com> <20210308173045.GB13739@www.zefox.net> <4D8FD8EE-6642-46ED-8AAE-CAECB36572F6@yahoo.com> <20210309023348.GA16279@www.zefox.net> <EC4C3040-E86A-45EC-9E4F-0E0F81ED3CBD@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2021-Mar-9, at 01:05, Mark Millard <marklmi at yahoo.com> wrote:

> On 2021-Mar-8, at 18:33, bob prohaska <fbsd at www.zefox.net> wrote:
>=20
>> On Mon, Mar 08, 2021 at 10:56:15AM -0800, Mark Millard wrote:
>>>=20
>>>=20
>>>=20
>>> Summary for current context:
>>>=20
>>> (The below presumes that the msdosfs file system
>>> involved is mounted on /boot/efi . Adjust as
>>> needed for your context.)
>>>=20
>>> # strings /boot/efi/start4.elf | grep VC_BUILD_ID_
>>> VC_BUILD_ID_USER: dom
>>> VC_BUILD_ID_TIME: 12:10:40
>>> VC_BUILD_ID_VARIANT: start
>>> VC_BUILD_ID_TIME: Feb 25 2021
>>> VC_BUILD_ID_BRANCH: bcm2711_2
>>> VC_BUILD_ID_HOSTNAME: buildbot
>>> VC_BUILD_ID_PLATFORM: raspberrypi_linux
>>> VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 =
(clean)
>>>=20
>>=20
>> On my setup I get
>> bob@generic:/boot/msdos % strings start4.elf | grep VC_BUILD_ID_      =
   =20
>>=20
>> VC_BUILD_ID_USER: dom                                                 =
   =20
>>=20
>> VC_BUILD_ID_TIME: 12:55:10                                            =
   =20
>>=20
>> VC_BUILD_ID_VARIANT: start                                            =
   =20
>>=20
>> VC_BUILD_ID_TIME: Mar  5 2021                                         =
   =20
>>=20
>> VC_BUILD_ID_BRANCH: bcm2711_2                                         =
   =20
>>=20
>> VC_BUILD_ID_HOSTNAME: buildbot                                        =
   =20
>>=20
>> VC_BUILD_ID_PLATFORM: raspberrypi_linux                               =
   =20
>>=20
>> VC_BUILD_ID_VERSION: 8ed5b5711855476273c45bb0754d9e23903a42e7 (clean)
>>=20
>>=20
>> Start4.elf was one of the files copied from the link Manu posted.
>>=20
>> I've not yet tried commenting out hdmi_safe=3D1 in config.txt
>> but will at the next reboot. Right now the machine is doing
>> a world/kernel build.

There is another firmware update to fix that
Mar 5 2021 firmware for USB booting --or you
could try the firmware tagged as 1.20120303 .
So:

=
https://github.com/raspberrypi/firmware/tree/0591568b29a724de406aa737fc8e1=
3f68c423f3f/boot/
(temporarily where =
https://github.com/raspberrypi/firmware/tree/master/boot/ points)

or (tag based):

https://github.com/raspberrypi/firmware/tree/1.20210303/boot/

or (indirectly tag based):

modern sysutils/rpi-firmware build content (1.20210303 as well)=20


> I last did buildworld buildkernel on a RPi4B 8 GiByte
> was back in mid Jan of 2021. A summary is:
>=20
> ENVIRONMENT: -mcpu=3Dcortex-a72 RPi4B @ 2000 MHz =
(sdram_freq_min=3D3200), hw.physmem:8464072704 :
>=20
> World build completed on Tue Jan 19 07:33:02 PST 2021
> World built in 29226 seconds, ncpu: 4, make -j4
> Kernel build for GENERIC-NODBG completed on Tue Jan 19 08:10:58 PST =
2021
> Kernel(s)  GENERIC-NODBG built in 2276 seconds, ncpu: 4, make -j4
>=20
> So World+Kernel took somewhat under 9 hrs to build based on
> a context for which:
>=20
> make[1]: "/usr/fbsd/mm-src/Makefile.inc1" line 339: SYSTEM_COMPILER: =
Determined that CC=3Dcc matches the source tree.  Not bootstrapping a =
cross-compiler.
> make[1]: "/usr/fbsd/mm-src/Makefile.inc1" line 344: SYSTEM_LINKER: =
Determined that LD=3Dld matches the source tree.  Not bootstrapping a =
cross-linker.
>=20
> This was based on main 818390ce0ca5 and was building
> itself from scratch, doing a non-debug build on a
> non-debug system that had been built with -mcpu=3Dcortex-a72
> in use as well.
>=20
> # ~/fbsd-based-on-what-freebsd-main.sh=20
> merge-base: 818390ce0ca539300dd15d7a817784f1e3f7a9b8
> merge-base: CommitDate: 2021-01-13 21:27:44 +0000
> 4180404713ec (HEAD -> mm-src) mm-src snapshot for mm's patched build =
in git context.
> 818390ce0ca5 (freebsd/main, freebsd/HEAD, pure-src, main) arm64: fix =
early devmap assertion
> FreeBSD RPi4B 13.0-CURRENT FreeBSD 13.0-CURRENT =
mm-src-c255938-g4180404713ec GENERIC-NODBG  arm64 aarch64 1300135 =
1300135
>=20
> As is normal for small boards with USB3 in my context: a
> USB3 SSD UFS2+SU file system on USB3 port and no use of
> tmpfs or the like. microsd card not in use. Swap partition
> used.
>=20



=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24202B69-A5F2-41CF-A6F4-7113B76B9B0E>