[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Illegal instruction with sid and PXA270 (XSCALE)



Hi.

I created both a sarge and a sid rootfilesystem using
debootstrap as described in [1]. The host is a Debian sid / 32 bits.

$ debootstrap  --arch arm --foreign   sid /home/gumstix/COLIBRI/debian

When I try to run the second stage of the
 bootstrap, I get a "Illegal Instruction" error.
Let me explain myself better.

I did run Linux in this board using this kernel (and root over NFS):

$ Linux colibri 2.4.29-vrs1-pxa-intc4-col3 #1 Thu Dec 22 08:36:02 MET
2005 armv5tel unknown

When I  try to run ./debootstrap --second-stage
(booting with the ARM using the openembedded distro),
I get the following errors:

I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages..
W: Failure trying to run: chroot / /sbin/ldconfig

If I try to run the /sbin/ldconfig binary I get an
"Illegal instruction message", using both sarge and sid.

* What should I try?
* Is this a FAQ? (I've seen it a lot in google, but I didn't find
anything useful).
 Perhaps I have to rebuild glibc [3]. Should I?

And using a processor PXA270[2].
cpuinfo :

Processor       : XScale-Bulverde rev 4 (v5l)
BogoMIPS        : 311.29
Features        : swp half thumb fastmult edsp
CPU implementor : 0x69
CPU architecture: 5TE
CPU variant     : 0x0
CPU part        : 0x411
CPU revision    : 4
Cache type      : undefined 5
Cache clean     : undefined 5
Cache lockdown  : undefined 5
Cache unified   : harvard
I size          : 32768
I assoc         : 32
I line length   : 32
I sets          : 32
D size          : 32768
D assoc         : 32
D line length   : 32
D sets          : 32

Hardware        : Toradex Colibri Module
Revision        : 0000
Serial          : 0000010000000000

[1]http://lists.debian.org
/debian-arm/2005/04/msg00045.html
[2]http://www.toradex.com/e/Downloads_Colibri_Intel_XScale_PXA270_Midget_Intel_Pentium_M.php
[3]http://www.gnu.org/software/libc/FAQ.html#s- 1.18

Reply to: