adding kernel to buildroot?

Nathanael D. Noblet nathanael at gnat.ca
Fri Oct 21 06:57:41 UTC 2005


On Fri, 2005-10-21 at 01:15 -0400, Mike Frysinger wrote:
> On Thursday 20 October 2005 11:45 pm, Mark Shelby wrote:
> > Using 'make menuconfig' I selected the 2.6.11 kernel and chose to install
> > the headers. Problem: The build was successful, but I do not find a kernel
> > image on my new system anywhere. Shouldn't there be a 'bzImage' or a
> > 'vmlinuz' somewhere?
> 
> no, buildroot only asks for the kernel version to select the correct headers 
> to build the packages against
> 
> > I need the kernel image so that my usb mouse will work.
> 
> so build one yourself, buildroot does not provide for building an actual 
> kernel at this time

Sure it does. You can add a target device and create a kernel from
there. I've been working on a system which has successfully booted
2.6.12,2.6.13(-.4),2.6.14-rc4 and 2.4.31. If you simply want to add a
kernel, I would suggest looking at the Via/epia-mii, I also am getting
ready some patches to create a Via/epia target. Though you may not need
all of it, it'll show you how to add & build a kernel. If you want the
patches to see what needs to be added for this to work, just let me
know.

I should also note, that the current svn Via target fails to build the
linux target because of a line ordering problem. If you want to test it
out, you'll have to manually edit the Via/Makefile.in file and swap the
TARGETS+=linux and include lines. Something change someplace and it
stopped building the kernel.

-- 
Nathanael D. Noblet
Gnat Solutions, Inc
http://www.gnat.ca/
T 250.385.4613
C 250.383.4613




More information about the uClibc mailing list