Enhance output a bit
This commit is contained in:
parent
aff9a7e60a
commit
d0350c1e73
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
dd if=firmware.bin seek=4 of=/dev/$1 2>/dev/null
|
dd if=firmware.bin seek=4 of=/dev/$1 2>/dev/null
|
||||||
echo "FLASH done: $1"
|
echo "FLASH done: $1 @ $2"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
dev=$1
|
dev=$1
|
||||||
|
port=$2
|
||||||
dir=/tmp/r0ket
|
dir=/tmp/r0ket
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -14,6 +15,7 @@ if [ ! -d $dir/$dev ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
umount /dev/$dev 2>/dev/null || true
|
umount /dev/$dev 2>/dev/null || true
|
||||||
|
#mkdosfs -I /dev/$dev
|
||||||
./generate-keys
|
./generate-keys
|
||||||
mount /dev/$dev -t vfat $dir/$dev
|
mount /dev/$dev -t vfat $dir/$dev
|
||||||
|
|
||||||
|
@ -46,7 +48,9 @@ perl copy-files-ordered files $dir/$dev \
|
||||||
voltage.c0d \
|
voltage.c0d \
|
||||||
debug.int
|
debug.int
|
||||||
|
|
||||||
#sync
|
#echo -n "$port" >$dir/$dev/NICK.CFG
|
||||||
#ls -l $dir/$dev
|
## d
|
||||||
|
#echo 0300000f011e00000e0001ff0001ff8f000000 |xxd -r -p >$dir/$dev/R0KET.CFG
|
||||||
|
|
||||||
umount /dev/$dev
|
umount /dev/$dev
|
||||||
echo "MASS done: $dev $dir"
|
echo "MASS done: $dev @ $port"
|
||||||
|
|
Loading…
Reference in New Issue