mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
eb684205e5
NOR/QSPI Flash on Layerscape board only has limited 64MB memory size. Since some boards (ls1043ardb/ls1046ardb/ls1088ardb/ls1021atwr) could support SD card boot, we added SD boot support for them to put all things on SD card to meet large memory requirement. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
9 lines
351 B
Plaintext
9 lines
351 B
Plaintext
fdtaddr=0x8f000000
|
|
loadaddr=0x81000000
|
|
fdt_high=0xffffffff
|
|
initrd_high=0xffffffff
|
|
sd_boot=mmc read $fdtaddr 7800 800;mmc read $loadaddr 8000 8000;bootm $loadaddr - $fdtaddr
|
|
bootargs=root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200
|
|
bootcmd=echo starting openwrt ...;run sd_boot
|
|
bootdelay=3
|