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:
@ -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
|
|||||||
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
|
|||||||
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
|
|||||||
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
|
|||||||
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
|
|||||||
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
|
|||||||
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
|
|||||||
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
|
|||||||
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)}"
|
||||||
|
|||||||
27
ramdisk/rootfs/public/adbd/musl_riscv64/etc/init.d/P10adbd
Executable file
27
ramdisk/rootfs/public/adbd/musl_riscv64/etc/init.d/P10adbd
Executable 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 $?
|
||||||
BIN
ramdisk/rootfs/public/adbd/musl_riscv64/usr/bin/adbd
Executable file
BIN
ramdisk/rootfs/public/adbd/musl_riscv64/usr/bin/adbd
Executable file
Binary file not shown.
BIN
ramdisk/rootfs/public/wifi/musl_riscv64/usr/sbin/hostapd
Executable file
BIN
ramdisk/rootfs/public/wifi/musl_riscv64/usr/sbin/hostapd
Executable file
Binary file not shown.
BIN
ramdisk/rootfs/public/wifi/musl_riscv64/usr/sbin/udhcpd
Executable file
BIN
ramdisk/rootfs/public/wifi/musl_riscv64/usr/sbin/udhcpd
Executable file
Binary file not shown.
Reference in New Issue
Block a user