Kernel with built-in usb drivers / building the kernel cheatsheet

Andy Green andy at openmoko.com
Thu Aug 7 08:34:02 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| I understand that the usb tether drivers were moved out as kernel
| modules. However, for the Debian port to work, I need them as part of
| the kernel. Can someone point me to how I can re-compile the latest
| kernel with the drivers included?
|
| I am a OpenEmbedded newbie and have minimal experience with the Moko
| Makefile (i.e. I haven't done any modifications, just done a normal
build).

I don't think you need to do this, but of course it is a nice thing to
be able to do anyway.  You will know more about the OE side than me by
the sound of it, but I can give you the steps to build the kernel
standalone with the "moredrivers" config.

~ - git clone git://git.openmoko.org/git/kernel.git linux-2.6
~ - git checkout origin/stable
~ - edit ./build to point to your compiler path
~ - cp defconfig-2.6.24 .config
~ - ./build

That gets you a uImage.bin you can DFU or copy into your SD Card filesystem.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkial1oACgkQOjLpvpq7dMr4fgCcDW3gW/SUfaSoeDF13HNo9nNh
QJcAniA7Jcmy1mZvuoTwJ0Ts0GKPV+lb
=BdM7
-----END PGP SIGNATURE-----




More information about the support mailing list