[oe] Openembedded for AVR32

Robert Wörle robert at linuxdevelopment.de
Thu Oct 23 11:38:12 UTC 2008


   I had similar issues once.
   To me it was the problem that my busybox was not compiled with a
   compatible toolchain then the kernel.
   I used to compile the kernel via atmels but my rootfs was done by oe.
   Atmel by then already used uclibc-0.9.29 where oe was still using
   0.9.28 ..
   Alex Raimondi schrieb:

Hi,

Does OE for AVR32 really work?

I had a working version about two month ago from the monotone repository.

For about three weeks we try to get it running from the latest monotone reposito
ry and after the
transition to git from the latest git.

Just as of this morning I grabbed a fresh new clone from the git repository.

OE does compile (minimal-image). But I can't boot the image.

This is what I found out.

** Kernel **
OE Kernel does boot. We included a newer version (2.6.25.10) into OE with our ow
n patches. This version does boot as well.
Tested on ATNGW100 and our own hardware.

** rootfs **
Rootfs is mounted via NFS. From the server logs I can see, that the filesystem a
ctually is mounted. See the last lines from my bootlog:

------
at32ap700x_rtc at32ap700x_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC
 (0)
Sending DHCP requests ., OK
eth0: link up (10/Half)
IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.151
IP-Config: Complete:
     device=eth0, addr=192.168.1.151, mask=255.255.255.0, gw=192.168.1.1,
     host=dhcppc1, domain=, nis-domain=(none),
     bootserver=192.168.1.1, rootserver=192.168.1.150, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.150
Looking up port of RPC 100005/1 on 192.168.1.150
VFS: Mounted root (nfs filesystem).
Freeing init memory: 76K (90000000 - 90013000)
init[1]: segfault at 00000008 pc 2aaac620 sp 7f931f40 ecr 24
init has generated signal 11 but has no handler for it
Kernel panic - not syncing: Attempted to kill init!
-------

There is always a signal 11 in init (seg fault).

** init **
We tried different init.
 - OE default sysvinit => segfault
 - Busybox init => segfault
 - No init => kernel tries to load sh => segfault
 - Our own "hello world" app (compiled outside of OE) => segfault

Can anyone confirm that OE for AVR32 does work?
How can we debug and fix this problem?

Thanks

Alex



_______________________________________________
Openembedded-devel mailing list
[1]Openembedded-devel at lists.openembedded.org
[2]http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


   --

   Robert Woerle
   Linux Development
   phone:  +49 (0)821 4442253
   mobile: +49 179 4744527
   email:  [3]robert at linuxdevelopment.de
   web:    [4]http://www.linuxdevelopment.de
   UStNr.

   102/289/51264

   This e-mail message and any files transmitted with it are confidential
   property  and are intended only for the person(s) to whom this e-mail
   is addressed.  If you have received this e-mail message in error,
   please notify the sender immediately by telephone or e-mail and destroy
   the original message without making a copy. Thank you.

References

   1. mailto:Openembedded-devel at lists.openembedded.org
   2. http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
   3. mailto:robert at linuxdevelopment.de
   4. http://www.linuxdevelopment.de/



More information about the Openembedded-devel mailing list