pxt-ev3/brick/ins

10 lines
221 B
Plaintext
Raw Normal View History

2017-07-25 13:15:59 +02:00
#!/bin/sh
set -ex
cd /mnt/ramdisk/prjs/ko
2017-07-25 15:59: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