On Dec 8, 2005, at 11:17 AM, Martin Maurer wrote:
i found various pages and mailing in this list, which describe how i canenable I2C support on gumstix.
Beside directory changes (linux-2.6.10gum -> linux-2.6.11gum), it looks like the parameters of make for menuconfig have changed:
Earlier: make ARCH=ARM CROSS_COMPILE=arm-linux- menuconfig
Is the new way to just call make menuconfig ?
No, you still need to say ARCH=arm CROSS_COMPILE=/path/to/arm-linux- menuconfig
If you see something which isn't passing the variables, it's probably either assuming that you'll pass them, or you could be seeing something which says "amake" instead of "make" -- I have an alias defined on my dev boxes as:
alias amake='make -j3 ARCH=arm CROSS_COMPILE=`pwd`/../staging_dir/bin/arm-linux-'
Is it still correct to enable the following ?
Go into I2C Support
Set I2C Support to M
Set I2C Device interface to M
Got into I2C Hardware Bus support
Set I2C Interface in Intel PXA2x0 to M
Or is I2C meanwhile enabled by default (and when not why not ?) and all of above steps are obsolete ?
For 2.6.11, yes -- it looks like things might have shifted around a teenie bit with 2.6.14, but I think the .config files are upward-compatible, so you shouldn't need to reconfigure.