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>
This commit is contained in:
parent
8f0f02d297
commit
f97609a10f
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
fatload mmc 1:3 0xa0000000 Image
|
fatload mmc 1:3 ${kernel_addr_r} Image
|
||||||
fatload mmc 1:3 0x46000000 dtb
|
fatload mmc 1:3 ${fdt_addr_r} dtb
|
||||||
run chipa_set_linux
|
run chipa_set_linux
|
||||||
setenv bootargs "earlyprintk console=ttyS0,115200 debug rootwait earlycon=sbi root=/dev/mmcblk1p4"
|
setenv bootargs "earlyprintk console=ttyS0,115200 debug rootwait earlycon=sbi root=/dev/mmcblk1p4"
|
||||||
booti 0xa0000000 - 0x46000000
|
booti ${kernel_addr_r} - ${fdt_addr_r}
|
||||||
|
|
Loading…
Reference in a new issue