meta-digi/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey
Hector Palacios 2cf902f8d7 installer scripts: cover case where U-Boot env does not exist
The U-Boot environment resides on a UBI volume. The uuu script
relies on the environment to save part of the commands that
U-Boot needs to execute after reboot in the middle of the
installation. If the UBI volume 'uboot_config' does not exist
the installer fails.

This commit:
- Creates a function -on the uuu script only- for obtaining
  the result of running any U-Boot command (0=success, 1=error).
- Checks the existance of 'uboot_config' volume.
- Runs 'ubivolscript' script to create the UBI volumes layout
  that generates the environment volume if it doesn't exist.
- Increases the timeout for running the 'ubivolscript' since
  there are occasions in which 'ubi part' (which is part of the
  script) takes more time (if it cannot find the fastmap).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2022-11-18 12:45:26 +01:00
..
ccimx6 dualboot: move contents of meta-digi-dualboot layer into meta-digi as a class 2022-10-26 11:29:23 +02:00
ccimx6qpsbc u-boot-dey: fix install scripts for dual boot 2022-11-10 14:09:25 +01:00
ccimx6sbc u-boot-dey: fix install scripts for dual boot 2022-11-10 14:09:25 +01:00
ccimx6ul u-boot-dey: fix install scripts for dual boot 2022-11-10 14:09:25 +01:00
ccimx6ulsbc u-boot-dey: ccmp1/cc6ul: ensure 'rootfsvol' value in every case 2022-11-10 11:19:52 +01:00
ccimx6ulstarter u-boot-dey: ccmp1/cc6ul: ensure 'rootfsvol' value in every case 2022-11-10 11:19:52 +01:00
ccimx8m u-boot-dey: fix install scripts for dual boot 2022-11-10 14:09:25 +01:00
ccimx8mm-dvk u-boot: print what system is booting after update 2021-10-11 11:36:00 +02:00
ccimx8mn-dvk u-boot: print what system is booting after update 2021-10-11 11:36:00 +02:00
ccimx8mp-dvk u-boot: add boot script for ConnectCore 8M Plus 2022-02-03 12:00:26 +01:00
ccimx8x u-boot-dey: fix install scripts for dual boot 2022-11-10 14:09:25 +01:00
ccimx8x-sbc-express u-boot: print what system is booting after update 2021-10-11 11:36:00 +02:00
ccimx8x-sbc-pro u-boot: print what system is booting after update 2021-10-11 11:36:00 +02:00
ccmp1 installer scripts: cover case where U-Boot env does not exist 2022-11-18 12:45:26 +01:00
ccmp13-dvk u-boot-dey: ccmp1/cc6ul: ensure 'rootfsvol' value in every case 2022-11-10 11:19:52 +01:00
ccmp15-dvk u-boot-dey: move dualboot boot script to common ccmp1 folder to fix ccmp13 build 2022-11-15 16:21:25 +01:00
use-mainline-bsp thud migration: u-boot: remove kernel image type from device tree files 2019-02-08 12:13:11 +01:00