4,199
edits
Changes
From IGEP - ISEE Wiki
m
no edit summary
=== Custom Micro SD Card ===
We will get from our git repository the kernel sources and build it:<br> <pre>a) Clone the Kernel git repository $/home/jdoe/> git clone git://git.igep.es/pub/scm/linux-omap-2.6.git $/home/jdoe> cd linux-omap-2.6 b) Checkout your desired branch (we used for this howto 2.6.37.y) $/home/jdoe/linux-omap-2.6> git checkout origin/linux-2.6.37.y -b linux-2-6-37.y c) Configure the kernel $/home/jdoe/linux-omap-2.6> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- igep00x0_defconfig d) Build the kernel and Modules $/home/jdoe/linux-omap-2.6> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- zImage modules</pre> Notes: The kernel binary resides inside the directory: $/home/jdoe/linux-omap-2.6/arch/arm/boot/'''"Include clone git commands"zImage''' <br> Alternatively you can download the kernel binary from this [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-3/zImage-2.6.37-3.bin link] and modules from [http://downloads.isee.biz/pub/releases/linux_kernel/v2.6.37-3/modules-2.6.37-3.tar.gz this].
==== Modify Linux Kernel Sources to attach Spidev to SPI driver ====
|}
“spidev1.2”: refers at McSPI1 bus 2. Now we can communicate to accelerometer using spi driver functions.
== SPI Test program ==