On Thu, Sep 16, 2010 at 10:40 AM, Tony Lindgren <t...@atomide.com> wrote: > * Steve Sakoman <sako...@gmail.com> [100916 05:48]: >> >> Agreed. Gumstix doesn't provide an easy way of determining the layout >> revision via software (the boards are marked with the rev number, but >> that doesn't do much good!). > > Unless you use the camera interface during early init to detect that > revision printed on the circuit board ;)
That was my first idea too :-) >> I'm investigating methods to figure this out, but haven't yet found >> anything reliable. When I do I'll post a patch. > > How about add something to u-boot that allows setenv system_rev in > u-boot? Maybe it already has this feature as system_rev is arm-linux > generic atag. The hard part is creating the code to figure out how the board is wired :-) I have some promising approaches, but nothing working yet. Once that is done the rest is easy! Steve -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html