qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] Testing a kernel image on QEMU using leon3 cpu


From: Erick Sousa
Subject: [Qemu-discuss] Testing a kernel image on QEMU using leon3 cpu
Date: Thu, 31 May 2012 11:16:15 -0300

Hello everyone,

I'm trying to test a linux kernel image which was built using Gaisler Toolchain, but I'm having some issues.
When I try running the qemu-sparc simulator, I get the following error:
Command Line: ./qemu-system-sparc -kernel newimg -nographic

[sparc] Kernel already loaded
switching to new context:
Unhandled Exception 0x00000002
PC = 0x00004000 NPC = 0x00004004
Stopping execution

If I select leon3 as the CPU, another error occurs:

qemu: fatal: Trap 0x02 while interrupts disabled, Error state
pc: 00000000  npc: 00000004
General Registers:
%g0-7: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Current Register Window:
%o0-7: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
%l0-7: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
%i0-7: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 

Floating Point Registers:
%f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
psr: f30000c0 (icc: ---- SPE: SP-) wim: 00000001
fsr: 00080000 y: 00000000

Does anyone have any idea of what I'm doing wrong? As you can see, I'm very lost. 
Any help will be greatly appreciated!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]