aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-layerscape/files
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2022-10-24 15:11:07 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-05 21:12:03 +0100
commitd75ed3726d994fd050730e9ab5923d6232913054 (patch)
tree4efb0b9e5c499f9eef141f968a391f5afaf1673b /package/boot/uboot-layerscape/files
parent8623a449c2d9617cd802ca892d443f4efc116794 (diff)
downloadupstream-d75ed3726d994fd050730e9ab5923d6232913054.tar.gz
upstream-d75ed3726d994fd050730e9ab5923d6232913054.tar.bz2
upstream-d75ed3726d994fd050730e9ab5923d6232913054.zip
uboot-layerscape: adjust LS1012A-IOT config and env
In a254279a6c30 LS1012A-IOT kernel image was switched to FIT. But u-boot config is lack of FIT and ext4 support. This patch enables it. It also fix envs, because for some reason this board need to use "loadaddr" variable in brackets. Fixes: #9894 Fixes: a254279a6c30 ("layerscape: Change to combined rootfs on sd images") Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'package/boot/uboot-layerscape/files')
-rw-r--r--package/boot/uboot-layerscape/files/fsl_ls1021a-iot-sdboot-uEnv.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/boot/uboot-layerscape/files/fsl_ls1021a-iot-sdboot-uEnv.txt b/package/boot/uboot-layerscape/files/fsl_ls1021a-iot-sdboot-uEnv.txt
index 55620d6725..ae0d6a6f96 100644
--- a/package/boot/uboot-layerscape/files/fsl_ls1021a-iot-sdboot-uEnv.txt
+++ b/package/boot/uboot-layerscape/files/fsl_ls1021a-iot-sdboot-uEnv.txt
@@ -2,7 +2,7 @@ fdtaddr=0x8f000000
loadaddr=0x81000000
fdt_high=0x8fffffff
initrd_high=0xffffffff
-sd_boot=ext4load mmc 0:1 $loadaddr fitImage;bootm $loadaddr
+sd_boot=ext4load mmc 0:1 ${loadaddr} fitImage;bootm ${loadaddr}
bootargs=root=/dev/mmcblk0p2 rw rootwait rootfstype=squashfs,f2fs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200
bootcmd=echo starting openwrt ...;run sd_boot
bootdelay=3