Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Linux Kernel 2.6.35.y

14 bytes added, 18:33, 30 June 2011
Step 1: Add new expansion board file
As you can see in Layout chapter, an expansion board is called exp-<your board name>.c and should be located in arch/arm/mach-omap2 directory, so the first step will be add a new file for your new expansion board. Following example creates a new expansion board file called exp-dummy.c (arch/arm/mach-omap2/exp-dummy.c)
<pre>
#include <linux/kernel.h>
#include <linux/init.h>
 
void __init dummy_init(void)
{
pr_info("Initializing expansion board ... \n");
}
</pre>
next, add the new file to be built
0
edits