On Sun, 5 Feb 2012, Eric Bénard wrote: > Hi Robert, > > Le Sun, 5 Feb 2012 06:52:28 -0500 (EST), > "Robert P. J. Day" a écrit : > > thoughts? i'd actually like to make the tweaks one at a time so > > that the git log shows clearly how the two boards differ one feature > > at a time. > > By sensing a few GPIO, you can easily check which board you are running > barebox on and thus have ony binary which supports all beagleboards > (as already done in u-boot). > > Check around line 108 in u-boot's beagle support for the details : > http://git.denx.de/?p=u-boot.git;a=blob;f=board/ti/beagle/beagle.c;h=5c04b34e1ab0140aca93e7752c8672ce7aebc0b9;hb=HEAD > > So in the end you can register the nand support only if you run on a > board which has a NAND flash and have one defconfig for all > beagleboards (some tweaks in the clock settings may be nedded - > especially for USB IIRC - as beagle XM is built around a DM3730 which > can run at 1GHz when older beagles had older OMAP3530 limited to > 720MHz). ah, thank you, that might be what i'm after. we'll see if that's enough to handle all of the differences. i may very well be back with more questions later. in fact, count on it. :-) rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================