meta-digi/meta-digi-arm/recipes-bsp/u-boot
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
..
u-boot-dey installer scripts: cover case where U-Boot env does not exist 2022-11-18 12:45:26 +01:00
digi-u-boot.inc meta-digi: revert revisions to AUTOREV 2022-11-04 12:38:21 +01:00
u-boot-dey_2017.03.bb u-boot-dey: remove ccimx6ul from compatible list 2022-07-21 15:49:22 +02:00
u-boot-dey_2020.04.bb meta-digi: revert revisions to AUTOREV 2022-11-04 12:38:21 +01:00
u-boot-dey_2021.04.bb u-boot-dey: add recipe for v2021.10 2022-09-07 13:44:36 +02:00
u-boot-dey_2021.10.bb u-boot-dey: add recipe for v2021.10 2022-09-07 13:44:36 +02:00