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

Bug#489019: Vortex86SX chip



Once again, what is the kernel of your TARGET system, i.e. on Vortex86SX chip. Is it really 2.6.25.5 with FPU emulation enabled ?
Yes, the kernel for the TARGET system is 2.6.25.5 from Kernel.org with no patches and with FPU emulation enabled.

Or 2.6.25.5 is version available on the system, where you are building packages ?
How did you installed debian/libraries to the TARGET system.
By dpkg -i, or by copying some files ?
I prepared the whole target system by copying files, using my custom built busybox binary.


As far as I know, there are only 3 userspace instruction added by i486
compared to i386 - CMPXCHG, XADD, BSWAP.
Are they supported by Vortex86SX chip ?

Please, compile and run code bellow on Vortex86SX chip.

Also you can try to

1) create on your Vortex86SX system sarge chroot by debootstrap,
  i.e in /sarge by standard debian tools. This way you shoul get clean,
  standard debian environment.

2) point /etc/apt/sources.list to sarge, install gdb in /sarge

3) copy created /sarge chroot to /lenny

4) point /etc/apt/sources.list to lenny and try to upgrade


Petr

****************************

int main()
{
 int eax, mem;

 __asm__ __volatile__(
   "bswap %0\n\t"
   "cmpxchg  %0,%1\n\t"
   "xadd %0,%1"
                :"=r" (eax)
                :"m" (mem), "0" (eax)
                :"memory");

}




Reply to: