Skip to contentSkip to conversation

Install appropriate fw_env.config for rk3288

PATCH New Sergey Bostandzhyan 1 participant 1 message Feb 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Install appropriate fw_env.config for rk3288

From: Sergey 'Jin' Bostandzhyan <[email protected]>

libubootenv provides fw_printenv/fw_setenv utilities, however they only work if a correct /etc/fw_env.config file is available.

---
 recipes-bsp/u-boot/libubootenv_%.bbappend | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 recipes-bsp/u-boot/libubootenv_%.bbappend
recipes-bsp/u-boot/libubootenv_%.bbappend new file +5 -0
new file mode 100644
index 0000000..b0c70ca
@@ -0,0 +1,5 @@
+do_install_append_rk3288() {
+    install -d ${D}${sysconfdir}
+    echo "/dev/${RK_BOOT_DEVICE}	0x3f8000	0x8000" > ${D}${sysconfdir}/fw_env.config
+}
+
Signature · 1 line
2.24.1