attempt the simplest possible boot process

This commit is contained in:
Jeff Carr 2019-01-01 07:37:57 -08:00
parent 9ca7e3f370
commit f8451dacd7
6 changed files with 24 additions and 2 deletions

View File

@ -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

Binary file not shown.

BIN
boot-script/sid.scr Normal file

Binary file not shown.

13
boot-script/simple.cmd Normal file
View File

@ -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}

BIN
boot-script/simple.scr Normal file

Binary file not shown.

View File

@ -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: