summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2020-01-22 17:41:02 +0000
committerStefan Agner <stefan.agner@toradex.com>2020-01-22 17:48:37 +0000
commitb509f0b7ded7fcf78fd22a5d7a57e476dc71bb63 (patch)
tree7f7f622b21282910b7e6e5ab572f62b8a390280b
parent86846009d14572d56aec0299c14a600ccbbcf3b2 (diff)
u-boot-distro-boot: use lower case for ubi partition name
In 2016.11 U-Boot the MTD partition name which is used in the UBI distro boot script has been fixed to capital "UBI". In newer U-Boot this can be configured. With the switch to U-Boot 2019.07 we made use of that feature to align with the BSP and named the MTD partition lower case "ubi". This changes the same in the boot script to make sure Linux looks for UBI volumes in the correct MTD partition. Related-to: TOR-237, TOR-513 Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-distro-boot/sota/boot.cmd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-distro-boot/sota/boot.cmd.in b/recipes-bsp/u-boot/u-boot-distro-boot/sota/boot.cmd.in
index 8451894..ae72c67 100644
--- a/recipes-bsp/u-boot/u-boot-distro-boot/sota/boot.cmd.in
+++ b/recipes-bsp/u-boot/u-boot-distro-boot/sota/boot.cmd.in
@@ -21,7 +21,7 @@ env set bootcmd_args 'env set bootargs root=LABEL=otaroot rootfstype=ext4 ${boot
else
# Load commands for raw NAND devices
env set bootcmd_otenv 'ubifsmount ubi${devnum}:rootfs && load ${devtype} ${devnum}:2 ${loadaddr} /boot/loader/uEnv.txt; env import -t ${loadaddr} ${filesize}'
-env set bootcmd_args 'env set bootargs ubi.mtd=UBI root=/dev/ubi0_1 rootfstype=ubifs ubi.fm_autoconvert=1 ${bootargs} ${tdxargs}'
+env set bootcmd_args 'env set bootargs ubi.mtd=ubi root=/dev/ubi0_1 rootfstype=ubifs ubi.fm_autoconvert=1 ${bootargs} ${tdxargs}'
fi
run bootcmd_otenv