Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread wangji
Khi Thứ bảy 09 Tháng chín 2006 8:00 chiều, Stefan Weil viết: > > Busybox statically or dynamically linked? > > > > Which toolchain? > > > > Dirk > > Hello Dirk, > > here is my working configuration: > > host tools: > gcc-Version 3.3.6 (Debian 1:3.3.6-13) > > cross tools (mipsel): > gcc with patches

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread Stefan Weil
> Busybox statically or dynamically linked? > > Which toolchain? > > Dirk > Hello Dirk, here is my working configuration: host tools: gcc-Version 3.3.6 (Debian 1:3.3.6-13) cross tools (mipsel): gcc with patches from OpenWrt: mipsel-linux-gcc (GCC) 3.4.5 (OpenWrt-2.0) GNU binutils version 2.16.1

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread wangji
Khi Thứ bảy 09 Tháng chín 2006 9:16 Sáng, Dirk Behme viết: > > So, maybe a toolchain (glibc?) issue? you are certaily right, doing the same "compile hello.c,and cont on gdb session " but with mipsel-uclibc works fine !!! I did all that from my scratchboxmulticpu-2.3 _

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread wangji
Khi Thứ bảy 09 Tháng chín 2006 9:16 Sáng, Dirk Behme viết: > Dirk > > Btw: Do you can connect and then step/continue with gdb to > qemu-mipsel? alas ! no ! cont on gdb_session gives : [sbox-mipselglibc: ~] > qemu-mipsel -g 1234 hello qemu: unhandled CPU exception 0x10002 - aborting pc=0x004001a8

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread Dirk Behme
Stefan Weil wrote: Dirk Behme schrieb: Hi, anybody with success using little endian MIPS user space emulation qemu-mipsel? I try to run a simple hello world example using recent QEMU snapshot. It crashes with "qemu: unhandled CPU exception 0x1a - aborting". For more details see below. Doing th

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-09 Thread Dirk Behme
wangji wrote: Seems to me that it gets a wrong jump address via gp in t9: 0x401fa00c: lw t9,-32600(gp) ... 0x401fa01c: jalr t9 ... yes,I got similar error,but if I "static" compile then everything looks ok ! Thanks for the hint! static works for me as well. So, maybe a toolchain (g

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-08 Thread wangji
Khi Thứ sáu 08 Tháng chín 2006 6:35 chiều, Dirk Behme viết: > Hi, > > anybody with success using little endian MIPS user space > emulation qemu-mipsel? I try to run a simple hello world > example using recent QEMU snapshot. It crashes with "qemu: > unhandled CPU exception 0x1a - aborting". For more

Re: [Qemu-devel] MIPS little endian user space emulation

2006-09-08 Thread Stefan Weil
Dirk Behme schrieb: > Hi, > > anybody with success using little endian MIPS user space emulation > qemu-mipsel? I try to run a simple hello world example using recent > QEMU snapshot. It crashes with "qemu: unhandled CPU exception 0x1a - > aborting". For more details see below. Doing the same with

[Qemu-devel] MIPS little endian user space emulation

2006-09-08 Thread Dirk Behme
Hi, anybody with success using little endian MIPS user space emulation qemu-mipsel? I try to run a simple hello world example using recent QEMU snapshot. It crashes with "qemu: unhandled CPU exception 0x1a - aborting". For more details see below. Doing the same with ARM compiler and qemu-arm