Commit a57169ae authored by sam.xiang's avatar sam.xiang Committed by forum_service

ramdisk: weekly update 2023-04-26 1. add adbd musl files 2. add cv180x...

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
parent e955c3f4
...@@ -281,7 +281,7 @@ case "$1" in ...@@ -281,7 +281,7 @@ case "$1" in
probe probe
;; ;;
UDC) 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)}" echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"
......
...@@ -281,7 +281,7 @@ case "$1" in ...@@ -281,7 +281,7 @@ case "$1" in
probe probe
;; ;;
UDC) 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)}" echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"
......
...@@ -281,7 +281,7 @@ case "$1" in ...@@ -281,7 +281,7 @@ case "$1" in
probe probe
;; ;;
UDC) 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)}" echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"
......
...@@ -281,7 +281,7 @@ case "$1" in ...@@ -281,7 +281,7 @@ case "$1" in
probe probe
;; ;;
UDC) 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)}" echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"
......
...@@ -281,7 +281,7 @@ case "$1" in ...@@ -281,7 +281,7 @@ case "$1" in
probe probe
;; ;;
UDC) 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)}" echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"
......
...@@ -281,7 +281,7 @@ case "$1" in ...@@ -281,7 +281,7 @@ case "$1" in
probe probe
;; ;;
UDC) 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)}" echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"
......
...@@ -281,7 +281,7 @@ case "$1" in ...@@ -281,7 +281,7 @@ case "$1" in
probe probe
;; ;;
UDC) 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)}" echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"
......
...@@ -281,7 +281,7 @@ case "$1" in ...@@ -281,7 +281,7 @@ case "$1" in
probe probe
;; ;;
UDC) 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)}" echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"
......
...@@ -282,7 +282,7 @@ case "$1" in ...@@ -282,7 +282,7 @@ case "$1" in
probe probe
;; ;;
UDC) 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)}" echo "Usage: $0 probe {acm|msc|cvg|uvc|uac1} {file (msc)}"
......
#!/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 $?
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment