Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to order u-boot to enter a specific runlevel lower than the one the system boots to. How does one accomplish this?

Thank you.

share|improve this question

migrated from stackoverflow.com Apr 23 '11 at 8:38

This question came from our site for professional and enthusiast programmers.

up vote 5 down vote accepted

After a lot of digging before and after my question, I discovered that it's as simple as appending the number of the runlevel onto the end of the environment variable bootargs.

For instance, to enter into runlevel 3:

setenv bootargs ${bootargs} 3

and you can use

printenv bootargs

before and after to check your changes.

I found a huge hint for this at http://www.novell.com/coolsolutions/tip/14818.html

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .