Re: rock64 verbose boot hangs

From: Mark Millard via freebsd-arm <freebsd-arm_at_freebsd.org>
Date: Sun, 19 Sep 2021 08:11:00 UTC
I expect that you may to need to specify more context:
the Rock64 that I have access to boots fine with boot -v .

# uname -apKU
FreeBSD Rock64_RPi_4_3_2v1p2 14.0-CURRENT FreeBSD 14.0-CURRENT #12 main-n249019-0637070b5bca-dirty: Tue Aug 31 02:24:20 PDT 2021     root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA72  arm64 aarch64 1400032 1400032

It is a UFS context.

For reference:

. . .
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu0: Nominal frequency 600Mhz
cpufreq_dt0: <Generic cpufreq driver> on cpu0
cpufreq_dt0: 408.000 Mhz (950000 uV)
cpufreq_dt0: 600.000 Mhz (950000 uV)
cpufreq_dt0: 816.000 Mhz (1000000 uV)
cpufreq_dt0: 1008.000 Mhz (1100000 uV)
cpufreq_dt0: 1200.000 Mhz (1225000 uV)
cpufreq_dt0: 1296.000 Mhz (1300000 uV)
cpu1: <Open Firmware CPU> on cpulist0
cpu1: Nominal frequency 600Mhz
cpufreq_dt1: <Generic cpufreq driver> on cpu1
cpufreq_dt1: 408.000 Mhz (950000 uV)
cpufreq_dt1: 600.000 Mhz (950000 uV)
cpufreq_dt1: 816.000 Mhz (1000000 uV)
cpufreq_dt1: 1008.000 Mhz (1100000 uV)
cpufreq_dt1: 1200.000 Mhz (1225000 uV)
cpufreq_dt1: 1296.000 Mhz (1300000 uV)
cpu2: <Open Firmware CPU> on cpulist0
. . .

But, as I remember, there seemed to be vintage variations
for the Rock64 that were not obvious and for which varoius
examples have had problems booting when others did not. (I
am not claiming to know that the specifics of your case
are an example.) As I remember some folks have made
adjustments to get things working. It is possible that the
explicit version for the Rock64 might be important, even
if other variations might also be at issue.

There also could be issues of U-Boot vintage that might be
involved. What I'm using reports:

. . .
U-Boot TPL 2021.04 (Apr 26 2021 - 22:44:22)
LPDDR3, 800MHz
BW=32 Col=11 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=4096MB
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2021.04 (Apr 26 2021 - 22:44:22 -0700)
Trying to boot from MMC1
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
Trying to boot from MMC2
NOTICE:  BL31: v2.4(release):
NOTICE:  BL31: Built : 06:30:19, Apr 26 2021
NOTICE:  BL31:Rockchip release version: v1.2


U-Boot 2021.04 (Apr 26 2021 - 22:49:12 -0700)

Model: Pine64 Rock64
DRAM:  4 GiB
. . .

If I remember right, later versions were a problem
last I tried but I've not been trying newer ones
in some time (on other types of devices aw well).

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