meta-digi/meta-digi-arm/recipes-bsp/libubootenv/libubootenv
Hector Palacios 222a91f213 libubootenv: add fall-back function to read HWID from nvmem
The HWID is populated on the device tree by the boot loader.
This can be used as a key modifier when encrypting the U-Boot
environment. Some old U-Boot versions however, did not populate
the HWID on the device tree. When updating firmware from an
old version to a new one, the library may not be able to read
the HWID from the DT and then be unable to unencrypt the
environment.

This patch implements a fall-back function to read the HWID
directly from the nvmem node (sysfs). Implementation has been
done for ccimx6 family only, where this case of old U-Boot
can happen.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-8444
2023-04-17 08:48:52 +02:00
..
mmc gatesgarth migration: Add support for libubootenv 2021-05-05 19:18:11 +02:00
mtd libubootenv: adapt recipe for read-only-rootfs 2021-11-05 11:18:16 +01:00
ubi libubootenv: adapt recipe to platforms with bootloader environment in UBI volume 2022-10-20 09:32:24 +02:00
0001-Implement-support-for-environment-encryption-by-CAAM.patch kirkstone migration: update libubootenv package 2022-06-20 11:39:57 +02:00
0002-Implement-U-Boot-environment-access-functions.patch kirkstone migration: update libubootenv package 2022-06-20 11:39:57 +02:00
0003-tools-env-add-support-to-set-dynamic-location-of-env.patch kirkstone migration: update libubootenv package 2022-06-20 11:39:57 +02:00
0004-fall-back-to-read-HWID-from-nvmem-device-if-not-avai.patch libubootenv: add fall-back function to read HWID from nvmem 2023-04-17 08:48:52 +02:00