Hi, I have been working with the beagle board and I wanted to write a
module to add external hardware to the beagle.
I started cross-compiling using Sourcery, compiled the simple hello
world and it works fine
Now i want to make a simple module, but i am having trouble cross-
compiling it, it works fine in ubuntu, but i don't know how to use it
on the beagle.
I have downloaded the kernel source code from:
http://code.google.com/p/beagleboard/wiki/BeagleSourceCode
and I compiled it using the steps:
make CROSS_COMPILE=arm-none-linux-gnueabi- distclean
make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
make CROSS_COMPILE=arm-none-linux-gnueabi- uImage
My main problem I believe is making the Makefile, since I can't find
the needed folders since there is no /build folder inside the kernel
source.
Thanks for your help, I attack the hello.c & Makefile that I used on
Ubuntu Linux
Any links to examples would be highly appreciated
Simple Module Code:
hello.o