mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +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>
11 lines
554 B
Plaintext
11 lines
554 B
Plaintext
fdtaddr=0x8f000000
|
|
loadaddr=0x81000000
|
|
fdt_high=0xa0000000
|
|
initrd_high=0xffffffffffffffff
|
|
hwconfig=fsl_ddr:bank_intlv=auto
|
|
mc_init=mmc read 80000000 5000 1800;mmc read 80300000 7000 800;fsl_mc start mc 80000000 80300000;mmc read 80400000 6800 800;fsl_mc apply dpl 80400000
|
|
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 mc_init;run sd_boot
|
|
bootdelay=3
|