Coder Social home page Coder Social logo

Comments (3)

ejoerns avatar ejoerns commented on June 7, 2024

Booting with bootspec is definitely the preferred way we use, too, if possible! You will not have to give it up.

Well, you actually have to set the bootchooser boot target as the bootname in order to get this working, not what in root= is.
The bootname enables RAUC to interact with the boot selection logic, the barebox bootchooser in this case. Thus it must know about the names bootchooser and state use, not from which ubi volume we are booting.
Telling where we are booted from will then be done by additional kernel commandline parameters passed by bootchooser.

The Barebox Integration chapter in the documentation tells you a bit more about how to configure bootchooser with RAUC.

from rauc.

mischelebuha avatar mischelebuha commented on June 7, 2024

Thanks for the help the problem has been solved.

In Germany one would say "I stood on the hose". :-D

I manually started the boot process in all attempts (boot nand0.root.ubi.system0). Therefore, the variable "bootchooser.active=" was not generated. And the resulting "error messages" did not help me either. Maybe the missing variable "bootchooser.active" should be mentioned in the error message.

Is it possible to start the bootchooser manually with a specific target (without changing the priority)?
For example, boot bootchooser -t system0 ?

from rauc.

ejoerns avatar ejoerns commented on June 7, 2024

Auf dem Schlauch stehen wir alle mal ;)

Well, the missing variable is sufficient but not necessary. RAUC also accepts bootstate.active= (for compatibility reasons), the generic rauc.slot= an is also able to handle simple root= options matching the 'bootname'. Thus it is not that easy to emit a helpful error messages.

No, manually selecting a boot target without modifying prios is not possible at the moment.

For both points mentioned, patches improving the current situation are always welcome ;)

from rauc.

Related Issues (20)

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.