Date: Mon, 3 Oct 2022 00:55:47 +0200 From: =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com> To: Mark Millard <marklmi@yahoo.com>, bob prohaska <fbsd@www.zefox.net>, freebsd-arm@freebsd.org Subject: Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it Message-ID: <98ED8DD7-7C4D-4F38-9B83-257C2825F8FD@googlemail.com> In-Reply-To: <D99828FF-9848-4447-9154-082D4484BA09@yahoo.com> References: <20220929002131.GA77106@www.zefox.net> <197D3C46-063B-4C67-AB1A-A3A072521D7F@yahoo.com> <A8C2BA4E-4520-4B34-9614-DDC4D8BEB097@yahoo.com> <6AA65AE6-41F1-405F-A592-7D641EA4C9CF@yahoo.com> <E3A1C678-8C47-4283-9F9F-4C9011DB8A2B@yahoo.com> <20221001174724.GA98055@www.zefox.net> <ABFDD634-5CB6-4DAE-B4DE-629CE7E4FE06@yahoo.com> <20221001193033.GA98348@www.zefox.net> <46226720-D867-4AD3-9559-A4365FAC28C4@yahoo.com> <6DB88FC9-629C-43E6-9673-32640FC547F7@yahoo.com> <20221002182049.GA2255@www.zefox.net> <5FFDAA6A-AD8C-4E40-A2EB-4082E5086679@googlemail.com> <38DFEB91-AC60-4FD1-8088-95B0A06C5E5D@yahoo.com> <EEC43DA1-6B68-4FDD-A68A-A3055E86E407@googlemail.com> <29BC8014-45D9-4AAE-83CC-E27395573B44@yahoo.com> <D99828FF-9848-4447-9154-082D4484BA09@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Am 02.10.2022 um 23:48 schrieb Mark Millard <marklmi@yahoo.com>: >=20 > On 2022-Oct-2, at 14:43, Mark Millard <marklmi@yahoo.com> wrote: >=20 >> On 2022-Oct-2, at 13:18, Klaus K=C3=BCchemann = <maciphone2@googlemail.com> wrote: >>=20 >>> . . . >>>=20 >>>> Am 02.10.2022 um 21:48 schrieb Mark Millard <marklmi@yahoo.com>: >>>>=20 >>>> (RaspiOS and Ubuntu do not use U-Boot last I knew. So >>>> they do not make for good comparisons for the purpose >>>> as far as I know.) >>>=20 >>> RaspiOS doesn=E2=80=99t , Ubuntu(and others) use u-boot since years = =E2=80=A6 >>> while possible Ubuntu(or others) have own u-boot patches , >>> from guessing it seems more probable that they also will sometimes = hang after (re)boot. >>=20 >> Sufficiently modern Ubuntu does not use U-Boot by >> default, at least for server builds. >>=20 >> ubuntu-22.04.1-preinstalled-server-arm64+raspi.img >> has: >>=20 >> # more /mnt/config.txt=20 >> [all] >> kernel=3Dvmlinuz >> . . . >>=20 >> where vmlinux is seen as: >>=20 >> /mnt/vmlinuz >=20 > I should have mentioned the naming convention that > is in use: vmlinuz is a compressed variant of vmlinux > as I remember the naming. >=20 >> No use of U-Boot: direct booting of vmlinux via >> the RPi* firmware's ability to do so. >>=20 >> They do provide uboot_rpi_*.bin 's for folks that >> want to change to use such: >>=20 >> /mnt/uboot_rpi_3.bin >> /mnt/uboot_rpi_4.bin >> /mnt/uboot_rpi_arm64.bin >>=20 >> But the supplied config.txt makes no mention of any >> uboot*.bin and things have to be changed to cause >> a uboot_rpi_*.bin to be involved. >=20 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com Yeah, you=E2=80=99re right, according to their wiki @Pi3 they used = u-boot as the default , but only for SD-card boot. To boot from USB they=20 indeed used bootcode.bin to boot vmlinuz. So no option for fbsd to test with ubuntu-msdos for Pi3USB but perhaps = other distros. > Am 03.10.2022 um 00:06 schrieb Mark Millard <marklmi@yahoo.com>: >=20 > =E2=80=A6=E2=80=A6.. > Fedora=E2=80=99s U-Boot build has the same problem with > the media type that FreeBSD's u-boot does. >=20 > So I only deal with building one U-Boot in one > environment. For my context, so far, things have > been compatible enough to get by with this. Not > that I'd recommend it as a general procedure. >=20 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com >=20 Thanks for info,that=E2=80=99s what I assumed that there=E2=80=99s the = same behavior on linux Fedora or others with u-boot. Having things compatible enough ,as you said , seems the only option = here with Pi3USB, Unfortunately because of that we will probably not succeed patching for = the 3b , since we do not use bootcode.bin to boot directly into FreeBSD. For simplicity I would use the setup with the 30 or so successful = reboots and ensure=20 Remote access to the u-boot console of the 3b. Thanks,=20 Regards Klaus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98ED8DD7-7C4D-4F38-9B83-257C2825F8FD>