mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-22 11:42:11 -05: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}
|