I was attempting to run fiasco built for CortexA9/realview-pbx board on qemu.
"qemu-system-arm" version used for this experimentation is "QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5)"
L4 Code used "l4re-core-2011020417" with hello world example.
Below are the messages which i got when i tried to run fiasco on qemu - 1st set of logs
I tried to comment the check inside Board_check::check_board() in the hope that it might boot up, but later i got crash for qemu (hw mismatch ?) - 2nd set of logs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ L4 msgs specifying invalid sys id~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
novino@naveen-linux:~/L4/l4re-core-2011020417/src/l4/mybuild-realview-pbx-a9/images$ qemu-system-arm -M realview-pbx-a9 -cpu cortex-a9 -kernel bootstrap_hello.elf -m 256 -nographic -net nic -net user
........some messages .....
Stopping.
~~~~~~~~~~~~~~~~~~~ L4 msgs after modifying Board_check::check_board() ~~~~~~~~~~~~~~~~~~~~~~~~
novino@naveen-linux:~/L4/l4re-core-2011020417/src/l4/mybuild-realview-pbx-a9/images$ qemu-system-arm -M realview-pbx-a9 -cpu cortex-a9 -kernel bootstrap_hello.elf -m 256 -nographic -net nic -net user
L4 Bootstrapper
Build: #3 Thu Feb 10 19:06:41 MVT 2011, 4.5.1
Scanning up to 256 MB RAM
Memory size is 256MB (00000000 - 10000000)
RAM: 0000000000000000 - 000000000fffffff: 262144kB
Total RAM: 256MB
mod04: 010d3000-010f4450: hello
mod03: 010b1000-010d2488: l4re
mod02: 01073000-010b066c: moe
mod01: 01061000-01072304: sigma0
mod00: 01015000-010608f8: fiasco
Moving 5 modules to 1100000 with offset eb000
moving module 05 { 10d3000-10f4450 } -> { 11be000-11df450 }
moving module 04 { 10b1000-10d2488 } -> { 119c000-11bd488 }
moving module 03 { 1073000-10b066c } -> { 115e000-119b66c }
moving module 02 { 1061000-1072304 } -> { 114c000-115d304 }
moving module 01 { 1015000-10608f8 } -> { 1100000-114b8f8 }
Scanning fiasco
Scanning sigma0
Scanning moe --init=rom/hello
Relocated mbi to [0x100f000-0x100f0d6]
Loading fiasco
Loading sigma0
Loading moe
find kernel info page...
found kernel info page at 0x2000
Regions of list regions
[ 1000, 19ff] { a00} Kern fiasco
[ 2000, 5cfff] { 5b000} Kern fiasco
[ 90000, 9e193] { e194} Sigma0 sigma0
[ 140000, 18b48b] { 4b48c} Root moe
[ 1000000, 10143eb] { 143ec} Boot bootstrap
[ 100f000, 100f1d3] { 1d4} Root Multiboot info
[ 119c000, 11df44f] { 43450} Root Modules Memory
API Version: (87) experimental
Sigma0 config ip:00090000 sp:01013044
Roottask config ip:00140088 sp:00000000
Starting kernel fiasco at 00001000
Cache config: ON
Realview System ID: Rev=0 HBI=178 Build=0 Arch=5 FPGA=00
<<Commented>> Invalid System ID for this kernel config
Expected (01780500 & ffffff00) == 1182f500
Stopping.
Hello from Startup::stage2
Initialize page table
Number of IRQs available at this GIC: 96
Number of IRQs available at this GIC: 32
Vmem_alloc::init()
qemu: fatal: Unimplemented cp15 register write (c9, c14, {0, 0})
R00=00000000 R01=00000000 R02=80000000 R03=00000001
R04=f00487b0 R05=00054004 R06=00215406 R07=00115406
R08=00015406 R09=00002000 R10=00000000 R11=0100f058
R12=ffffffff R13=f0048670 R14=f005bd3c R15=f005bd28
PSR=a00001d3 N-C- A svc32
Aborted
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~end of msgs ~~~~~~~~~~~~~~~~~~~~~~~~