meta-digi/meta-digi-arm/recipes-bsp
Hector Palacios 0e61017da8 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
(cherry picked from commit 222a91f213)
2023-04-19 09:39:43 +02:00
..
alsa-state alsa-state: add configuration for ccimx93 2023-02-21 12:23:28 +01:00
ath-prop-tools kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00
digi-sc-firmware kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00
firmware-atheros kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00
firmware-murata firmware-murata: update firmware binaries to version imx-kirkstone-fafnir_r1.0 2023-03-01 11:12:36 +01:00
firmware-qualcomm firmware_qualcomm: ccimx6ul: fix MCS7 drop and adjust 5GHz TxPower 2023-02-24 12:51:04 +01:00
formfactor kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00
libedgetpu kirkstone migration: update SRC_URI URLs 2022-06-20 11:39:57 +02:00
libubootenv libubootenv: add fall-back function to read HWID from nvmem 2023-04-19 09:39:43 +02:00
tensorflow-lite kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00
trustfence-cst trustfence-cst: fix issue with binutils 2.38 objcopy 2023-01-30 12:20:12 +01:00
u-boot ccimx6: ccimx6ul: ccimx8m: ccimx8x: ccimx93: install: only install system A by default, add an option to install B 2023-04-18 17:49:03 +02:00
usbutils kirkstone migration: general update to the new override syntax 2022-06-20 11:39:57 +02:00