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

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

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

* Pali Roh?r [off-list ref] [141126 10:59]:
On Wednesday 26 November 2014 19:19:35 Tony Lindgren wrote:
quoted
Maybe Pali can try to restart that discussion? To me it seems
the /proc/cpuinfo should be the same as it's a user
interface. Sorry forgot the details of the previous
discussion..
Yes, two days ago I again wrote emails about this problem...

E.g. one of them, see: https://lkml.org/lkml/2014/11/24/774
quoted
And with which app was that? Sorry I forgot..
More applications/libraries for N900 which running on Maemo 5 
system. Some of them are Nokia proprietary, some of them are open 
source and some are mine.

Basically problem is that non DT boot provides this info in 
/proc/cpuinfo:

Hardware        : Nokia RX-51 board
Revision        : 0012

New DT boot provides this:

Hardware        : Generic OMAP3 (Flattened Device Tree)
Revision        : 0000
Oh you can easily fix that by adding a n900 specific
DT_MACHINE_START entry to mach-omap2/board-generic.c.

The revision entry you can populate too in pdata-quirks.c,
or maybe add something generic to populate it based on the
cmdline or a dts entry as I believe that comes from the
legacy ATAGs. I think that's just the system_rev or some
other *_rev global in the kernel.

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