Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

User:Pau pajuelo

969 bytes added, 10:52, 14 August 2012
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/&gt; git clone git://git.igep.es/pub/scm/linux-omap-2.6.git $/home/jdoe&gt; 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&gt; git checkout origin/linux-2.6.37.y -b linux-2-6-37.y c) Configure the kernel $/home/jdoe/linux-omap-2.6&gt; make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- igep00x0_defconfig d) Build the kernel and Modules $/home/jdoe/linux-omap-2.6&gt; 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&nbsp;driver ====
|}
“spidev1.2”: refers at McSPI1 bus 2. Now we can communicate to accelerometer using spi driver functions.
== SPI Test program ==
4,199
edits