I’m trying to port the Volumio-OS to the Rockchip’s Rockpi 3A platform. So far I’ve been able to follow the general recomendations from the documentation with the following caveats:
- I’m using a board-specific image.sh script based on the odroidc1image.sh, my custom script can be found here.
- I’m using the 4.19 kernel version modified for the rock3a platform (4.19-rock3).
- I’m using U-Boot 2017.09 (u-boot repo).
- As far as I’m concerned, I’m using an uncompressed kernel image to be loaded from u-boot:
❯ file Image
Image: Linux kernel ARM64 boot executable Image, little-endian, 4K pages
The issue is that when trying to start the kernel it hangs there. According to the log, everything u-boot related seems to go fine until the kernel loading part:
U-Boot 2017.09 (May 15 2023 - 19:50:50 -0400)
Model: Radxa ROCK3 Model A
PreSerial: 2, raw, 0xfe660000
DRAM: 4 GiB
Sysmem: init
Relocation Offset: ed34a000
Relocation fdt: eb9f6bc0 - eb9fecd8
CR: M/C/I
Using default environment
PCIe-0 Link Fail
no mmc device at slot 1
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: EFI
No misc partition
boot mode: None
FIT: No fdt blob
No resource partition
No resource partition
Failed to load DTB, ret=-19
Failed to get kernel dtb, ret=-19
I2c0 speed: 100000Hz
vsel-gpios- not found! Error: -2
vdd_cpu init 900000 uV
PMIC: RK8090 (on=0x40, off=0x00)
vdd_logic init 900000 uV
vdd_gpu init 900000 uV
vdd_npu init 900000 uV
io-domain: OK
Model: Radxa ROCK3 Model A
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
apll 816000 KHz
dpll 528000 KHz
gpll 1188000 KHz
cpll 1000000 KHz
npll 24000 KHz
vpll 24000 KHz
hpll 24000 KHz
ppll 200000 KHz
armclk 816000 KHz
aclk_bus 150000 KHz
pclk_bus 50000 KHz
aclk_top_high 300000 KHz
aclk_top_low 200000 KHz
hclk_top 150000 KHz
pclk_top 50000 KHz
aclk_perimid 300000 KHz
hclk_perimid 150000 KHz
pclk_pmu 100000 KHz
No misc partition
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
failed to find reset-gpios property
Device 0: unknown device
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
reading /boot.scr
2154 bytes read in 2 ms (1 MiB/s)
## Executing script at 00c00000
Some debbuging information:
Unknown command 'bootdev' - try 'help'
38405 volumio.png
20944904 Image
2154 boot.scr
175638 config-4.19.193-2023.15.05-19.50
rockchip/
106 vars.txt
161 varsVolumio.txt
0 resize-volumio-datapart
8006839 uInitrd
8 file(s), 1 dir(s)
Setting defaults
Set the load address to 0x6000000
Importing vars.txt
reading vars.txt
106 bytes read in 1 ms (103.5 KiB/s)
Loading the fdt and kernel
reading rockchip/rk3568-rock-3a.dtb
150853 bytes read in 15 ms (9.6 MiB/s)
reading Image
20944904 bytes read in 1740 ms (11.5 MiB/s)
Setting up fdt for overlays
Importing varsVolumio.txt
reading varsVolumio.txt
161 bytes read in 1 ms (157.2 KiB/s)
Setting volumioargs
image partition: /dev/mmcblk1p2
image file: /volumio_current.sqsh
boot partition: /dev/mmcblk1p1
data partition: /dev/mmcblk1p3
bootconfig:
hwdevice: rock3a
Setting bootargs
bootargs: console=ttyS2,1500000n8 console=tty2 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait printk.devkmsg=on printk.always_kmsg_dump=true earlyprintk=ttyS2,1500000
Loading the ramdisk
reading uInitrd
8006839 bytes read in 666 ms (11.5 MiB/s)
Booting the kernel
Fdt Ramdisk skip relocation
No misc partition
## Loading init Ramdisk from Legacy Image at 0a200000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 8006775 Bytes = 7.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 0x0a100000
Booting using the fdt blob at 0x0a100000
reserving fdt memory region: addr=a100000 size=8b000
'reserved-memory' ramoops@110000: addr=110000 size=f0000
Using Device Tree in place at 000000000a100000, end 000000000a18dfff
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000)
Total: 3635.186 ms
Starting kernel ...
I’m using the following boot script.
Can I have any insight on what could be happening here?