mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
add libusbgx, add miyooctl
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
#!/bin/busybox sh
|
||||
|
||||
LUN_DIR=/sys/devices/platform/soc/1c13000.usb/musb-hdrc.1.auto/gadget
|
||||
|
||||
if (grep -q mmcblk0p1 "${LUN_DIR}/lun0/file"); then
|
||||
echo /dev/mmcblk0p4 > "${LUN_DIR}/lun0/file"
|
||||
echo /dev/mmcblk0p1 > "${LUN_DIR}/lun1/file"
|
||||
elif (grep -q mmcblk0p4 "${LUN_DIR}/lun0/file"); then
|
||||
echo /dev/mmcblk0p1 > "${LUN_DIR}/lun0/file"
|
||||
echo /dev/mmcblk0p4 > "${LUN_DIR}/lun1/file"
|
||||
else
|
||||
sleep 2
|
||||
echo " "
|
||||
echo "No FAT partition assigned to LUN!"
|
||||
echo " "
|
||||
fi
|
||||
@@ -1,3 +1,2 @@
|
||||
#!/bin/busybox sh
|
||||
|
||||
echo peripheral > /sys/devices/platform/soc/1c13000.usb/musb-hdrc.1.auto/mode
|
||||
echo peripheral > /sys/devices/platform/soc/1c13000.usb/musb-hdrc.1.auto/mode
|
||||
Reference in New Issue
Block a user