Commit Graph

6 Commits

Author SHA1 Message Date
Jianlong Huang 8003c018db system: skeleton: init: Fix mount ROOT fail
The SD card is not ready when ramdisk init and mount root;
So add a delay to wait for SD card ready, period is 100ms, timeout is 10s

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2023-11-28 15:43:17 +08:00
minda.chen e8b2ed98eb buildroot: init: fix dev/shm and devpts fs lost in ramdisk rootfs issue.
In ramdisk case, dev/shm and devpts not mounted in ramdisk rootfs,
for the mount commands are not executed in ramdisk rootfs,
this will cause adb shell can't work.
move these commands before execute sbin/init.

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
2022-08-31 17:30:03 +08:00
Windsome Zeng 5132f39138 Use run-init instead of chroot, it will free initramfs to save memory. 2022-08-11 14:04:43 +08:00
Windsome Zeng d481977e4a Replace mdev with udev in init script and don't mount /proc twice. 2022-08-11 11:32:13 +08:00
samin c7f6660aa9 init: Added /dev/null to fix rootfs issues.
When booting from rootfs, /dev/null generates attributes as 0 0, causing
service startup failure (ssh/nfs,...etc)

remove debug code: "echo abcd"

Signed-off-by: samin <samin.guo@starfivetech.com>
2022-07-07 13:48:21 +08:00
Huan.Feng 7b6fc358fa initial buildroot for linux 5.15 2021-12-06 14:12:13 +08:00