Problem building bootstrap image for mx31ads
Piero Pezzin
piero.pezzin at gmail.com
Wed Feb 25 10:23:58 UTC 2009
Hi Victor.
Thank you very much for your help, I'll try your advice as soon as possible.
I'm using Qong, but from DAVE (www.dave.eu/qong.html), not Denx ;-)
I tried ELDK 4.2 for ARM11, it works very well and it offers full VFP
support. I think it's a good solution (better than LTIB...) Unfortunately it
lacks some packages I need...
I'll write soon (if it works, I'll post a Qong recipe... ;-)).
Best Regards,
Piero
On Wed, Feb 25, 2009 at 11:09 AM, "Víctor M. Palacio Tárrega" <
victorpalacio at adtelecom.es> wrote:
> Hi Piero,
>
> Perhaps you're right, and this problem is related to init(see below).
>
> ***********
> file
> ~/nfs_dirs/Angstrom-multimedia-xterminal-image-glibc-ipk-2008.1-test-20081211-mx31ads/sbin/init.sysvinit
>
>
> ELF 32-bit LSB executable, ARM, version 1 (SYSV), **for GNU/Linux 2.6.14**,
> dynamically linked (uses shared libs), stripped
> ************
>
> If this helps, I'm building 'Angstrom' distro, instead of 'generic', and
> baking a xterminal-image with it. You could do a try with ansgtrom and
> xterminal-image.
>
>
> I assume you are using a QONG Module from Denx. Have you tried ELDK for
> ARM?
>
> Off the record... Don't forget to upload your mx31ads kernel recipes, if
> it's working.
>
> Regards,
>
>
>
> Piero Pezzin escribió:
>
>> 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 <mailto: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>
>> <mailto: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>
>> <mailto: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>
>> <mailto: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
>> <mailto: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> <http://www.adtelecom.es/>
>>
>>
>>
>> _______________________________________________
>> 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/cb724390/attachment-0002.html>
More information about the Openembedded-users
mailing list