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.

link|improve this question
feedback

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

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

1 Answer

up vote 2 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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.