aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-layerscape/files/ls1046ardb-uEnv.txt
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2020-05-27 11:10:19 +0800
committerPetr Štetiar <ynezz@true.cz>2020-07-11 14:44:22 +0200
commit5ca89036316b15781ed476dc4a7195b791594bce (patch)
tree9649ed2a96388c42c1f45cd56132644b573182af /package/boot/uboot-layerscape/files/ls1046ardb-uEnv.txt
parenteb24a57b7ff84242bfb717ce947f9d3e1c0518ee (diff)
downloadupstream-5ca89036316b15781ed476dc4a7195b791594bce.tar.gz
upstream-5ca89036316b15781ed476dc4a7195b791594bce.tar.bz2
upstream-5ca89036316b15781ed476dc4a7195b791594bce.zip
layerscape: convert to squashfs rootfs for QSPI NOR boot
There had been an issue in Layerscape QSPI driver for very long time, which made squashfs,jffs2 rootfs not work on QSPI NOR. And the ubifs had been used as a workaround. Now the issue has been fixed. So convert to use squashfs,jffs2 rootfs on QSPI NOR for Layerscape boards (LS1012ARDB/LS1046ARDB/ LS1088ARDB), and update u-boot bootargs for booting. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'package/boot/uboot-layerscape/files/ls1046ardb-uEnv.txt')
-rw-r--r--package/boot/uboot-layerscape/files/ls1046ardb-uEnv.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/boot/uboot-layerscape/files/ls1046ardb-uEnv.txt b/package/boot/uboot-layerscape/files/ls1046ardb-uEnv.txt
index 7bc7e2c972..89acac2a82 100644
--- a/package/boot/uboot-layerscape/files/ls1046ardb-uEnv.txt
+++ b/package/boot/uboot-layerscape/files/ls1046ardb-uEnv.txt
@@ -4,6 +4,6 @@ fdt_high=0xffffffffffffffff
initrd_high=0xffffffffffffffff
hwconfig=fsl_ddr:bank_intlv=auto
qspi_boot=sf probe 0:0;sf read $fdtaddr f00000 100000;sf read $loadaddr 1000000 1000000;bootm $loadaddr - $fdtaddr
-bootargs=ubi.mtd=9 root=ubi0:rootfs rw rootfstype=ubifs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=1550000.spi-0:1m(bl2),4m(fip),1m(u-boot-env),3m(reserved-1),256k(fman),5888k(reserved-2),1m(dtb),16m(kernel),32m(ubifs)
+bootargs=root=/dev/mtdblock9 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=1550000.spi-0:1m(bl2),4m(fip),1m(u-boot-env),3m(reserved-1),256k(fman),5888k(reserved-2),1m(dtb),16m(kernel),32m(rootfs)
bootcmd=echo starting openwrt ...;run qspi_boot
bootdelay=3