Hello,
I have bought 3 quantity of Radxa Rock Pi S0 board with 8GB eMMC option. Two boards are working fine. I was able to flash the Debian Bullseye OS into the board’s eMMC using the RKDevTool V2.96. But the third board is continuously restarting after flashing. The debug log shows loading Bullseye image in u-boot and starts the kernel. Then it stops suddenly and restarts.
Can you tell me what is wrong here and how to fix this? I am posting the debug log below this message.
Thanks and Regards
Vasudeo
Debug log:
==========
DDR V2.07 6ede97a868 wesley.yao 22/11/29-19:27:02
08
REG2C: 0x00000034, 0x00000034
In
589MHz
DDR3
Col=10 Bank=3 Row=15 Size=512MB
OUT: sdram_init finish.
Boot1 Release Time: Mar 24 2022 08:28:57, version: 1.36
ROM VER:0x56323030, 19
chip_id:330800,0
ChipType = 0x13, 512
DPLL = 1300 MHz
…nandc_flash_init enter…
No.1 FLASH ID:ff ff ff ff ff ff
DPLL = 1300 MHz
sfc nor id: ff ff ff
DPLL = 1300 MHz
sfc_nand id: ff ff ff
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
NeedKHz=200KHz,clock=12000KHz
mmc2:cmd8,20
mmc2:cmd5,20
mmc2:cmd55,20
DPLL = 1300 MHz
NeedKHz=18000KHz,clock=650000KHz
DPLL = 1300 MHz
NeedKHz=48000KHz,clock=650000KHz
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=7456MB
FwPartOffset=2000 , 2000
SdmmcInit=0 NOT PRESENT
StorageInit ok = 13624
SecureMode = 0
Secure read PBA: 0x4
Secure read PBA: 0x404
Secure read PBA: 0x804
Secure read PBA: 0xc04
Secure read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part: 0, name: config, start:0x8000, size:0x8000
GPT part: 1, name: boot, start:0x10000, size:0x96000
GPT part: 2, name: rootfs, start:0xa6000, size:0xde9fdf
no find partition:uboot.
LoadTrust Addr:0x4000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x600000, size=0xa54f8
RunBL31 0x40000 @ 49291 us
INFO: Preloader serial: 0
NOTICE: BL31: v1.3(release):0252d5c8f
NOTICE: BL31: Built : 07:51:11, Sep 28 2022
INFO: Lastlog: last=0x100000, realtime=0x102000, size=0x2000
INFO: ARM GICv2 driver initialized
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 1
INFO: plat_rockchip_pmu_init: pd status 0xe b
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 = 0x600000
INFO: SPSR = 0x3c9
U-Boot latest-2023.10-8-eed05a18-geed05a18 (Jan 10 2024 - 03:39:03 +0000)
Model: Radxa ROCK S0
DRAM: 512 MiB (effective 510 MiB)
Core: 279 devices, 24 uclasses, devicetree: separate
MMC: mmc@ff480000: 1, mmc@ff490000: 0
Loading Environment from nowhere… OK
rockchip_dnl_key_pressed read board id failed
Net: eth0: ethernet@ff4e0000
starting USB…
No working controllers found
Unknown command ‘pci’ - try ‘help’
Hit Ctrl+C key in 0 seconds to stop autoboot…
Card did not respond to voltage select! : -110
** Booting bootflow ‘[email protected]_3’ with extlinux
U-Boot menu
1: Debian GNU/Linux 12 (bookworm) 6.1.68-1-stable
2: Debian GNU/Linux 12 (bookworm) 6.1.68-1-stable (rescue target)
Enter choice: 1: Debian GNU/Linux 12 (bookworm) 6.1.68-1-stable
Retrieving file: /boot/vmlinuz-6.1.68-1-stable
Retrieving file: /boot/initrd.img-6.1.68-1-stable
append: root=UUID=07e09376-a70a-4161-8ba0-0b5dc372a857 console=ttyS0,1500000n8 quiet splash loglevel=4 rw earlycon consoleblank=0 console=tty1 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
Retrieving file: /usr/lib/linux-image-6.1.68-1-stable/rockchip/rk3308-rock-s0.dtb
Moving Image from 0x2080000 to 0x2200000, end=47b0000
Flattened Device Tree blob at 01d00000
Booting using the fdt blob at 0x1d00000
Working FDT set to 1d00000
Loading Ramdisk to 1d274000, end 1df1bbf2 … OK
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
Loading Device Tree to 000000001d263000, end 000000001d273b2f … OK
Working FDT set to 1d263000
Starting kernel …
[ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node ‘drm-logo@00000000’: base 0x0000000000000000, size 0 MiB
[ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node ‘drm-logo@00000000’: base 0x0000000000000000, size 0 MiB
[ 1.654879] dw-apb-uart ff0e0000.serial: Failed to create device link (0x180) with vcc-1v8
[ 3.243413] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: tx_delay.
[ 3.244088] rk_gmac-dwmac ff4e0000.ethernet: set tx_delay to 0x30
[ 3.244993] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: rx_delay.
[ 3.245706] rk_gmac-dwmac ff4e0000.ethernet: set rx_delay to 0x10