diff --git a/reflash-uboot-to-emmc.sh b/reflash-uboot-to-emmc.sh index 72cc762..2dfa2ec 100755 --- a/reflash-uboot-to-emmc.sh +++ b/reflash-uboot-to-emmc.sh @@ -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 diff --git a/reflash-uboot-to-sdcard.sh b/reflash-uboot-to-sdcard.sh new file mode 100755 index 0000000..72cc762 --- /dev/null +++ b/reflash-uboot-to-sdcard.sh @@ -0,0 +1,4 @@ +#!/bin/bash -x + +dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1K seek=8 +sync diff --git a/reflash-uboot.sh b/reflash-uboot.sh deleted file mode 100755 index 2dfa2ec..0000000 --- a/reflash-uboot.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -x - -dd if=/boot/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1K seek=8 -sync diff --git a/wifi/Makefile b/wifi/Makefile index 8087073..fc31b0f 100755 --- a/wifi/Makefile +++ b/wifi/Makefile @@ -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: