u-boot: Restore valid default environment for running system
PATCH 1/1 u-boot: Restore valid default environment for running system
One significant change from previous OE-Core releases was the move from u-boot-fw-utils to libubootenv which offers a generic and not machine specific alternative. However, it is not fully functional as currently we don't provide the default environment nor the required configuration file to be used by it.
This change address this and include on the default u-boot.inc the needed code to generate, install and deploy the default environment.
The side effect of this change are:
- new ${PN}-env
- u-boot-initial-env on deploy
- fw_env.config on deploy
---
This change is late in the cycle but it is critical in my opinion.
The lack of default environment as well as the configuration for the tool is a regression from the previous release and this mitigates it.
meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 1 + meta/recipes-bsp/u-boot/u-boot.inc | 54 ++++++++++++++++++---- 2 files changed, 46 insertions(+), 9 deletions(-)
meta/recipes-bsp/u-boot/libubootenv_0.2.bb +1 -0
@@ -23,5 +23,6 @@ EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" PROVIDES += "u-boot-fw-utils" RPROVIDES_${PN}-bin += "u-boot-fw-utils" +RRECOMMENDS_${PN}-bin += "virtual/bootloader-env" BBCLASSEXTEND = "native"
meta/recipes-bsp/u-boot/u-boot.inc +45 -9
108 lines not on this page · raw message
Signature · 1 line
2.26.0