So I think I figured out this part (I think) using some of the earlier posts. I am however running into some errors while doing this. Reproduced here (edited from the previous posts) for anyone else trying this… Note the directory name “packages” does not seem to be valid anymore and has been replaced by “recipes”….

1.) Set up the build environment for the Overo as instructed on Gumstix.net.

2.) Copy "linux-omap3_git.bb" and "linux.inc"
    from: ${OE-HOME}/org.openembedded.dev/recipes/linux
    To:   ${OE-HOME}/user.collection/recipes/linux

3.) Copy directory "linux-omap3"
    From: ${OE-HOME}/org.openembedded.dev/recipes/linux

    To:   ${OE-HOME}/user.collection/recipes/linux

4.) Change directory to:

    Cd ${OE-HOME}/tmp/work/overo-angstrom-linux-gnueabi/linux-omap-{most_recent_kernel}/git/

5.) run  "make ARCH=arm menuconfig" and configure the kernel

6.) copy ".config" file to

${OE-HOME}/user.collection/recipes/linux/linux-omap3/overo/defconfig

(defconfig is the new filename)

 

7A) run "bitbake -c clean linux-omap3"

7.) run "bitbake -c rebuild linux-omap3"

8.) the new uImage file will be located at ${OE-HOME}/tmp/deploy/glibc/images/overo/uImage-overo.bin

 

I am however running into some issues. Any thoughts? Seems like I don’t have the right patches in the appropriate directory in user.collection?  

 

.

.

NOTE: Applying patch 'rc8-to-final.diff' (user.collection/recipes/linux/linux-omap3/overo/rc8-to-final.diff)

NOTE: Task failed: Error: /home/yuvraj/yuvraj-work/gumstix/overo-oe/user.collection/recipes/linux/linux-omap3/overo/./rc8-to-final.diff not found.

ERROR: TaskFailed event exception, aborting

ERROR: Build of /home/yuvraj/yuvraj-work/gumstix/overo-oe/user.collection/recipes/linux/linux-omap3_git.bb do_patch failed

ERROR: Task 5 (/home/yuvraj/yuvraj-work/gumstix/overo-oe/user.collection/recipes/linux/linux-omap3_git.bb, do_patch) failed

NOTE: Tasks Summary: Attempted 529 tasks of which 525 didn't need to be rerun and 1 failed.

ERROR: '/home/yuvraj/yuvraj-work/gumstix/overo-oe/user.collection/recipes/linux/linux-omap3_git.bb' failed

 

Thanks

Yuvraj

 

From: Yuvraj Agarwal [mailto:yuvraj@cs.ucsd.edu]
Sent: Thursday, July 23, 2009 3:37 PM
To: gumstix-users@lists.sourceforge.net
Subject: [Gumstix-users] Overo Recompile kernel to add USBNet modules...

 

Hi All,

I was wondering if there is an easy to follow list of directions to recompile the kernel for the Overo Earth/Air.
I am trying to build the modules / kernel to add support for USB Ethernet gadget (seems like this does not come as default). From the mailing list it seems that I need to modify the kernel recipe to change the USB OTG from host to device mode?

 

I have recompiled the kernel (using the instructions) for the OE build system for the verdex and connex systems, but did not see any directions for the Overo. Any pointers?

 

Thanks

Yuvraj