10 lines
221 B
Bash
Executable File
10 lines
221 B
Bash
Executable File
#!/bin/sh
|
|
set -ex
|
|
cd /mnt/ramdisk/prjs/ko
|
|
echo 3 > /proc/sys/kernel/printk
|
|
insmod ./nbd.ko
|
|
sleep 1
|
|
./uf2d > /tmp/uf2d.log 2> /tmp/uf2derr.log
|
|
sleep 1
|
|
insmod ./d_usbdev.ko file=/dev/nbd0 HostStr=EV3 SerialStr=0016535543af
|