attempt the simplest possible boot process
This commit is contained in:
parent
9ca7e3f370
commit
f8451dacd7
|
@ -1,4 +1,5 @@
|
||||||
# Recompile with:
|
# Recompile with:
|
||||||
all:
|
all:
|
||||||
mkimage -C none -A arm -T script -d sid.cmd /boot/sid.scr
|
mkimage -C none -A arm -T script -d sid.cmd sid.scr
|
||||||
# mkimage -C none -A arm -T script -d /boot/jcarr.cmd /boot/jcarr.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.
Binary file not shown.
|
@ -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}
|
Binary file not shown.
|
@ -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
|
# wpa_supplicant -B -i wlan0 -c wpa-supplicant.conf -D wext
|
||||||
|
|
||||||
killall:
|
killall:
|
||||||
|
|
Loading…
Reference in New Issue