diff --git a/boot-script/Makefile b/boot-script/Makefile index a8c5377..41b5d6a 100644 --- a/boot-script/Makefile +++ b/boot-script/Makefile @@ -1,4 +1,5 @@ # Recompile with: all: - mkimage -C none -A arm -T script -d sid.cmd /boot/sid.scr - # mkimage -C none -A arm -T script -d /boot/jcarr.cmd /boot/jcarr.scr + mkimage -C none -A arm -T script -d sid.cmd sid.scr + mkimage -C none -A arm -T script -d simple.cmd simple.scr + mkimage -C none -A arm -T script -d jcarr.cmd jcarr.scr diff --git a/boot-script/jcarr.scr b/boot-script/jcarr.scr index b4d8d5a..f615e19 100644 Binary files a/boot-script/jcarr.scr and b/boot-script/jcarr.scr differ diff --git a/boot-script/sid.scr b/boot-script/sid.scr new file mode 100644 index 0000000..b9d3a80 Binary files /dev/null and b/boot-script/sid.scr differ diff --git a/boot-script/simple.cmd b/boot-script/simple.cmd new file mode 100644 index 0000000..79e4009 --- /dev/null +++ b/boot-script/simple.cmd @@ -0,0 +1,13 @@ +# super simple pinebook script + +ext4load mmc 1:1 ${ramdisk_addr_r} /boot/uInitrd-4.19.2-sunxi64 +ext4load mmc 1:1 ${kernel_addr_r} /boot/vmlinuz-4.19.2-sunxi64 + +booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} + +# Recompile with: +# mkimage -C none -A arm -T script -d simple.cmd simple.scr + +# then, at the u-boot prompt run: +ext4load mmc 1:1 ${scriptaddr} /root/pinebook/boot-script/simple.scr +source ${scriptaddr} diff --git a/boot-script/simple.scr b/boot-script/simple.scr new file mode 100644 index 0000000..798188f Binary files /dev/null and b/boot-script/simple.scr differ diff --git a/wifi/Makefile b/wifi/Makefile index 731e18c..f564946 100755 --- a/wifi/Makefile +++ b/wifi/Makefile @@ -1,3 +1,11 @@ +all: + @echo on boot run: + @echo make killall # to kill wpa_supplicant + @echo make mac # to set the hw addr + @echo make debugging # to start wpa + @echo then background that and run + @echo make dhclient + # wpa_supplicant -B -i wlan0 -c wpa-supplicant.conf -D wext killall: