head -r365932 to -r368500 upgrade lost https://github.com/pftf/RPi4 v1.21 USB-only based booting for RPi4 (8 GiByte example)

Mark Millard via freebsd-arm <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
I do not have time now to do much exploring for what contributes
to the problem but I figured I'd report this much in case anyone
else has a similar problem.


For the UEFI USB-based boot the RPi4 ends up doing:

(The kernel and earlier stages were loaded from the USB SSD just
fine.)

. . .
xhci0: <Generic USB 3.0 controller> iomem 0x600000000-0x600000fff irq 0 on acpi0
xhci0: 32 bytes context size, 32-bit DMA
usbus0 on xhci0
xhci0: usbpf: Attached
dwcotg0: <DWC OTG 2.0 integrated USB controller> iomem 0xfe980000-0xfe98ffff irq 1 on acpi0
usbus1 on dwcotg0
dwcotg0: usbpf: Attached
. . .
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 480Mbps High Speed USB v2.0
Release APs...Trying to mount root from ufs:/dev/gpt/RPi4Broot []...
done
Root mount waiting for: usbus0CPU  0: ARM Cortex-A72 r0p3 affinity:  0
 usbus1                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>
 CAM
. . .
regulator: shutting down unused regulators
ugen1.1: <DWCOTG OTG Root HUB> at usbus1
ugen0.1: <Generic XHCI root HUB> at usbus0
uhub0 on usbus1
uhub1 on usbus0
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub1: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub0: 1 port with 1 removable, self powered
uhub1: 5 ports with 4 removable, self powered
ugen0.2: <vendor 0x2109 USB2.0 Hub> at usbus0
uhub2 on uhub1
uhub2: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.10/4.21, addr 1> on usbus0
Root mount waiting for: usbus0 CAM
uhub2: 4 ports with 4 removable, self powered
Root mount waiting for: usbus0 CAM
ugen0.3: <Realtek USB 10/100/1000 LAN> at usbus0
Root mount waiting for: usbus0 CAM
Root mount waiting for: usbus0 CAM
Root mount waiting for: usbus0 CAM
Root mount waiting for: usbus0 CAM
Root mount waiting for: usbus0 CAM
Root mount waiting for: usbus0 CAM
Root mount waiting for: usbus0 CAM
Root mount waiting for: usbus0
Root mount waiting for: usbus0
Root mount waiting for: usbus0
. . .

(The same USB SSD mounts root and boots fine via a u-boot
based microsd card stage being involved. Historically I've
been able to boot both ways.)

Context details (booted using a variant of u-boot-rpi4 that
also respects armstub_rsrvd):

# uname -apKU
FreeBSD RPi4B 13.0-CURRENT FreeBSD 13.0-CURRENT #47 r368500M: Thu Dec 10 03:15:10 PST 2020     root@FBSDFHUGE:/usr/obj/cortexA72_clang/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-NODBG  arm64 aarch64 1300131 1300131

# svnlite info /usr/ports/
Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: svn://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 558163
Node Kind: directory
Schedule: normal
Last Changed Author: manu
Last Changed Rev: 558163
Last Changed Date: 2020-12-15 07:07:07 -0800 (Tue, 15 Dec 2020)


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

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.