Gentoo on Beagle Board XM

Hey Guys,

I am trying to cross-compile Linux Kernel for Beagle Board XM in my
x86 machine. Searching in internet, I discovered that, I have
following linux kernel source code options, (http://www.omappedia.org/
wiki/Linux_OMAP_Kernel_Project)

a). Official linux kernel mainline (http://git.kernel.org/?p=linux/
kernel/git/torvalds/linux-2.6.git).
b). Linux-omap kernel (http://git.kernel.org/?p=linux/kernel/git/
tmlind/linux-omap-2.6.git).
c). TI integration line (http://dev.omapzoom.org/?p=integration/kernel-
omap3.git).

Please help me understand the following,
a). Best kernel to choose for Beagle Board XM for running Gentoo stage
3?
b). What kernel configuration should I be using? I am not aware of the
configuration to be used for Beagle Board XM while doing make
menuconfig. Is there are ready-made config file available which I
could use for cross-compiling kernel for XM?

Appreciate any help,

Thanks

Hey Guys,

I am trying to cross-compile Linux Kernel for Beagle Board XM in my
x86 machine. Searching in internet, I discovered that, I have
following linux kernel source code options, (http://www.omappedia.org/
wiki/Linux_OMAP_Kernel_Project)

a). Official linux kernel mainline (http://git.kernel.org/?p=linux/
kernel/git/torvalds/linux-2.6.git).

I think this is the right answer for the BeagleBoard, but you'll need
to pull in some patches from outside.

One place to pull patches from is Robert Nelson's Ubuntu/Debian
kernel. You can learn about Robert's Ubuntu kernel, which is
typically supportive of newer hardware updates and bug fixes than
Canonical's, at:
http://elinux.org/BeagleBoardUbuntu

The source code repository is at:

You can find the patches he manages at:
https://github.com/RobertCNelson/2.6.39-devel/tree/master/patches

Another place to pull patches from is OpenEmbedded. The current
recipe against 2.6.39 is at:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-omap_2.6.39.bb

With the recipes stored at:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-omap-2.6.39

The OpenEmbedded patches are the ones I personally use.

b). Linux-omap kernel (http://git.kernel.org/?p=linux/kernel/git/
tmlind/linux-omap-2.6.git).

You want to pay attention to that one as much of the staging work is
on-going there.

c). TI integration line (http://dev.omapzoom.org/?p=integration/kernel-
omap3.git).

Please help me understand the following,
a). Best kernel to choose for Beagle Board XM for running Gentoo stage
3?

I think the OpenEmbedded/Angstrom kernel gets the most users. The
Robert Nelson's Ubuntu kernel is worth considering if you want to back
up a version or two for stability. I'd give preference in making sure
you can manage the patch delta against mainline on your own as each
patch away from mainline makes it slightly more difficult to get
support.

b). What kernel configuration should I be using? I am not aware of the
configuration to be used for Beagle Board XM while doing make
menuconfig. Is there are ready-made config file available which I
could use for cross-compiling kernel for XM?

Check out omap2plus_defconfig as that is what is being pushed for all
of the OMAP2/3/DM3x/etc. devices in the future. Check out the
defconfigs in the OpenEmbedded links I gave you above.

Appreciate any help,

Thanks

Always anxious to help out another Gentoo user. Little known fact
I've been sharing lately: Gentoo was the first distribution running on
the BeagleBoard. I used it to cross-compile a small user space for
use on my BeagleBoard during initial bring-up. We next ran a pre-
built Maemo image before getting the first drop of Angstrom. Koen
sent me a prebuilt Angstrom image for Philip's software defined radio
effort based merely on the board specs. It was far more complete and
more functional than my hobbled Gentoo image, so I never went back.
Great to see Gentoo users/developers working on improving the
experience on the BeagleBoard, much like the Neuvoo/Gentoo users on
the OpenPandora.

Another fact I've shared several times, BeagleBoard.org runs on a
Gentoo machine. :slight_smile: