Not able to locate the Board file

Hi All,
Sorry if this is a newbie question.

Am not able to locate the board file “board-am335xevm.c” under arch/arm/mach-omap2/ in my cloned kernel sources.I’ve cloned the Linux sources from https://github.com/beagleboard/kernel/tree/3.8 .
Though i’m able to build and boot my Beaglebone board with 3.8 kernel.
Any suggestions?

Regards,
Vijay

Board files are not allowed in mainline anymore (well atleast for the
last year and a half) and those that are, are being slowly
removed/replaced by device tree's..

So the Bone's replacement board file is:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=arch/arm/boot/dts/am335x-bone.dts;hb=HEAD

Regards,

Hi Robert,
Thanks for the quick reply.
If i’ve to add support to i2c etc., in the board file, how do i do that?

Regards,
Vijay

Well i2c is setup, you just need to enable devices:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=arch/arm/boot/dts/am33xx.dtsi;hb=HEAD#l188

You just need to add i2c device's..

See, omap3-evm as an example..
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=arch/arm/boot/dts/omap3-evm.dts;hb=HEAD#l31

Regards,