View Single Post
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#542
Originally Posted by pali View Post
Update: New version 2012.10-rc3-1
Changes:
* reuse bootreason, bootmode, hwrev, nolo ver in omap atag table
* added env setup_boot_reason_atag and setup_boot_mode_atag (for forcing in omap atag table)
Can you explain a bit more what setup_boot_reason_atag and setup_boot_mode_atag do?

I just wrote on the getbootstate/preinit thread asking you do allow bypassing bootreason and bootmode by using a kernel command line parameter, but just saw this in u-boot, which may (or not) be exactly what I wanted.

Can I do, e.g.
Code:
setenv setup_boot_reason_atag pwr_key
and this will be available in /proc/bootreason so it will be picked up by getbootstate?

If so, my request in the other thread is perhaps not necessary anymore, except for the bypassing of getbootstate by I could take care of that one (maybe I'll make an interactive version of getbootstate, so the user can choose while booting