Build 33 installed on NVMe not working

Enter the system normally when you turn it on for the first time.
But after restarting, I can’t enter the system anymore.

Environment:
rock-5b-spi-image-g3caf61a44c2-debug.img
rock-5b_debian_bullseye_kde_b33.img.xz

NVMe:
Transcend TS256GMTE110S 256.0 GB
and
Kingston A2000 NVMe SSD 500G

PS:
Using rock-5b-debian-bullseye-xfce4-arm64-20221031-1558-gpt.img.xz is no problem.

See the console log as follows:

DDR Version V1.08 20220617
DDR Version V1.08 20220617
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
Manufacturer ID:0xff
CH0 RX Vref:28.7%, TX Vref:21.8%,21.8%
CH1 RX Vref:29.7%, TX Vref:22.8%,21.8%
CH2 RX Vref:30.7%, TX Vref:21.8%,20.8%
CH3 RX Vref:27.7%, TX Vref:22.8%,22.8%
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09-g3caf61a44c2-220414 #stephen (Sep 29 2022 - 18:14:19)
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 0
spl: mmc init failed with error: -123
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 14
spl: mmc init failed with error: -95
Trying to boot from MTD2
Trying fit image at 0x4000 sector

Verified-boot: 0

Checking atf-1 0x00040000 … sha256(806278dba1…) + OK

Checking uboot 0x00200000 … sha256(6a08776395…) + OK

Checking fdt 0x0030a010 … sha256(d32827d3ac…) + OK

Checking atf-2 0x000f0000 … sha256(c00c7fd75b…) + OK

Checking atf-3 0xff100000 … sha256(71c3a5841b…) + OK

Checking atf-4 0xff001000 … sha256(2301cf73be…) + OK

Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 498.301 ms

INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-405-gb52c2eadd:derrick.huang
NOTICE: BL31: Built : 11:23:47, Aug 15 2022
INFO: spec: 0x1
INFO: ext 32k is not valid
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: system boots from cpu-hwid-0
INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz
INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz
INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz
INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz
INFO: BL31: Initialising Exception Handling Framework
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR: Error initializing runtime service opteed_fast
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9

U-Boot 2017.09-g3caf61a44c2-220414 #stephen (Sep 29 2022 - 18:14:19 +0800)

Model: Radxa ROCK 5B
PreSerial: 2, raw, 0xfeb50000
DRAM: 15.7 GiB
Sysmem: init
Relocation Offset: edb6d000
Relocation fdt: eb9f9cd8 - eb9fecc8
CR: M/C/I
Using default environment

SF: Detected sfc_nor with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Bootdev(atags): mtd 2
PartType: EFI
DM: v2
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
No resource partition
No resource partition
Failed to load DTB, ret=-19
No find valid DTB, ret=-22
Failed to get kernel dtb, ret=-22
Model: Radxa ROCK 5B
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KHz
v0pll 24000 KHz
aupll 24000 KHz
cpll 1500000 KHz
gpll 1188000 KHz
npll 24000 KHz
ppll 1100000 KHz
aclk_center_root 702000 KHz
pclk_center_root 100000 KHz
hclk_center_root 396000 KHz
aclk_center_low_root 500000 KHz
aclk_top_root 750000 KHz
pclk_top_root 100000 KHz
aclk_low_top_root 396000 KHz
No misc partition
Net: No ethernet found.
Hit key to stop autoboot(‘CTRL+C’): 0
invalid flags type!

