fix the flash scripts for real this time

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-01-20 03:20:29 -08:00
parent 8fb0d8bd6f
commit 11783693ce
4 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash -x
dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1K seek=8
dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1K seek=8
sync

4
reflash-uboot-to-sdcard.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash -x
dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1K seek=8
sync

View File

@ -1,4 +0,0 @@
#!/bin/bash -x
dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1K seek=8
sync

View File

@ -1,4 +1,9 @@
all:
make killall ; make mac ; make debugging &
sleep 10
make dhclient
help:
@echo on boot run:
@echo make killall # to kill wpa_supplicant
@echo make mac # to set the hw addr
@ -6,11 +11,6 @@ all:
@echo then background that and run
@echo make dhclient
doall:
make killall ; make mac ; make debugging &
sleep 10
make dhclient
# wpa_supplicant -B -i wlan0 -c wpa-supplicant.conf -D wext
killall: