diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2018-07-18 14:14:40 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-09-22 21:20:57 +0200 |
commit | eb684205e5e6958ad71cf4a179fa776f6507f7e3 (patch) | |
tree | fe6803b86bdfd42e65cbf894854e47c307d992fa /package/boot/uboot-layerscape/files/ls1046ardb-sdboot-uEnv.txt | |
parent | f0ec7bd27d206ea0eb9587e178ce0d7ddc006bce (diff) | |
download | upstream-eb684205e5e6958ad71cf4a179fa776f6507f7e3.tar.gz upstream-eb684205e5e6958ad71cf4a179fa776f6507f7e3.tar.bz2 upstream-eb684205e5e6958ad71cf4a179fa776f6507f7e3.zip |
layerscape: add SD card boot support
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>
Diffstat (limited to 'package/boot/uboot-layerscape/files/ls1046ardb-sdboot-uEnv.txt')
-rw-r--r-- | package/boot/uboot-layerscape/files/ls1046ardb-sdboot-uEnv.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/boot/uboot-layerscape/files/ls1046ardb-sdboot-uEnv.txt b/package/boot/uboot-layerscape/files/ls1046ardb-sdboot-uEnv.txt new file mode 100644 index 0000000000..c1596b506a --- /dev/null +++ b/package/boot/uboot-layerscape/files/ls1046ardb-sdboot-uEnv.txt @@ -0,0 +1,9 @@ +fdtaddr=0x8f000000 +loadaddr=0x81000000 +fdt_high=0xffffffffffffffff +initrd_high=0xffffffffffffffff +hwconfig=fsl_ddr:bank_intlv=auto +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 |