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 |
||
|---|---|---|
| .. | ||
| mmc | ||
| mtd | ||
| ubi | ||
| 0001-Implement-support-for-environment-encryption-by-CAAM.patch | ||
| 0002-Implement-U-Boot-environment-access-functions.patch | ||
| 0003-tools-env-add-support-to-set-dynamic-location-of-env.patch | ||
| 0004-fall-back-to-read-HWID-from-nvmem-device-if-not-avai.patch | ||