meta-digi/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccmp1
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
..
altboot.txt u-boot-dey: move dualboot boot script to common ccmp1 folder to fix ccmp13 build 2022-11-15 16:21:25 +01:00
install_linux_fw_sd.txt installer scripts: cover case where U-Boot env does not exist 2022-11-18 12:45:26 +01:00
install_linux_fw_usb.txt installer scripts: cover case where U-Boot env does not exist 2022-11-18 12:45:26 +01:00
install_linux_fw_uuu.sh installer scripts: cover case where U-Boot env does not exist 2022-11-18 12:45:26 +01:00