difos/target/linux/starfive/image/mmc.bootscript.jh7110
Zoltan HERPAI f97609a10f starfive: jh7110: update bootscript to use addresses in bootloader
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>
2025-06-05 16:39:15 +02:00

5 lines
231 B
Text

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}