All of lore.kernel.org
 help / color / mirror / Atom feed
* Openembedded for AVR32
@ 2008-10-22 13:01 Alex Raimondi
  2008-10-22 16:05 ` Koen Kooi
  2008-10-23 11:38 ` Robert Wörle
  0 siblings, 2 replies; 4+ messages in thread
From: Alex Raimondi @ 2008-10-22 13:01 UTC (permalink / raw)
  To: openembedded-devel

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 repository 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 own 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 actually 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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Openembedded for AVR32
  2008-10-22 13:01 Openembedded for AVR32 Alex Raimondi
@ 2008-10-22 16:05 ` Koen Kooi
  2008-10-23  7:51   ` Alex Raimondi
  2008-10-23 11:38 ` Robert Wörle
  1 sibling, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2008-10-22 16:05 UTC (permalink / raw)
  To: openembedded-devel

On 22-10-2008 15:01, Alex Raimondi wrote:
> Hi,
>
> Does OE for AVR32 really work?

It does work if you use DISTRO=angstrom-2008.1

regards,

Koen

>
> 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 repository 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 own 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 actually 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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Openembedded for AVR32
  2008-10-22 16:05 ` Koen Kooi
@ 2008-10-23  7:51   ` Alex Raimondi
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Raimondi @ 2008-10-23  7:51 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel

Koen Kooi wrote:
>> Does OE for AVR32 really work?
>
> It does work if you use DISTRO=angstrom-2008.1
>
My local.conf has the following entries:

TARGET_OS = "linux-uclibc"
DISTRO = "angstrom-2008.1"
ANGSTROM_MODE = "uclibc

My minimal-image does not boot. Still segfault at init....
I am suspecting a library problem.

Could you send me a tar of a minimal-image rootfs, please?

The OE kernel does boot if we use a rootfs generated e.g. with atmel
buildroot.
OE rootfs has the same problem with all kernels compiled in all
different ways..

Any other hints?

Alex
>>
>> 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 repository 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 own 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 actually 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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Openembedded for AVR32
  2008-10-22 13:01 Openembedded for AVR32 Alex Raimondi
  2008-10-22 16:05 ` Koen Kooi
@ 2008-10-23 11:38 ` Robert Wörle
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Wörle @ 2008-10-23 11:38 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel

   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@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@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@lists.openembedded.org
   2. http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
   3. mailto:robert@linuxdevelopment.de
   4. http://www.linuxdevelopment.de/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-23 11:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 13:01 Openembedded for AVR32 Alex Raimondi
2008-10-22 16:05 ` Koen Kooi
2008-10-23  7:51   ` Alex Raimondi
2008-10-23 11:38 ` Robert Wörle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.