Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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