Skip to content

Commit

Permalink
Add u-boot-fw-utils which provide fw_setenv and fw_printenv apps
Browse files Browse the repository at this point in the history
  • Loading branch information
fortizc committed Dec 11, 2024
1 parent 4c4d282 commit 6e02d7e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions recipes-pv/pantavisor/files/fw_env.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Configuration file for fw_(printenv/setenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
# Futhermore, if the Flash sector size is omitted, this value is assumed to
# be the same as the Environment size, which is valid for NOR and SPI-dataflash
# Device offset must be prefixed with 0x to be parsed as a hexadecimal value.

# Device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd1 0 0x20000 0x20000 4
/dev/mtd2 0 0x20000 0x20000 4
3 changes: 3 additions & 0 deletions recipes-pv/pantavisor/pantavisor_019.bb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ RDEPENDS:${PN} += "lxc-pv \
cryptsetup \
libthttp-certs \
${@bb.utils.contains('PANTAVISOR_FEATURES', 'autogrow', 'gptfdisk e2fsprogs-resize2fs', '', d)} \
${@bb.utils.contains('PANTAVISOR_FEATURES', 'uboot-ab', 'u-boot-fw-utils', '', d)} \
"


RDEPENDS:${PN}:qemumips += "lxc-pv libthttp-certs "
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
Expand Down

0 comments on commit 6e02d7e

Please sign in to comment.