Device 0: Repair the backup gpt table OK!
Vendor: 0x1d79 Rev: U1006A3 Prod: H455073714
Type: Hard Disk
Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
… is now current device
Scanning nvme 0:2…
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
1411 bytes read in 2 ms (688.5 KiB/s)
U-Boot menu
1: Debian GNU/Linux 11 (bullseye) 5.10.110-8-rockchip
2: Debian GNU/Linux 11 (bullseye) 5.10.110-8-rockchip (rescue target)
Enter choice: 1: Debian GNU/Linux 11 (bullseye) 5.10.110-8-rockchip
Retrieving file: /boot/initrd.img-5.10.110-8-rockchip
** File not found /boot/initrd.img-5.10.110-8-rockchip **
Skipping l0 for failure retrieving initrd
2: Debian GNU/Linux 11 (bullseye) 5.10.110-8-rockchip (rescue target)
Retrieving file: /boot/initrd.img-5.10.110-8-rockchip
8212018 bytes read in 13 ms (602.4 MiB/s)
Retrieving file: /boot/vmlinuz-5.10.110-8-rockchip
28170752 bytes read in 36 ms (746.3 MiB/s)
append: root=UUID=79cfa060-ad46-4e28-b208-ad722575e31b quiet splash loglevel=4 rw earlycon consoleblank=0 console=tty0 console=ttyFIQ0,1500000n8 console=ttyAML0,115200n8 console=ttyS2,1500000n8 console=ttyS0,1500000n8 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 plymouth.ignore-serial-consoles cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 single
Retrieving file: /usr/lib/linux-image-5.10.110-8-rockchip/rockchip/rk3588-rock-5b.dtb
250190 bytes read in 19 ms (12.6 MiB/s)
Fdt Ramdisk skip relocation
No misc partition

Flattened Device Tree blob at 0x0a100000

Booting using the fdt blob at 0x0a100000
‘reserved-memory’ cma: addr=10000000 size=10000000
‘reserved-memory’ ramoops@110000: addr=110000 size=f0000
Using Device Tree in place at 000000000a100000, end 000000000a14014d
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x100000000 - 0x3fc000000 (size: 0x2fc000000)
Adding bank: 0x3fc500000 - 0x3fff00000 (size: 0x03a00000)
Total: 2541.466 ms

Starting kernel …

[ 3.380950] fiq_debugger fiq_debugger.0: IRQ fiq not found
[ 3.380964] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[ 3.380971] fiq_debugger_probe: could not install nmi irq handler
[ 4.030205] mpp-iep2 fdbb0000.iep: allocate roi buffer failed
[ 4.030841] rk-pcie fe170000.pcie: IRQ msi not found
[ 4.030865] rk-pcie fe170000.pcie: Missing config reg space
[ 4.030996] rk-pcie fe170000.pcie: Missing config reg space
[ 4.031037] rk-pcie fe170000.pcie: invalid resource
[ 4.031235] rk-pcie fe150000.pcie: IRQ msi not found
[ 4.031260] rk-pcie fe150000.pcie: Missing config reg space
[ 4.031388] rk-pcie fe150000.pcie: Missing config reg space
[ 4.031427] rk-pcie fe150000.pcie: invalid resource
[ 4.031854] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found!
[ 4.031862] rkvdec2_init:1008: No niu aclk reset resource define
[ 4.031869] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found!
[ 4.031874] rkvdec2_init:1011: No niu hclk reset resource define
[ 4.032514] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_a is not found!
[ 4.032521] rkvdec2_init:1008: No niu aclk reset resource define
[ 4.032527] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_h is not found!
[ 4.032533] rkvdec2_init:1011: No niu hclk reset resource define
[ 4.297459] rockchip-hdptx-phy-hdmi fed70000.hdmiphy: hdptx phy pll locked!
[ 4.301204] rockchip-hdptx-phy-hdmi fed70000.hdmiphy: hdptx phy lane locked!
[ 4.560509] rk806 spi2.0: no sleep-setting state
[ 4.560564] rk806 spi2.0: no reset-setting pinctrl state
[ 4.560602] rk806 spi2.0: no dvs-setting pinctrl state
[ 4.792266] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[ 4.797031] rksfc_base v1.1 2016-01-08
[ 4.828950] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[ 4.829136] rockchip-dmc dmc: failed to get vop pn to msch rl
[ 4.830175] rockchip-dmc dmc: could not find power_model node
[ 4.835480] rk-pcie fe190000.pcie: IRQ msi not found
[ 4.835643] rk-pcie fe190000.pcie: Missing config reg space
[ 4.835969] rk-pcie fe190000.pcie: Missing config reg space
[ 4.836139] rk-pcie fe190000.pcie: invalid resource
[ 4.838600] RKNPU fdab0000.npu: can’t request region for resource [mem 0xfdab0000-0xfdabffff]
[ 4.838687] RKNPU fdab0000.npu: can’t request region for resource [mem 0xfdac0000-0xfdacffff]
[ 4.838751] RKNPU fdab0000.npu: can’t request region for resource [mem 0xfdad0000-0xfdadffff]
[ 4.843638] debugfs: Directory ‘fdab0000.npu-rknpu’ with parent ‘vdd_npu_s0’ already present!
[ 4.870107] RKNPU fdab0000.npu: failed to find power_model node
[ 4.870183] RKNPU fdab0000.npu: RKNPU: failed to initialize power model
[ 4.870231] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
[ 6.784083] panfrost fb000000.gpu: opp_parse_supplies: Invalid number of elements in opp-microvolt property (6) with supplies (1)
[ 6.784406] panfrost fb000000.gpu: _of_add_opp_table_v2: Failed to add OPP, -22
[ 6.784981] panfrost fb000000.gpu: devfreq init failed -22
[ 6.785186] panfrost fb000000.gpu: Fatal error during GPU init
[ 6.878694] debugfs: File ‘Capture’ in directory ‘dapm’ already present!
[ 6.960265] rk-multicodecs es8316-sound: ASoC: Property ‘rockchip,audio-routing’ does not exist or its length is not even

Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue.
[ 6.982089] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_cancel_cpu_limit_freq freq qos nod add
[ 6.986918] debugfs: Directory ‘fb000000.gpu-mali’ with parent ‘vdd_gpu_s0’ already present!
[ 7.093257] debugfs: File ‘Left Hp mixer’ in directory ‘dapm’ already present!
[ 7.093497] debugfs: File ‘Right Hp mixer’ in directory ‘dapm’ already present!
[ 7.093689] debugfs: File ‘HPCP L’ in directory ‘dapm’ already present!
[ 7.093850] debugfs: File ‘HPCP R’ in directory ‘dapm’ already present!
[ 7.094022] debugfs: File ‘HPVOL L’ in directory ‘dapm’ already present!
[ 7.094182] debugfs: File ‘HPVOL R’ in directory ‘dapm’ already present!
[ 7.104471] rtk_btusb: btusb_open hdev->promisc ==0
[ 7.118796] rtk_btusb: fw name is rtl8852bu_fw
[ 7.119408] rtk_btusb: This is not 8723a, use new patch style!
[ 7.173694] BUG: spinlock bad magic on CPU#5, systemd-udevd/397
[ 7.173776] lock: 0xffff800014bad080, .magic: 00000000, .owner: /-1, .owner_cpu: 0
[ 7.258673] of_dma_request_slave_channel: dma-names property of node ‘/serial@feb90000’ missing or empty
[ 9.521856] Bluetooth: hci1: command 0xfc18 tx timeout
[ 17.415446] Bluetooth: hci1: BCM: failed to write update baudrate (-110)
[ 17.415524] Bluetooth: hci1: Failed to set baudrate
[ 19.548631] Bluetooth: hci1: command 0x0c03 tx timeout
[ 27.442090] Bluetooth: hci1: BCM: Reset failed (-110)

[ 58.296864] udc fc000000.usb: failed to start radxa-otgutils: -19

Debian GNU/Linux 11 rock-5b ttyFIQ0

rock-5b login: rock
Password:
Linux rock-5b 5.10.110-8-rockchip #f9d1b1529 SMP Fri May 12 14:07:29 UTC 2023 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
rock@rock-5b:~$ [ 83.216551] dma-pl330 fea30000.dma-controller: fill_queue:2263 Bad Desc(2)

rock@rock-5b:~$ sudo[ 86.921685] rtk_btusb: btusb_open hdev->promisc ==0
[ 86.995914] debugfs: File ‘force_bredr_smp’ in directory ‘hci0’ already present!
reboot

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for rock:
[ 92.917738] dma-pl330 fea30000.dma-controller: fill_queue:2263 Bad Desc(3)
[ 95.338564] reboot: Restarting system
DDR Version V1.08 20220617
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=4096MB
Manufacturer ID:0xff
CH0 RX Vref:28.7%, TX Vref:22.8%,21.8%
CH1 RX Vref:29.7%, TX Vref:23.8%,22.8%
CH2 RX Vref:30.7%, TX Vref:21.8%,21.8%
CH3 RX Vref:27.7%, TX Vref:21.8%,22.8%
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09-g3caf61a44c2-220414 #stephen (Sep 29 2022 - 18:14:19)
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 0
spl: mmc init failed with error: -123
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 14
spl: mmc init failed with error: -95
Trying to boot from MTD2
Trying fit image at 0x4000 sector

