View Single Post
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#691
Pali, there seems to be something strange with NOLO->u-boot->kernel passthrough of flags (if I understand it correctly).

The thing is, that *without* u-boot, enabling one or few R&D flags (not R&D as a whole), result in - as intended - only those enabled flags having effects. For example, if I:

Code:
--set-rd-flags=force-power-key
...then, the only change is that no matter of boot reason, my device boots fully to user mode. Boot Nokia logo gets "toolbox" N8** icon, *without* green text about kernel version, etc. No things like keyboard flickering on device activity gets enabled.

Now, if I do the same *while* using u-boot, for split second after boot everything is as it should (nokia logo with toolbox, no keyboard flickering at activity)), then, u-boot takes control and passes it to kernel. Instantly, I start to get *whole* bunch of full R&D, *including* keyboard flickering on activity, green text about kernel and hardware version, etc.

It's not a big deal, as keyboard flickering can be disabled by editing [i]/sbin/preinit/, but it clearly states, that something isn't as it should re those parameters, if using u-boot. Device thinks about full R&D mode, while it should only have some flags active.

I also hope, that it doesn't leads in having more unnecessary flags active after nolo->u-boot messup (like, serial console etc), as it would mean silent increase in battery consumption (invisible for powertop).

Please, investigate.

/Estel

Ps.

If I hear "send bug to mainstream", a bunny will die.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!