Build 39 emmc, bootloop after first Update

Hi,

Rock5b on recommend Radxa Supply.

No problems on fresh install on emmc using “RKDEvTool”.

sudo apt-get update && apt-get upgrade … Stucking in Bootloop.

Uart-Debug:
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-557-g9609b9c19:derrick.huang
NOTICE: BL31: Built : 14:29:57, Mar 8 2023
INFO: spec: 0x1
INFO: ext 32k is not valid
INFO: ddr: stride-en 4CH
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0
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
[ 6.417664] fiq_debugger fiq_debugger.0: IRQ fiq not found
[ 6.417678] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[ 6.417686] fiq_debugger_probe: could not install nmi irq handler
[ 7.156229] mpp-iep2 fdbb0000.iep: allocate roi buffer failed
[ 7.156575] rk-pcie fe170000.pcie: IRQ msi not found
[ 7.156599] rk-pcie fe170000.pcie: Missing config reg space
[ 7.156741] rk-pcie fe170000.pcie: Missing config reg space
[ 7.156782] rk-pcie fe170000.pcie: invalid resource
[ 7.156943] rk-pcie fe150000.pcie: IRQ msi not found
[ 7.156966] rk-pcie fe150000.pcie: Missing config reg space
[ 7.157096] rk-pcie fe150000.pcie: Missing config reg space
[ 7.157133] rk-pcie fe150000.pcie: invalid resource
[ 7.157845] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found!
[ 7.157853] rkvdec2_init:1008: No niu aclk reset resource define
[ 7.157860] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found!
[ 7.157865] rkvdec2_init:1011: No niu hclk reset resource define
[ 7.158510] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_a is not found!
[ 7.158518] rkvdec2_init:1008: No niu aclk reset resource define
[ 7.158524] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_h is not found!
[ 7.158530] rkvdec2_init:1011: No niu hclk reset resource define
[ 7.416247] rockchip-hdptx-phy-hdmi fed70000.hdmiphy: hdptx phy pll locked!
[ 7.416503] rockchip-hdptx-phy-hdmi fed70000.hdmiphy: hdptx phy lane locked!
[ 7.668544] rk806 spi2.0: no sleep-setting state
[ 7.668599] rk806 spi2.0: no reset-setting pinctrl state
[ 7.668637] rk806 spi2.0: no dvs-setting pinctrl state
[ 7.959075] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[ 7.975631] rksfc_base v1.1 2016-01-08
[ 8.027552] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[ 8.027658] rockchip-dmc dmc: failed to get vop pn to msch rl
[ 8.028527] rockchip-dmc dmc: could not find power_model node
[ 8.037256] rk-pcie fe190000.pcie: IRQ msi not found
[ 8.037394] rk-pcie fe190000.pcie: Missing config reg space
[ 8.037677] rk-pcie fe190000.pcie: Missing config reg space
[ 8.037835] rk-pcie fe190000.pcie: invalid resource
[ 8.040481] RKNPU fdab0000.npu: can’t request region for resource [mem 0xfdab0000-0xfdabffff]
[ 8.040555] RKNPU fdab0000.npu: can’t request region for resource [mem 0xfdac0000-0xfdacffff]
[ 8.040610] RKNPU fdab0000.npu: can’t request region for resource [mem 0xfdad0000-0xfdadffff]
[ 8.045273] debugfs: Directory ‘fdab0000.npu-rknpu’ with parent ‘vdd_npu_s0’ already present!
[ 8.076070] RKNPU fdab0000.npu: failed to find power_model node
[ 8.076177] RKNPU fdab0000.npu: RKNPU: failed to initialize power model
[ 8.076259] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
▒DDR Version V1.08 20220617
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
Manufacturer ID:0x6
CH0 RX Vref:29.7%, TX Vref:23.8%,0.0%
CH1 RX Vref:28.7%, TX Vref:23.8%,0.0%
CH2 RX Vref:28.7%, TX Vref:23.8%,0.0%
CH3 RX Vref:29.7%, TX Vref:23.8%,0.0%
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out

New Idea…

Only fails on plugged in NVME on m.2.

But simply occurs if the System is upgraded.

Which power supply you used, does it have enough power to support ROCK 5B with NVME, can you try another power supply ?

Left: 20w qc3.0 works and Cut Off after 10 Minutes Operation in rsync to Nvme
Middle: 30w works and Cut Off after 1 hour Operation in rsync to Nvme
Right: Radxa supply, Runs without Problems in rsync to Nvme operations before Upgrade.

20w and 30w Boots after system Upgrade, but Not radxa PD Supply. (Use Radxa before Upgrade, then the posted Debug Log in topic.)

New Update…

ive tried several Times, to flash new Build39 to emmc… and the recommend PD supply wont work.

The other way round, Now it works after “apt-get update && apt-get upgrade”

I dont know… now its okay. But i tried it step by step same steps a few times (Linux/Windows). Every Time its a different Way to get it work. I flash and partial compile customized images since the first Raspberry Release.

1 Like