mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2026-01-09 04:35:22 +00:00
Rather than hardcoding the kernel/fdt addresses in the boot.scr script, use the addresses provided by the bootloader. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
6 lines
231 B
Plaintext
6 lines
231 B
Plaintext
fatload mmc 1:3 ${kernel_addr_r} Image
|
|
fatload mmc 1:3 ${fdt_addr_r} dtb
|
|
run chipa_set_linux
|
|
setenv bootargs "earlyprintk console=ttyS0,115200 debug rootwait earlycon=sbi root=/dev/mmcblk1p4"
|
|
booti ${kernel_addr_r} - ${fdt_addr_r}
|