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.

Signed-off-by: Sergey Bostandzhyan <[email protected]>
---
 recipes-bsp/u-boot/libubootenv_%.bbappend | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 recipes-bsp/u-boot/libubootenv_%.bbappend

diff --git a/recipes-bsp/u-boot/libubootenv_%.bbappend 
b/recipes-bsp/u-boot/libubootenv_%.bbappend
new file mode 100644
index 0000000..b0c70ca
--- /dev/null
+++ b/recipes-bsp/u-boot/libubootenv_%.bbappend
@@ -0,0 +1,5 @@
+do_install_append_rk3288() {
+    install -d ${D}${sysconfdir}
+    echo "/dev/${RK_BOOT_DEVICE}       0x3f8000        0x8000" > 
${D}${sysconfdir}/fw_env.config
+}
+
-- 
2.24.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48443): https://lists.yoctoproject.org/g/yocto/message/48443
Mute This Topic: https://lists.yoctoproject.org/mt/71333200/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to