pxt-ev3/brick/ins

11 lines
266 B
Plaintext
Raw Normal View History

2017-07-25 13:15:59 +02:00
#!/bin/sh
set -ex
2017-07-25 20:09:32 +02:00
echo Y > /sys/module/printk/parameters/time
2017-07-25 13:15:59 +02:00
cd /mnt/ramdisk/prjs/ko
2017-07-25 20:09:32 +02:00
#echo 3 > /proc/sys/kernel/printk
2017-07-25 13:15:59 +02:00
insmod ./nbd.ko
sleep 1
2017-07-25 15:59:32 +02:00
./uf2d > /tmp/uf2d.log 2> /tmp/uf2derr.log
2017-07-25 13:15:59 +02:00
sleep 1
insmod ./d_usbdev.ko file=/dev/nbd0 HostStr=EV3 SerialStr=0016535543af