yocto: use libubootenv replace uboot-tools

This commit is contained in:
2025-07-09 09:01:31 +08:00
parent 4a1758c7cd
commit af8e3cce38
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,2 @@
# Device name Offset Size
/dev/mmcblk1boot0 0x100000 0x4000

View File

@ -0,0 +1,10 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
SRC_URI += " \
file://fw_env.config \
"
do_install_append() {
install -d ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/
}