Verified-boot: 0

Checking atf-1 0x00040000 … sha256(806278dba1…) + OK

Checking uboot 0x00200000 … sha256(6a08776395…) + OK

Checking fdt 0x0030a010 … sha256(d32827d3ac…) + OK

Checking atf-2 0x000f0000 … sha256(c00c7fd75b…) + OK

Checking atf-3 0xff100000 … sha256(71c3a5841b…) + OK

Checking atf-4 0xff001000 … sha256(2301cf73be…) + OK

Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 497.858 ms

INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-405-gb52c2eadd:derrick.huang
NOTICE: BL31: Built : 11:23:47, Aug 15 2022
INFO: spec: 0x1
INFO: ext 32k is not valid
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: system boots from cpu-hwid-0
INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz
INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz
INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz
INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz
INFO: BL31: Initialising Exception Handling Framework
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR: Error initializing runtime service opteed_fast
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9

U-Boot 2017.09-g3caf61a44c2-220414 #stephen (Sep 29 2022 - 18:14:19 +0800)

Model: Radxa ROCK 5B
PreSerial: 2, raw, 0xfeb50000
DRAM: 15.7 GiB
Sysmem: init
Relocation Offset: edb6d000
Relocation fdt: eb9f9cd8 - eb9fecc8
CR: M/C/I
Using default environment

SF: Detected sfc_nor with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Bootdev(atags): mtd 2
PartType: EFI
DM: v2
No misc partition
boot mode: normal
FIT: No boot partition
No resource partition
No resource partition
No resource partition
Failed to load DTB, ret=-19
No find valid DTB, ret=-22
Failed to get kernel dtb, ret=-22
Model: Radxa ROCK 5B
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KHz
v0pll 24000 KHz
aupll 24000 KHz
cpll 1500000 KHz
gpll 1188000 KHz
npll 24000 KHz
ppll 1100000 KHz
aclk_center_root 702000 KHz
pclk_center_root 100000 KHz
hclk_center_root 396000 KHz
aclk_center_low_root 500000 KHz
aclk_top_root 750000 KHz
pclk_top_root 100000 KHz
aclk_low_top_root 396000 KHz
No misc partition
Net: No ethernet found.
Hit key to stop autoboot(‘CTRL+C’): 0
invalid flags type!

Device 0: Vendor: 0x1d79 Rev: U1006A3 Prod: H455073714
Type: Hard Disk
Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
… is now current device
fs_devread read outside partition 6827226137651840472
Failed to mount ext2 filesystem…
** Unrecognized filesystem type **
no mmc device at slot 1
no mmc device at slot 0

Device 2: Vendor: 0x2207 Rev: V1.00 Prod: sfc_nor
Type: Hard Disk
Capacity: 16.0 MB = 0.0 GB (32768 x 512)
… is now current device
Failed to mount ext2 filesystem…
** Unrecognized filesystem type **

Device 1:
Device 0: unknown device
starting USB…
No working controllers found
USB is stopped. Please issue ‘usb start’ first.
starting USB…
No working controllers found
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rockchip
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB…
No working controllers found
No ethernet found.
Could not get mtd 0

Booting FIT Image FIT: No boot partition

FIT: No fit blob
FIT: No FIT image
Unknown command ‘bootrkp’ - try ‘help’

I can boot the ‘rock-5b_debian_bullseye_cli_b33.img.xz’ of Build 33 images when used bootloader for ‘armbian version’ instead of ‘release version’ or ‘debug version’ these referenced in Rock5/install/spi - Radxa Wiki.

Could you try to change the bootloader to the ‘armbian version’?
Other bootloaders may only support a GPT partition but Build 33 images are probably not GPT partition.

1 Like

Thx, it’s worked.

I confirmed to boot of the ‘rock-5b_debian_bullseye_cli_b39.img.xz’ image that was installed to NVMe using the SPI boot loader flashed by the latest normal bootloader of ‘rock-5b-spi-image-gbf47e81-20230607.img’.

The normal bootloader of ‘rock-5b-spi-image-gbf47e81-20230607.img’ probably supports the non-GPT partition image.