[Qemu-devel] ARM CPU Speed simulated by Qemu?

2006-09-12 Thread Tieu Ma Dau
Hi all, I found that Qemu ARM system simulates ARM926EJ-S and ARM1026EJ-S processor. And I found on ARM website that the speed of these CPUs vary from 266 to 540 MHz. Could you tell me the exact speed of the ARM926EJ-S and ARM1026EJ-S processor simulated by Qemu? It's very important for me to

[Qemu-devel] add new LCD to ARM system?

2006-09-06 Thread Tieu Ma Dau
Hi all, I want to add a new LCD in ARM system simulated by Qemu. In fact, I used the address from 0x1b00 and the interrupt 11 for the added LCD. So my question is: From the point of view of hardwares simulated by Qemu, is it possible for me to do like that? If not, why? Thanks for any reply,

[Qemu-devel] count the number of instructions executed?

2006-09-05 Thread Tieu Ma Dau
Hi all, Do you have any ideas if I want to count the number of instructions executed from the moment of starting the system ? (in my case, I use ARM system) Best regards, Tieu All-new Yahoo! Mail - Fire up a more powerful email and get things done

[Qemu-devel] Asking about testing a character device on Qemu ARM system

2006-08-28 Thread Tieu Ma Dau
Hi all,I use Qemu to simulate ARM system. I add a simple LED device at IO portaddress 0x1b00 (because this address is marked "reserved" inIntegratorCP documentation). So I want to ask you the following questions:1. Is there any problem if I use address 0x1b00 for my new device?2. How can I

[Qemu-devel] Run Qemu ARM system without MMU (MMUless)

2006-08-25 Thread Tieu Ma Dau
Hi all, If I want to run Qemu ARM system to simulate a system without MMU (MMU less), how can I do? Thanks for your responses and best reagards, Tieu Stay in the know. Pulse on the new Yahoo.com. Check it out. ___ Qemu-devel mailing list

Re: [Qemu-devel] Run Qemu ARM system without MMU (MMUless)

