Help needed to build kernel for beagleboard

Hi All,

I am very new to linux can you please help me to configure my kernel
to beagleboard.

I dowloaded the kerne from the following git path

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

But i am not able to find any defconfig for beagleboard can some body
help me how to configure this kernel to beagleboard

Thanks.....

Hi Rajesh,
     I would recommend that you start with the linux kernels that are
int he openembedded git tree. Here is a link to the openembedded
getting started guide. http://wiki.openembedded.net/index.php/Getting_started
Openembedded and bitbake will allow you to compile the kernel and the
rootfs that you need for the beagleboard. Once you get the repository
the path to the current kernel "recipe" should be something like "oe/
openembedded.org/reciples/linux/linux-psp-omap_2.6.32.bb" When this
recipe is run "bitbake linux-omap-psp" it should compile the kernel
and the source will be located at "oe/tmp/work/beagleboard-linux-
gnueabi/linux-psp-omap......./git/....sources...." I hope that helps.
Colin

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com]
On Behalf Of rajesh
Sent: Saturday, October 02, 2010 1:16 AM
To: Beagle Board
Subject: [beagleboard] Help needed to build kernel for beagleboard

Hi All,

I am very new to linux can you please help me to configure my kernel
to beagleboard.

I dowloaded the kerne from the following git path

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

But i am not able to find any defconfig for beagleboard can some body
help me how to configure this kernel to beagleboard

make omap3_beagle_defconfig

> From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com]
> On Behalf Of rajesh
> Sent: Saturday, October 02, 2010 1:16 AM
> To: Beagle Board
> Subject: [beagleboard] Help needed to build kernel for beagleboard

> Hi All,

> I am very new to linux can you please help me to configure my kernel
> to beagleboard.

> I dowloaded the kerne from the following git path

> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

> But i am not able to find any defconfig for beagleboard can some body
> help me how to configure this kernel to beagleboard

make omap3_beagle_defconfig

The beagle defconfig got disappeared for 2.6.36, omap3_defconfig seems
to work ok.

There will probably be a warning like below, seems safe to ignore.
Maybe someone can clarify, should beagleboard have USB_GADGET_OMAP or
USB_GADGET_MUSB_HDRC?
omap3_beagle_defconfig from 2.6.35 says MUSB_HDRC.

$ make ARCH=arm omap3_defconfig
warning: (USB_MUSB_HDRC_HCD && USB_SUPPORT && USB_MUSB_HDRC &&
(USB_MUSB_HOST || USB_MUSB_OTG) && USB_GADGET_MUSB_HDRC ||
USB_MUSB_OTG && <choice> && USB && USB_GADGET && PM && EXPERIMENTAL)
selects USB_OTG which has unmet direct dependencies (USB_GADGET_OMAP
&& ARCH_OMAP_OTG && USB_OHCI_HCD)

The beagle defconfig got disappeared for 2.6.36, omap3_defconfig seems
to work ok.

What tree are you using. I am using the omap tree from kernel.org and
do not see a omap3_defconfig

The only omap ones i see are

./arch/arm/configs/omap_osk_5912_defconfig
./arch/arm/configs/omap_generic_1710_defconfig
./arch/arm/configs/omap_h2_1610_defconfig
./arch/arm/configs/omap_innovator_1510_defconfig
./arch/arm/configs/da8xx_omapl_defconfig
./arch/arm/configs/omap2plus_defconfig
./arch/arm/configs/omap_innovator_1610_defconfig
./arch/arm/configs/omap_generic_1610_defconfig
./arch/arm/configs/omap_generic_1510_defconfig
./arch/arm/configs/omap_perseus2_730_defconfig

Does anyone know why the beagle config was removed??

The beagle defconfig got disappeared for 2.6.36, omap3_defconfig seems
to work ok.

What tree are you using. I am using the omap tree from kernel.org and
do not see a omap3_defconfig

The only omap ones i see are

./arch/arm/configs/omap_osk_5912_defconfig
./arch/arm/configs/omap_generic_1710_defconfig
./arch/arm/configs/omap_h2_1610_defconfig
./arch/arm/configs/omap_innovator_1510_defconfig
./arch/arm/configs/da8xx_omapl_defconfig

./arch/arm/configs/omap2plus_defconfig

It's ^^ this one now.. :wink:

./arch/arm/configs/omap_innovator_1610_defconfig
./arch/arm/configs/omap_generic_1610_defconfig
./arch/arm/configs/omap_generic_1510_defconfig
./arch/arm/configs/omap_perseus2_730_defconfig

Does anyone know why the beagle config was removed??

Linus was getting tired of too many config's changes for arm... so
they are being combined where possible..

Regards,

It's ^^ this one now.. :wink:

> ./arch/arm/configs/omap_innovator_1610_defconfig
> ./arch/arm/configs/omap_generic_1610_defconfig
> ./arch/arm/configs/omap_generic_1510_defconfig
> ./arch/arm/configs/omap_perseus2_730_defconfig

So any of those should do?

NO... those won't work at all for the beagle...

use: omap2plus_defconfig

Regards,