pxt-ev3/brick/scripts/mkimg

10 lines
350 B
Plaintext
Raw Normal View History

2017-07-25 13:18:48 +02:00
#!/bin/sh
2017-07-26 19:57:46 +02:00
# dd if=EV3\ Firmware\ V1.09D.bin of=orig.cram bs=65536 skip=37 count=400
sudo cp linux/pxt/uf2daemon/server dev-ev3/home/root/lms2012/sys/uf2d
sudo cp linux/pxt/kernel/d_usbdev.ko dev-ev3/home/root/lms2012/sys/mod/d_usbdev.ko
sudo chown -R root:root dev-ev3/home/root/lms2012
2017-07-25 13:18:48 +02:00
sudo mkfs.cramfs dev-ev3 cram.bin
node img
ls -l firmware.bin