2006-08-25 Thread Tieu Ma Dau
Thorsten Zitterell [EMAIL PROTECTED] wrote:according to target-arm/helper.c the MMU is enabled/disabled with coprocessor 15. if ((env-cp15.c1_sys 1) == 0) { /* MMU diusabled. */ *phys_ptr = address; *prot = PAGE_READ | PAGE_WRITE; } else { /* Pagetable

[Qemu-devel] Asking about testing new added device

2006-08-20 Thread Tieu Ma Dau
Hi all,I use Qemu to simulate ARM system. I add a simple LED device at IO portaddress 0x1b00 (because this address is marqued "reserved" inIntegratorCP documentation). So to test this LED device, I write an application and also a driverwhich use the function:outb(0x1b00, 65);But I can not

[Qemu-devel] asking about nfs server on Windows

2006-08-09 Thread Tieu Ma Dau
Hi all,In Windows, I use ProNFS to create a NFS server on my host; OpenVPN to create a TAP-Win32 Adapter. When I run Qemu to simulate ARM system by the following command:qemu-system-arm -kernel zImage.integrator -initrd arm_root.img -net nic,vlan=0 -net tap,vlan=0,ifname=my-tapAnd after that, in

[Qemu-devel] Running Qemu ARM using NFS on Windows

2006-08-08 Thread Tieu Ma Dau
Hi all,I ran successfully Qemu to simulate ARM system on Linux host with the following command:./qemu-system-arm -kernel zImage.integratorCP -append "root=/dev/nfs nfsroot=192.168.7.1:/mnt/nfsqemu rw ip=192.168.7.2::192.168.7.1:255.255.255.0 " -net nic,vlan=0 -net

[Qemu-devel] Running Qemu ARM using NFS on Windows

2006-08-07 Thread Tieu Ma Dau
Hi all,I ran successfully Qemu to simulate ARM system on Linux host with the following command:./qemu-system-arm -kernel zImage.integratorCP -append "root=/dev/nfs nfsroot=192.168.7.1:/mnt/nfsqemu rw ip=192.168.7.2::192.168.7.1:255.255.255.0 " -net nic,vlan=0 -net

[Qemu-devel] Adding a device into Qemu ARM

2006-07-27 Thread Tieu Ma Dau
Hi all, I'm running Qemu ARM system and Debian Sarge on it. I try to add a new device, for example a LED, into Qemu ARM system. And I think that I must do the following steps: 1. Make a file led.c which simulates this LED, edit the file vl.c and vl.h 2. In file integratorcp.c, function

[Qemu-devel] Insert module into kernel

2006-07-12 Thread Tieu Ma Dau
Hi all, I want to simulate the ARM system and add a simple simulated device with its corresponding module device driver. So: 1. I must run the command "insmod" to insert this module into kernel. But there is not this command in the ARM Linux shell 2. I must run the command "mknod" to make a file

[Qemu-devel] Simulated devices of Qemu?

2006-07-01 Thread Tieu Ma Dau
Hi all, Qemu can simulate ARM processor with Integrator/CP board and the devices below: Two PL011 UARTs, SMC 91c111 Ethernet adapter 1. Generally, how Qemu simulates these devices? It means on Qemu's code or these devices will be simulated automaticly by "portable dynamic translation"

[Qemu-devel] Qemu developement documentation?

2006-06-28 Thread Tieu Ma Dau
Hi all, I'm developping Qemu to simulate ARM processor and I also read the file qemu-tech.html in Qemu source code. But I don't understand very well the idea that Qemu simulates a (exp: x86) instruction. [quote]The basic idea is to split every x86 instruction into fewer simpler

Re: [Qemu-devel] Asking about IDE to develop Qemu

2006-06-23 Thread Tieu Ma Dau
d "QEMU_VERSION=0.8.1" into Project-Properties-C/C++ Include paths Symbols; but the error is still there. What can I do to fix this problem? Best regards, Thanh Christian MICHON [EMAIL PROTECTED] wrote: On 6/22/06, Tieu Ma Dau wrote: Hi all, I'm working a project which develops Qemu run

[Qemu-devel] Asking about IDE to develop Qemu

2006-06-22 Thread Tieu Ma Dau
Hi all, I'm working a project which develops Qemu running on MinGW/MSys but I don't know which IDE I should use to develop, to test, to debug Qemu source code: 1. I should use VC++ on Windows: in this case, I must configure VC++ to use mingw-gcc (in place of the default compiler of VC++. In

Re: [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 on Msys

2006-06-07 Thread Tieu Ma Dau
PROTECTED] wrote: On Tue, 2006-06-06 at 05:35 -0700, Tieu Ma Dau wrote: Hi All, I've compiled Linux kernel 2.6.16 with kgdb on Linux. And after that, I've tried to debug this kernel with Qemu 0.8.1 on Msys to simulate ARM Processor. In fact, I've run the command below: qemu-system-arm -kernel

Re: [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 onMsys

2006-06-07 Thread Tieu Ma Dau
ot? Or any another patches? Thanks so much and best regards. Thanh Kazu [EMAIL PROTECTED] wrote: Sent: Wednesday, June 07, 2006 4:56 PM Tieu Ma Dau wrote:I recently try the patch you recommend but I got the same result. In fact,after make this patch into Qemu source code 0.8.1,

[Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 on Msys

2006-06-06 Thread Tieu Ma Dau
Hi All,I've compiled Linux kernel 2.6.16 with kgdb on Linux. And after that, I've tried to debug this kernel with Qemu 0.8.1 on Msys to simulate ARM Processor. In fact, I've run the command below:qemu-system-arm -kernel myKernel -initrd arm_root.img -sBut I can't make the

Re: [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 on Msys

2006-06-06 Thread Tieu Ma Dau
] wrote: On Tue, 6 Jun 2006 05:35:13 -0700 (PDT)Tieu Ma Dau wrote: Hi All, I've compiled Linux kernel 2.6.16 with kgdb on Linux. And after that, I've tried to debug this kernel with Qemu 0.8.1 on Msys to simulate ARM Processor. In fact, I've run the command below: qemu-system-arm -kernel myKernel

Re: [Qemu-devel] Ask for debugging linux kernel with Qemu 0.8.1 on Msys

2006-06-06 Thread Tieu Ma Dau
2006 05:35:13 -0700 (PDT) Tieu Ma Dau wrote: Hi All,I've compiled Linux kernel 2.6.16 with kgdb on Linux. And after that, I've tried to debug this kernel with Qemu 0.8.1 on Msys to simulate ARM Processor. In fact, I've run the command below: qemu-system-arm -kernel myKernel -initrd ar

[Qemu-devel] Qemu on Windows to simulate ARM processor?

2006-06-01 Thread Tieu Ma Dau
Hi all,I've compiled qemu 8.0 using msys 1.0.11 + MinGW 5.0.0 + zlib + SDL 1.2.8 and when executing qemu (on msys console and also on Windows console) without graphic (option "-nographic"), I've got the error: "qemu: could not open device monitor 'stdio'". But when I use graphic, the