On Tue, 20 May 2008, Sergiy Fefilatyev wrote:
> for me rebuild command did not produce the right results
I had problems with kernel compiles too.
After googling and trying some bitbake commands, I noticed that you can't
(re)compile the kernel with 'bitbake -c rebuild gumstix-kernel' --
'rebuild' will download and unpack a fresh kernel source and then copy the
file:
gumstix-oe/com.gumstix.collection/packages/linux/gumstix-kernel-2.6.21/gumstix-custom-verdex/defconfig
to the file (assuming a uclibc target system and linux kernel version
2.6.21):
gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-uclibcgnueabi/gumstix-kernel-2.6.21-r1/linux-2.6.21/.config
So, if you use 'bitbake gumstix-kernel -c rebuild' after a linux kernel
menuconfig (using 'bitbake gumstix-kernel -c menuconfig'), your kernel
.config file (path above) will have been overwritten by Gumstix Inc's
default file (the .../defconfig file (see 11 lines above))
To avoid this problem, I did the following;
bitbake gumstix-kernel -c menuconfig
bitbake gumstix-kernel -f -c compile
bitbake gumstix-kernel
bitbake -c rebuild task-base-gumstix
bitbake -c rebuild gumstix-directfb-image
(replace gumstix-directfb-image with your preferred image name)
The '-f' is used to force a '-c compile'.
>
> On Tue, May 20, 2008 at 3:21 PM, Mark Barton <
mark@...> wrote:
>
>> Mike Caruso wrote:
>>> Hello list,
>>> I was wondering if anybody knew how to build a custom kernel for a
>>> Verdex running Open Embedded? I have a USB Ethernet adapter I'd like
>>> to get working on my Verdex, it uses the RTL8150 driver. My first
>>> thought was to try and add it to gumstix-custom-verdex.conf, but
>>> wouldn't you need to enable it in the kernel config first so that it
>>> knows to build that module? I found what appears to be the kernel
>>> config in:
[snip]
/Mathias
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users