layerscape: add u-boot environment support for OpenWrt boot
[openwrt/openwrt.git] / package / boot / uboot-layerscape / files / ls1088ardb-uEnv.txt
1 fdtaddr=0x8f000000
2 loadaddr=0x81000000
3 fdt_high=0xa0000000
4 initrd_high=0xffffffffffffffff
5 hwconfig=fsl_ddr:bank_intlv=auto
6 mc_init=sf probe 0:0;sf read 80000000 a00000 300000;sf read 80300000 e00000 100000;fsl_mc start mc 80000000 80300000;sf read 80400000 d00000 100000;fsl_mc apply dpl 80400000
7 qspi_boot=sf probe 0:0;sf read $fdtaddr f00000 100000;sf read $loadaddr 1000000 1000000;bootm $loadaddr - $fdtaddr
8 bootargs=ubi.mtd=11 root=ubi0:rootfs rw rootfstype=ubifs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=20c0000.quadspi:1m(rcw),2m(u-boot),1m(u-boot-env),2m(ppa),4m(reserved-1),3m(mc),1m(dpl),1m(dpc),1m(dtb),16m(kernel),32m(ubifs)
9 bootcmd=echo starting openwrt ...;run mc_init;run qspi_boot
10 bootdelay=3