Monday, March 17, 2014

Cross compile Raspberry Pi kernel to inslude tsc2007.ko

As tsc2007 is included in the source tree of Raspberry Pi source, this post show how to download (git clone) Raspberry Pi source and cross-compile on another host PC running Ubuntu. Setup .config to include tsc2007 module with menuconfig option in make.

Now you can run Raspberry Pi with this new build Image. tsc2007.ko is included, but not yet run. The following steps set it run in power up. Because tsc2007 is controlled with i2c bus, so it will be enabled also.

By default, i2c is disabled in Raspbian. To run tsc2007 and i2c modules, follow the step: