Problem building bootstrap image for mx31ads
Piero Pezzin
piero.pezzin at gmail.com
Tue Feb 24 15:41:48 UTC 2009
Hi Victor,
the kernel boot parameters are the following:
Kernel command line: root=/dev/nfs rw
nfsroot=192.168.0.8:/home/piero/work2/oe/build/tmp/rootfs
ip=192.168.0.121:19
2.168.0.8::255.255.255.0:qong:eth0:off panic=1 ethaddr=00:50:c2:1e:af:e7
console=mxcuart,0x43f90000,115200n8 jtag=on
I'm using the rootfs created with bitbake (it worked with another built I
did for a ep93xx based system). But I'll try following your suggestion.
I'll let you know.
Best Regards,
Piero
On Tue, Feb 24, 2009 at 4:29 PM, "Víctor M. Palacio Tárrega" <
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
>> 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
> 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/20090224/f4008e0d/attachment-0002.html>
More information about the Openembedded-users
mailing list