ramdisk: weekly update 2023-04-26 1. add adbd musl files 2. add cv180x cvi_pinmux tool 3. add hostapd udhcpd musl files

Change-Id: If43f96cb76a6736eb5977f118c25dd923031db48
This commit is contained in:
sam.xiang
2023-04-27 11:29:35 +08:00
committed by forum_service
parent e955c3f4fe
commit a57169ae72
13 changed files with 36 additions and 9 deletions

View File

@ -281,7 +281,7 @@ case "$1" in
probe
;;
UDC)
ls /sys/class/udc/ >$CVI_GADGET/UDC
echo $CVI_UDC >$CVI_GADGET/UDC
;;
*)
echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"

View File

@ -281,7 +281,7 @@ case "$1" in
probe
;;
UDC)
ls /sys/class/udc/ >$CVI_GADGET/UDC
echo $CVI_UDC >$CVI_GADGET/UDC
;;
*)
echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"

View File

@ -281,7 +281,7 @@ case "$1" in
probe
;;
UDC)
ls /sys/class/udc/ >$CVI_GADGET/UDC
echo $CVI_UDC >$CVI_GADGET/UDC
;;
*)
echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"

View File

@ -281,7 +281,7 @@ case "$1" in
probe
;;
UDC)
ls /sys/class/udc/ >$CVI_GADGET/UDC
echo $CVI_UDC >$CVI_GADGET/UDC
;;
*)
echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"

View File

@ -281,7 +281,7 @@ case "$1" in
probe
;;
UDC)
ls /sys/class/udc/ >$CVI_GADGET/UDC
echo $CVI_UDC >$CVI_GADGET/UDC
;;
*)
echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"

View File

@ -281,7 +281,7 @@ case "$1" in
probe
;;
UDC)
ls /sys/class/udc/ >$CVI_GADGET/UDC
echo $CVI_UDC >$CVI_GADGET/UDC
;;
*)
echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"

View File

@ -281,7 +281,7 @@ case "$1" in
probe
;;
UDC)
ls /sys/class/udc/ >$CVI_GADGET/UDC
echo $CVI_UDC >$CVI_GADGET/UDC
;;
*)
echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"

View File

@ -281,7 +281,7 @@ case "$1" in
probe
;;
UDC)
ls /sys/class/udc/ >$CVI_GADGET/UDC
echo $CVI_UDC >$CVI_GADGET/UDC
;;
*)
echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"

View File

@ -282,7 +282,7 @@ case "$1" in
probe
;;
UDC)
ls /sys/class/udc/ >$CVI_GADGET/UDC
echo $CVI_UDC >$CVI_GADGET/UDC
;;
*)
echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"

View File

@ -0,0 +1,27 @@
#!/bin/sh
case "$1" in
start)
printf "Starting adbd: "
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mnt/system/lib
devmem 0x03001108 32 0
/etc/uhubon.sh host
/etc/uhubon.sh device
/etc/run_usb.sh probe adb
/etc/run_usb.sh start
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
stop)
printf "Stopping adbd: "
echo "OK"
;;
restart|reload)
"$0" stop
"$0" start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?

Binary file not shown.

Binary file not shown.

Binary file not shown.