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
Windsome Zeng
478ae394ee
Replace mdev with udev, add some script to make udev works correctly.
2022-08-09 15:08:13 +08:00
Windsome Zeng
107ffc282b
Weston needs udev, so enable eudev and mdev at the same time. We should ONLY choose one of them in the future.
2022-08-03 15:28:12 +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