Linux SDK Build Error

Hello,
I’m using the Linux SDK, an rk3566 aio board.

I build it with this commands:
./build.sh aio-3566-jd4-ubuntu.mk
./build.sh

But when building it the device doesn’t start and is throwing an error, does someone have an idea?

mount: mounting /dev/mmcblk1p6 on /root failed: Invalid argument
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... [    4.651715] vendor storage:20190527 r                                                                                                                                                             et = -1
[    4.835173] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
Warning: overlayroot: configuring overlayroot with driver=overlay mode=device op                                                                                                                                                             ts='dev=PARTLABEL=userdata,fstype=ext4,mkfs=1' per kernel cmdline
[    4.963550] EXT4-fs (mmcblk1p7): recovery complete
[    4.965832] EXT4-fs (mmcblk1p7): mounted filesystem with ordered data mode. O                                                                                                                                                             pts: (null)
mount: mounting /root on /root-ro failed: Invalid argument
Failure: overlayroot: failed to move root away from /root to /root-ro
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
Warning: Something odd, no /lib/modules/4.19.219 in initramfs.
done.
mount: mounting /run on /root/run failed: No such file or directory
run-init: current directory on the same filesystem as the root: error 0
Target filesystem doesn't have requested /sbin/init.
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
No init found. Try passing init= bootarg.

BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) [    5.848415] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
[    6.861753] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
[    7.875081] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
[    8.888413] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
[    9.901730] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
[   10.915082] rk-pcie 3c0000000.pcie: PCIe Linking... LTSSM is 0x3
[   11.928402] rk-pcie 3c0000000.pcie: PCIe Link Fail
[   11.928469] rk-pcie 3c0000000.pcie: failed to initialize host
[   32.061826] vcc5v0_otg: disabling
[   32.061903] vcc3v3_lcd0_n: disabling

have you put the ubuntu rootfs under SDK/ubuntu_rootfs/ and rename it to rk356x_ubuntu_rootfs.img ?
https://wiki.t-firefly.com/en/Core-3566JD4/ubuntu_compile.html#download-ubuntu-filesystem

Liuth Posted at 5/11/2022 09:26
have you put the ubuntu rootfs under SDK/ubuntu_rootfs/ and rename it to rk356x_ubuntu_rootfs.img ?

yes