Giter Site home page Giter Site logo

librerouterorg / u-boot Goto Github PK

View Code? Open in Web Editor NEW
8.0 6.0 1.0 12 MB

LibreRouter (QCA9558) bootloader U-Boot source code

License: Other

Makefile 2.01% C 88.39% Assembly 5.30% C++ 3.07% Shell 0.12% Objective-C 0.74% PHP 0.36% CSS 0.02%
u-boot qca955x qca9558 librerouter dualboot

u-boot's People

Contributors

kumargala avatar prabhujayakumar avatar semihalf-sieka-bartlomiej avatar spiccinini avatar stroese avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

andridge

u-boot's Issues

u-boot environment stored from factory

To support dual-booting it is convenient to have the u-boot environment saved to the "env" partition from factory. One way is to start the serial console and type saveenv but this is cumbersome and error prone. Another way is to do an automatic saveenv if it is detected that it is not stored, like for example checking the CRC or if a variable is not there.

Use redundant environment

To support power loss when updating the environment a redundant environment should be used.
u-boot has the config CFG_REDUNDAND_ENVIRONMENT for this:

	- CFG_ENV_ADDR_REDUND
	  CFG_ENV_SIZE_REDUND

	   These settings describe a second storage area used to hold
	   a redundand copy of the environment data, so that there is
	   a valid backup copy in case there is a power failure during
	   a "saveenv" operation.

It must be tested and an upgrade path from the current layout provided (probably using the previous sector to the ART)

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.