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>
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>