Giter Club home page Giter Club logo

libubootenv's Introduction

libubootenv - Library to access U-Boot environment

Build Status Coverity Scan Build Status

libubootenv is a library that provides a hardware independent way to access to U-Boot environment. U-Boot has its default environment compiled board-dependently and this means that tools to access the environment are also board specific, too.

Source Code: https://github.com/sbabic/libubootenv

Documentation (doxygen): https://sbabic.github.io/libubootenv

Replacement old tools

Part of the library are the replacement of the "fw_printenv / fw_setenv" tools that can be used with any board - they accept as parameter a file as initial environment if none is found on the persistent storage. The syntax for the file and for the data configuration file is the same as the one described in the U-Boot project.

::

    Usage fw_printenv [OPTION]
     -h,                              : print this help
     -c, --config <filename>          : configuration file (old fw_env.config)
     -f, --defenv <filename>          : default environment if no one found
     -V,                              : print version and exit
     -n, --no-header                  : do not print variable name

    Usage fw_setenv [OPTION]
     -h,                              : print this help
     -c, --config <filename>          : configuration file (old fw_env.config)
     -f, --defenv <filename>          : default environment if no one found
     -V,                              : print version and exit
     -s, --script <filename>          : read variables to be set from a script

License

libubootenv is licensed under LGPL-2.1

OE / Yocto support

Recipe is provided in openembedded-core layer https://git.openembedded.org/openembedded-core/tree/meta/recipes-bsp/u-boot/

Buildroot support

Package is provided in https://git.buildroot.net/buildroot/tree/package/libubootenv

Contributing to the project

Contributions are welcome ! You can submit your patches (or post questions regarding the project) to the swupdate Mailing List:

Please read the contributing chapter in the documentation how to contribute to the project.

libubootenv's People

Contributors

adrianbunk avatar akiernan avatar diegorondini avatar kacf avatar kmarkus avatar lamby avatar leoruan avatar liuming50 avatar maxkrummenacher avatar mcondarelli avatar sbabic avatar sjlc avatar stormc avatar tomzbench avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.