Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2020 21:11:33 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Klaus Cucinauomo <maciphone2@googlemail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: 64-bit RPi4B u-boot hangup with modern rpi firmware: some information (but investigative-toolbox limited)
Message-ID:  <854306A9-86D0-46F2-B60D-57E1AA3826E7@yahoo.com>
In-Reply-To: <1AE927D0-5EF3-4413-82E4-F6849E45AB11@googlemail.com>
References:  <290E51C0-0AF5-4C75-AA7B-BA56DF1AFDFB.ref@yahoo.com> <F439DCA4-481E-4918-9ED4-2D9ECB2DD03F@yahoo.com> <D63E3FD9-72AD-4C61-BBA6-323D8FCA5775@googlemail.com> <C8A5CA35-A18A-41C0-A18E-2837CED23BB4@yahoo.com> <8EB23BD2-15C0-4679-87A9-87FE5906A7EA@googlemail.com> <02528C74-F23F-46BB-8028-3DE9CB2A8327@yahoo.com> <C84F37F2-44DE-4EEB-8F32-C07A32BCC2D1@yahoo.com> <DEE789A4-5342-4D4D-A061-8578CC294DF0@yahoo.com> <23232AED-BE4E-4E05-8B77-F9946D9B3613@yahoo.com> <Lc5bsbXBev1HbQ90V7uoS5gKlcmfLrrMSKC1Scg7uUzJKFw_7CJ_wvoAjwmmLu4SCwdt1XjUGFWTXT3nw2txfIAmHqF7xkT7HTMD_u0ZyY0=@protonmail.com> <BE3673CE-B7C2-4209-8648-F28935030A6D@yahoo.com> <1AE927D0-5EF3-4413-82E4-F6849E45AB11@googlemail.com>

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


> On 2020-Oct-15, at 13:39, Klaus Cucinauomo <maciphone2 at =
googlemail.com> wrote:
>=20
>=20
>> Am 15.10.2020 um 22:30 schrieb Mark Millard via freebsd-arm =
<freebsd-arm at freebsd.org>:
>=20
>> If I understand right, the serial console baud rate change
>> problem seen on, for example, RPi3*'s is still an issue.
>>=20
>=20
> No:
>=20
> =
https://github.com/raspberrypi/firmware/issues/1445#issuecomment-709341782=


Cool. Thanks for letting me know.

I've set up a modern-firmware RPI3B v1.2 to boot via a USB3 SDD
(no microsd card involved) with head -r365932 using either of:

A) u-boot 2020.10 ( armstub8.bin and u-boot.bin )
B) uefi/DeviceTree v1.20 ( RPI_EFI.fd )

The USB3 SSD is GPT partitioned:

# gpart show -p
=3D>       40  468862048    da0  GPT  (224G)
         40       2008         - free -  (1.0M)
       2048  413138944  da0p1  freebsd-ufs  (197G)
  413140992    6291456  da0p2  freebsd-swap  (3.0G)
  419432448    6291456  da0p4  freebsd-swap  (3.0G)
  425723904     524288  da0p3  efi  (256M)
  426248192   42613896         - free -  (20G)

# gpart show -pl
=3D>       40  468862048    da0  GPT  (224G)
         40       2008         - free -  (1.0M)
       2048  413138944  da0p1  PINE642Groot  (197G)
  413140992    6291456  da0p2  PINE642Gswap  (3.0G)
  419432448    6291456  da0p4  PINE642Gswp2  (3.0G)
  425723904     524288  da0p3  RPi3boot  (256M)
  426248192   42613896         - free -  (20G)

(Before the Pine64+ 2GB bit the dust, I also used this media
to boot it and have not bothered to rename everything.)

The USB3 SSD is on a powered hub, unlike my usual RPI4B
context.

Ethernet works.

Frequently "shutdown -r now" hangs up after the Uptime notice.
(When it works there is a fairly long pause first.)

Unfortunately, FreeBSD -r365932 with the RPi3B v1.2 ends up
with:

u-boot example:
# dmesg -a | grep -i mmc
mmc0: <MMC/SD bus> on sdhci_bcm0
mmc0: No compatible cards found on bus

uefi/DT example:
# dmesg -a | grep -i mmc
mmc0: <MMC/SD bus> on sdhost_bcm0
mmc1: <MMC/SD bus> on sdhci_bcm0
mmc0: No compatible cards found on bus
mmc1: No compatible cards found on bus

So, no /dev/mmc* in either context.

(FYI: u-boot at its prompt does deal with the microsd card slot
and having a card in it.)


Note: uefi/ACPI for the RPi3 does not yet have serial mode and
FreeBSD crashes similarly to using graphical mode on the RPi4's.

=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?854306A9-86D0-46F2-B60D-57E1AA3826E7>