Problem building bootstrap image for mx31ads
Piero Pezzin
piero.pezzin at gmail.com
Wed Feb 25 09:33:41 UTC 2009
Hello Victor.
My configuration is similar to yours: kernel derived from the Freescale one
and rfs from OE. I modified the .bb files to retrieve the tar.gz kernel
sources from my filesystem and the kernel builds perfectly (the original .bb
file tries to compile 2.6.19 kernel downloading 2.6.18 and applying a big
patch (and it fails...), while I need 2.6.22.2 version).
As you can guess, I'm not working on a "real" mx31ads board..
So you have a working rfs? If you run "file" on your init, does it tell it's
for 2.4 kernel?
Regards,
Piero
If you run
On Wed, Feb 25, 2009 at 10:25 AM, "Víctor M. Palacio Tárrega" <
victorpalacio at adtelecom.es> wrote:
> Hi Piero,
>
> I had plenty of problems with mx31ads kernel from OE. Have you tried kernel
> from LTIB instead?
>
> My actual deployment is kernel from LTIB and rootfilesystem from OE. I
> looking forward for having free time to port the LTIB kernel to OE.
>
> Regards,
>
>
>
> Piero Pezzin escribió:
>
>> Hello Victor,
>>
>> I untarred the file containg the rfs, but I get the same issue. I'm now
>> rebuilding the bootstrap-image task on another system (centos 4.4 on x86-64
>> machine) to see what comes out. I expect, at least, files built for the 2.6
>> kernel...
>>
>> Any advice will be greatly appreciated.
>>
>> Best Regards,
>>
>> Piero
>>
>> On Tue, Feb 24, 2009 at 4:29 PM, "Víctor M. Palacio Tárrega" <
>> victorpalacio at adtelecom.es <mailto:victorpalacio at adtelecom.es>> wrote:
>>
>> Hi Piero,
>>
>> Early guess...
>>
>> Have you untar'd a tar file containing root filesystem (i.e.
>>
>> tmp/deploy/glibc/images/Angstrom-xterminal-image-glibc-ipk-2008.1-test-20081015-mx31ads.rootfs.tar.gz)
>> and exporting the result as NFS? or are you using rootfs directory
>> created with bitbake?
>>
>> The correct way is the first one!
>>
>> Regards,
>>
>> Piero Pezzin escribió:
>>
>> Hi all,
>>
>> I have successfully run the bootstrap-image task for the
>> mx31ads machine. When I try to load the root file system via
>> NFS, I get the following error:
>>
>> [ 4.510000] Looking up port of RPC 100005/1 on 192.168.0.8
>> [ 4.530000] VFS: Mounted root (nfs filesystem).
>> [ 4.530000] Freeing init memory: 128K
>> [ 4.630000] Kernel panic - not syncing: Attempted to kill init!
>> [ 4.630000] Rebooting in 1 seconds..
>>
>> If I try to run the file command on the init file included in
>> the rfs, I see that it's built for the 2.4 kernel:
>>
>> piero at piero-laptop:~/work2/oe/build/tmp/rootfs/sbin$ file
>> init.sysvinit
>> init.sysvinit: ELF 32-bit LSB executable, ARM, version 1, for
>> GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped
>>
>> In my local.conf I have set the MACHINE="mx31ads" and
>> DISTRO="generic" variables. I'm working on a ubuntu 8.04
>> machine and I have customized the .bb files to compile the
>> 2.6.22.2 kernel that I need to use (instead of the 2.6.18
>> originally included in the .bb recipe).
>>
>> Am I missing something? Can someone kindly help me understand
>> what's happening?
>>
>> Thanks in advance.
>>
>> Piero
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Openembedded-users mailing list
>> Openembedded-users at lists.openembedded.org
>> <mailto:Openembedded-users at lists.openembedded.org>
>>
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>>
>>
>>
>> --
>> //*Víctor M. Palacio Tárrega*//
>>
>>
>>
>> _______________________________________________
>> Openembedded-users mailing list
>> Openembedded-users at lists.openembedded.org
>> <mailto:Openembedded-users at lists.openembedded.org>
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Openembedded-users mailing list
>> Openembedded-users at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>>
>>
>
>
> --
>
> //*Víctor M. Palacio Tárrega*//
>
>
>
>
>
>
> c/ Camí de la pelleria 12
>
> 08915. Badalona
>
> telf: + 34 663 978 885
>
> www.adtelecom.es <http://www.adtelecom.es/>
>
>
>
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20090225/4b6d1959/attachment-0002.html>
More information about the Openembedded-users
mailing list