diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2020-01-22 17:41:02 +0000 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2020-01-22 17:46:18 +0000 |
commit | 81370b31d97fff94a851d626372b09fbffae4d8e (patch) | |
tree | 776f14454aece394883a55efe875a7df498cec5c | |
parent | 3decd1ad4bb0410a03abfda76a884351bba51fdd (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.in | 2 |
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 |