summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
Commit message (Collapse)AuthorAgeFilesLines
* libubootenv: uprev to v0.3Ming Liu2020-08-181-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update libubootenv to the latest 0.3 release, which comprises the following commits: ``` 1efed83 Increase max length for device name 6f4fc1c uboot_env: Use canonicalized pathname when reading device 23b3086 Fix bug introduced by commit 52a70114 ed1a53e Dont store to device if no value changes 4a0a466 Merge pull request #7 from TomzBench/cmake-fix 6117831 Added Coverity badge 49372a1 Fix coverity #293496 69a6819 Fix coverity #293503 and #293507 258bf52 Fix coverity #293501 aa52e61 Fix coverity #293505 52a7011 Fix coverity #293504 and #293506 e822218 Fix coverity #293495 and #293497 23b305f Fix coverity #293499 25ef1f6 Add coverity setup for Travis 41b5188 fixed install for static target, fixed BUILD_DOC acknowledgement 86bd30a Restore ability to feed script file via stdin, using `-s -`. c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP f4b9cde Allow negative offsets 45bf92a Detect sector size if not found in config 9f59db6 uboot_env: remove unused variables 65d243e README: libubootenv is now in oe-core ba952d0 BUG: variable lists not released in close() 690f868 Variables are not removed when loading from file 9e3586a Make sure there's no file descriptor leakage in case of error 03647c4 Check config file defines a non-zero Sector size 3b2d4f1 Check environment size from fw_env.config 879c073 Do not hardcode path for install d9c639b libubootenv: add pkg-config support cc628ee libuboot: wrap libuboot in extern "C" for C++ ``` Also add u-boot-default-env to RRECOMMENDS since /etc/u-boot-initial-env is being referred in libubootenv source, and turns libubootenv's PACKAGE_ARCH to be MACHINE_ARCH since u-boot-default-env is a machine-arch package. (From OE-Core rev: 02d55cd35aac15095fc44f0cf8f9e7a71638f485) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: bump to revision 86bd30aPierre-Jean Texier2020-06-281-1/+1
| | | | | | | | | | | | This includes the following changes: 86bd30a Restore ability to feed script file via stdin, using `-s -`. c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP (From OE-Core rev: cb961b737cc3ae36ca27867248d6077e8fbcf534) Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: Remove the DEPENDS on mtd-utilsAdrian Bunk2020-05-301-1/+1
| | | | | | | | | | | | It was only used for pulling in zlib, but this is now a direct dependency. Also move the DEPENDS to a more common location in the file. (From OE-Core rev: a99fd8b705be3b8c70cb0f17f60b013d989d625c) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: Depend on zlibMarek Vasut2020-05-191-1/+1
| | | | | | | | | | | The libubootenv depends on zlib as it calls at least crc32() from there and links against it. Add the DEPENDS entry. (From OE-Core rev: bbd926ca0108e6f77c140dc1113f64b745d0e285) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: update to latest git hashMax Krummenacher2020-04-071-1/+1
| | | | | | | | | | | | | | | | This adds the missing feature 'negative offsets' which was present in the orginal U-Boot based tools. git change log: * f4b9cde Allow negative offsets * 45bf92a Detect sector size if not found in config * 9f59db6 uboot_env: remove unused variables * 65d243e README: libubootenv is now in oe-core (From OE-Core rev: 72006a6034385d345ed273bcef3f465df8bb332a) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: bump to revision ba952d0Pierre-Jean Texier2020-02-211-1/+2
| | | | | | | | | | | | | | | | This includes following changes: ba952d0 BUG: variable lists not released in close() 690f868 Variables are not removed when loading from file 9e3586a Make sure there's no file descriptor leakage in case of error 03647c4 Check config file defines a non-zero Sector size 3b2d4f1 Check environment size from fw_env.config (From OE-Core rev: 174cd0d15fb8879a28b9a069a2e504617c0be1a7) Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Acked-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: Split binaries to a libubootenv-bin packageOtavio Salvador2020-02-131-2/+2
| | | | | | | | | | | | The fw_setenv and fw_printenv binaries should be on a specific package as some systems may require just the library. The upgrade path was kept using the RPROVIDES for the -bin package. (From OE-Core rev: a60bf84b15be85ae0f16b5f85fec98b3365f15de) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: fix multilib buildStefano Babic2020-01-191-1/+1
| | | | | | | | | | | | | | | | | In case of multilib, the do_package fails with: ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv: Files/directories were installed but not shipped in any package: /usr/lib/libubootenv.so /usr/lib/libubootenv.so.0.2 Issue is fixed in libubootenv repo - this patch updates SRCREV to the commit with the fix. (From OE-Core rev: 9e21387ba2bd04ca844481e42a5999e1d748c730) Signed-off-by: Stefano Babic <sbabic@denx.de> Reported-by: ChenQi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: Add libubootenv which replaces u-boot-fw-utilsStefano Babic2020-01-071-0/+26
libubootenv is a replacement for u-boot-fw-utils. It is hardware-independent and provides fw_printenv and fw_setenv tools that are full compatible with the ones provided by U-Boot. A library is provided to access the environment from an own application. License is LGPL-2.1 and this allow to link the library to proprietary code. The user of the tools should install the configuration file "fw_env.config", as he is already used to with u-boot-fw-utils. The configuration file is compatible with u-boot-fw-utils. A full discussion about issues on current u-boot-fw-utils can be read on U-Boot's ML at: http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none (From OE-Core rev: 325a8dec3c24723e02c8c7a0b416321adc7a5717) Signed-off-by: Stefano Babic <sbabic@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>