mirror of
https://github.com/sipeed/LicheeRV-Nano-Build.git
synced 2026-09-10 20:59:59 -05:00
initramfs: fix when /dev/console is missing
This commit is contained in:
@@ -47,15 +47,14 @@ msc() {
|
||||
echo /dev/mmcblk0 > functions/mass_storage.disk0/lun.0/file
|
||||
ls /sys/class/udc/ | cat > UDC
|
||||
echo device > /proc/cviusb/otg_role
|
||||
(
|
||||
while true
|
||||
do
|
||||
sleep 10
|
||||
busybox iostat
|
||||
busybox uptime
|
||||
busybox uname
|
||||
sync
|
||||
done
|
||||
) &
|
||||
/busybox sh
|
||||
exit
|
||||
}
|
||||
|
||||
set -x
|
||||
|
||||
Reference in New Issue
Block a user