mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
ad1dbc0ca3
This patch is to implement u-boot environment txt files to support OpenWrt boot for all layerscape devices. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
11 lines
619 B
Plaintext
11 lines
619 B
Plaintext
fdtaddr=0x8f000000
|
|
loadaddr=0x81000000
|
|
fdt_high=0xa0000000
|
|
initrd_high=0xffffffffffffffff
|
|
hwconfig=fsl_ddr:bank_intlv=auto
|
|
mc_init=fsl_mc start mc 580a00000 580e00000;fsl_mc apply dpl 580d00000
|
|
nor_boot=cp.b 580f00000 $fdtaddr 100000;cp.b 581000000 $loadaddr 1000000;bootm $loadaddr - $fdtaddr
|
|
bootargs=root=/dev/mtdblock10 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS1,115200 mtdparts=580000000.nor: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(rootfs)
|
|
bootcmd=echo starting openwrt ...;run mc_init;run nor_boot
|
|
bootdelay=3
|