Build and program starting fixes
This commit is contained in:
17
brick/ins
17
brick/ins
@ -1,22 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -ex
|
||||
cd /mnt/ramdisk/prjs/ko
|
||||
echo 3 > /proc/sys/kernel/printk
|
||||
insmod ./nbd.ko
|
||||
sleep 1
|
||||
./nbd-serv &
|
||||
./uf2d > /tmp/uf2d.log 2> /tmp/uf2derr.log
|
||||
sleep 1
|
||||
insmod ./d_usbdev.ko file=/dev/nbd0 HostStr=EV3 SerialStr=0016535543af
|
||||
L=/sys/devices/platform/musb_hdrc/gadget/lun0
|
||||
echo $L
|
||||
echo -n "ent: "
|
||||
read LINE
|
||||
#echo > $L/file
|
||||
echo 3 > $L/reset
|
||||
killall nbd-serv
|
||||
sleep 1
|
||||
./nbd-serv &
|
||||
sleep 1
|
||||
#echo /dev/nbd0 > $L/file
|
||||
#sleep 1
|
||||
echo 4 > $L/reset
|
||||
|
||||
|
Reference in New Issue
Block a user