Thread (47 messages) 47 messages, 9 authors, 2014-12-04
STALE4209d

[PATCH] ARM: OMAP2+: Warn about deprecated legacy booting mode

From: tony@atomide.com (Tony Lindgren)
Date: 2014-11-28 20:27:19
Also in: linux-omap

* Pali Roh?r [off-list ref] [141127 03:34]:
On Thursday 27 November 2014 02:12:04 Tony Lindgren wrote:
quoted
Thinking about this probably the best long term solution is
to pass optional board_revision in the kernel cmdline that
can be parsed early and copied to system_rev variable.
Not possible. Our bootloader is closed & proprietary. I tried to 
replace it with u-boot I was not able to do that. So we will use 
that Nokia closed bootloader forever and it can provide data only 
in ATAG structure.
I'm using just mainline u-boot flashed as kernel for nolo that
then loads the kernel.

For passing the board revision using the pass through u-boot is
probably the best long term solution. U-boot can read the ATAGs
from nolo and modify the .dtb for the revision information.

Are you saying there are some issues with that?
 
quoted
Or if you can think of some other way to get it, we can set
system_rev in pdata-quirks.c.

Or maybe add some code to copy the ATAGs somewhere where
they are out of the way and don't conflict with the device
tree data? Then we can query ATAG_REVISION from pdata-quirks.c
and set system_rev.
If we are able to read ATAG from pdata-quirks, then we can parse 
it there and fix problems... But I do not know if address of ATAG 
structure is available there...
Are there other ATAGs needed beyond the ATAG_REVISION?

Regards,

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help