Draft: Temporary disable saving of u-boot environment to storage for SAN iMX6 boards
This MR is a fix for the problem articulated in https://secogroup.atlassian.net/browse/YT-226 Prevent U-Boot environment from corrupting a partition with FNG System
As a basement, the MR, which enables U-Boot in Edgehog on SAN boards: !204 , was adapted. So, the current MR contains following changes from that MR:
- added CONFIG_EDGEHOG_OS, as it used to determine that we are booting Edgehog image.
- added a separate config for edgehog based images: seco-mx6_edgehog_defconfig
- switched seco-mx6 env to use boot command from MX8
- fixed issues with current env, to make it work as intended and some cleanup
But, the new MR also contains a temporary fix for U-Boot to prevent a corruption of "standard" SECO NE Yocto images on SAN boards when U-Boot environment is saved. In details:
- disabled U-Boot routines/commands in charge of saving U-Boot environment;
- adjusted a default U-Boot environment to be able to work with "standard" SECO NE Yocto images.
This MR will be reworked when a following MR will be processed: seco-ne/yocto/layers/meta-seconorth-machine!519
Note: there are 3 active MR groups for U-Boot right now. And although they are not dependent on each other, if one of them is merged, other two needs to be rechecked and probably updated. Here is a full list of MRs:
Santino support:
Nallino support:
FNGS corruption: