Tutorial for custom kernel building

29 views
Skip to first unread message

venki

unread,
Oct 28, 2010, 11:55:08 AM10/28/10
to Beagle Board
Hi,

Is there any tutorial for custom kernel building. Currently i am using
open embedded. But dont know how to customize kernel building.
Searched in google with no success. Please help...

Amit Mittal

unread,
Oct 28, 2010, 12:28:29 PM10/28/10
to beagl...@googlegroups.com
Hi,

I found below link very useful for custom kernel building and also
adding new driver to kernel.

http://wh1t3s.com/2009/05/11/oe-bitake-kernel-mods/

http://geekwentfreak.wordpress.com/2010/10/24/adding-a-new-kernel-module-to-linux-source-tree/

I hope it will help.

Amit

> --
> You received this message because you are subscribed to the Google Groups "Beagle Board" group.
> To post to this group, send email to beagl...@googlegroups.com.
> To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.
>

Rodrigo Oliveira

unread,
Oct 28, 2010, 2:13:27 PM10/28/10
to beagl...@googlegroups.com
Maybe it can help you a little: http://elinux.org/BeagleBoard#Linux_kernel

--
⠠⠵
--
|>> The CoRE v2.0 << |
Maior, melhor e... com cortes :p
}]| http://thecoreme.org/site |[{
--- Projects ---
-- http://thecoreme.org/blog/projects/ --
--

William C Bonner

unread,
Oct 28, 2010, 5:56:10 PM10/28/10
to beagl...@googlegroups.com
I was wondering how bad the kernel would be if I simply get http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.tar.bz2 and built it natively on my beagleboard system?

make distclean
make omap3_beagle_defconfig
make menuconfig
make uImage

I think I built a kernel that way a few weeks ago, but it didn't have drivers for some of the services that were already starting in my preconfigured system. I've since rebuilt my entire system several times  and am not connected to it right now.

Wim.

Dale Weber

unread,
Oct 28, 2010, 10:19:49 PM10/28/10
to beagl...@googlegroups.com
On Thursday, October 28, 2010 02:56:10 pm William C Bonner wrote:
> I was wondering how bad the kernel would be if I simply get
> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.tar.bz2 and built
> it natively on my beagleboard system?

I built a 2.6.32 kernel natively on my beagleboard today. Worked great!

8-Dale
--
Open your mind, Read, Learn, Think, Apply..
AllStar Node 2392 / EchoLink 541558 / 73, from N7PKT!
http://www.hybotics.com - NEW main site
Just because we can, does it follow that we should?

venki

unread,
Oct 29, 2010, 1:18:34 AM10/29/10
to Beagle Board
Hi Amit,

I think those links will be very useful for me... Thank you very much

On Oct 28, 9:28 pm, Amit Mittal <vicky.a...@gmail.com> wrote:
> Hi,
>
> I found below link very useful for custom kernel building and also
> adding new driver to kernel.
>
> http://wh1t3s.com/2009/05/11/oe-bitake-kernel-mods/
>
> http://geekwentfreak.wordpress.com/2010/10/24/adding-a-new-kernel-mod...
>
> I hope it will help.
>
> Amit
>

Tuxmanic

unread,
Oct 29, 2010, 7:30:34 AM10/29/10
to Beagle Board
I.ve a queation regarding your configuration ?

> make omap3_beagle_defconfig

I didnt find omap3_beagle_defconfig in arch/arm/configs of
linux-2.6.36 . So are you using the config from
http://lxr.free-electrons.com/source/arch/arm/configs/omap3_beagle_defconfig
?

Is the same (omap3_beagle_defconfig)can be used to xM or is there any
additions ?

ravi teja

unread,
Oct 29, 2010, 6:28:16 AM10/29/10
to beagl...@googlegroups.com
Hi venki,
      If you want to compile the kernel by hand without using tools like openembedded or bitbake. You can follow this link,


Just change the mini2440_defconfig to your particular board configuration.To populate your rootfs,


or 


Hi Amit,
         Thanks for referring my blog. Happy that it helped you.

Regards,
G. Ravi Teja,
IBM, Bangalore.
Reply all
Reply to author
Forward
0 new messages