fix the flash scripts for real this time
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
8fb0d8bd6f
commit
11783693ce
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -x
|
#!/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
|
sync
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1K seek=8
|
||||||
|
sync
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/bash -x
|
|
||||||
|
|
||||||
dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1K seek=8
|
|
||||||
sync
|
|
|
@ -1,4 +1,9 @@
|
||||||
all:
|
all:
|
||||||
|
make killall ; make mac ; make debugging &
|
||||||
|
sleep 10
|
||||||
|
make dhclient
|
||||||
|
|
||||||
|
help:
|
||||||
@echo on boot run:
|
@echo on boot run:
|
||||||
@echo make killall # to kill wpa_supplicant
|
@echo make killall # to kill wpa_supplicant
|
||||||
@echo make mac # to set the hw addr
|
@echo make mac # to set the hw addr
|
||||||
|
@ -6,11 +11,6 @@ all:
|
||||||
@echo then background that and run
|
@echo then background that and run
|
||||||
@echo make dhclient
|
@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
|
# wpa_supplicant -B -i wlan0 -c wpa-supplicant.conf -D wext
|
||||||
|
|
||||||
killall:
|
killall:
|
||||||
|
|
Loading…
Reference in New Issue