# hand-written boot script. Attempts to read "vmlinuz" (without version) # from the first partition of the internal storage. # Also reads devicetree.dtb from the same partition. # Then boots the kernel with parameters given in this script. # specific to Banana Pi, obviously. setenv bootargs ro no_console_suspend cryptomgr.notests console=ttyAML0,115200 pci=pcie_bus_perf libata.force=noncq nvme_core.default_ps_max_latency_us=0 console=tty1 root=/dev/nvme0n1p2 resume=/dev/nvme0n1p1 load mmc 1:1 ${kernel_addr_r} vmlinuz load mmc 1:1 ${fdt_addr_r} devicetree.dtb echo "Now booting. YOLO!" booti ${kernel_addr_r} - ${fdt_addr_r}