[oe-users] OE Filesystem for at91rm9200ek board

Leonid Leonid at a-k-a.net
Fri Oct 19 08:08:46 UTC 2007


When I boot my card using another FS, mount my new FS via NFS and try to
chroot there, I get an error:

~ # mount -t nfs -onolock,rw,tcp
192.168.0.108:/tftpboot/leonid/ref/oe/nfs_root /mnt/
~ # chroot /mnt/
Illegal instruction
~ #

What can be a reason?

Thanks,

Leonid.

-----Original Message-----
From: openembedded-users-bounces at lists.openembedded.org
[mailto:openembedded-users-bounces at lists.openembedded.org] On Behalf Of
Leonid
Sent: Thursday, October 18, 2007 11:24 PM
To: openembedded-users at lists.openembedded.org
Subject: [oe-users] OE Filesystem for at91rm9200ek board

Hi:

I am new to OE and I started from checking out all OE stuff as
recommented in Getting Started section of the manual.

Then I prepared my local.conf file (attached). Major things there I
guess are distribution and machine coice and I followed here more
experienced folks' advice:

MACHINE = "sarge-at91"
...........................
DISTRO = "angstrom-2007.1"

My goal is to build minimal filesystem which has x-windows and at least
matchbox (or any other decent x-manager) running. So, I went to build
directory and ran "bitbake x11-image" which I figured is closest to what
I want.

Several questions:

1) Build took many hours to complete - it had >2800 tasks! Is there any
smaller x11-something image and smaller distro I can use? I realize I
can create any distro/target myself, tampering with .bb files, but I
thought it may be good to start with some pre-defined combination if I
can find one.

2) GCLIBC has been used to build everything; is it possible to switch to
uClibc and if yes where?

3) Here are the images I got:

[leonid at jaipur build]$ ls -al tmp/deploy/glibc/images/sarge-at91/
-rw-rw-r-- 1 leonid leonid 67108864 2007-10-18 19:30
Angstrom-x11-image-glibc-ipk-2007.9-test-20071019-sarge-at91.rootfs.ext2
-rw-rw-r-- 1 leonid leonid 15637135 2007-10-18 19:31
Angstrom-x11-image-glibc-ipk-2007.9-test-20071019-sarge-at91.rootfs.tar.
gz
-rw-rw-r-- 1 leonid leonid 31517112 2007-10-18 18:14
modules-2.6.21-r11-sarge-at91.tgz

Ext2 image I considered to use as a ramdisk (after converting to u-boot
image) but it's too big. So, I tried to unpack .tar.gz and use it as
NFS. Unfortunately it doesn't work - everything dies after kernel boot
and initial (successful) mount.

Here is serial console last output:

nput: Dell Dell USB Keyboard as /class/input/input1
input: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-at91-2
IP-Config: Complete:
      device=eth0, addr=192.168.0.205, mask=255.255.255.0,
gw=192.168.0.1,
     host=LM150, domain=, nis-domain=(none),
     bootserver=192.168.0.108, rootserver=192.168.0.108, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.108
Looking up port of RPC 100005/1 on 192.168.0.108
VFS: Mounted root (nfs filesystem).
Freeing init memory: 108K

Before I'll start to debug what is actually failing, is there something
quick I can try? Any ideas? 

Thanks,

Leonid.




More information about the Openembedded-users mailing list