simualting KZM using Qemu

2 messages Options
Embed this post
Permalink
aparna

simualting KZM using Qemu

Reply Threaded More More options
Print post
Permalink
Hello,

I am using okl4_2.1. I want to build and simulate for machine KZM. I run the command
 ./tools/build.py machine=kzm_arm11 project=iguana  verbose_str=True simulate
All the images .elf .sim and .boot are built but there is some error in simulation "Can't open tools/unittest/kzm-boot.sh".
If I understand correctly from wiki, Qemu 0.9.1 can be used to simulate wiki. I have downloaded and built Qemu with the configuration option :
./configure --target-list=arm-softmmu --disable-sdl --static --disable-gfx-check
make
However qemu-system-arm -M ? does not give kzm as an option. (I am using gcc 4.2.4).
Please help.

Also when I try to build l4 with linux
 ./tools/build.py machine=kzm_arm11 project=iguana  verbose_str=True wombat=yes simulate
it says
projects/iguana/SConstruct:634 Error: OKLINUX_DIR: linux: does not exist

Could you please let me know where I am going wrong?

Thanks
Aparna
Gabi Voiculescu

Re: simualting KZM using Qemu

Reply Threaded More More options
Print post
Permalink


--- On Thu, 10/15/09, aparna <[hidden email]> wrote:

From: aparna <[hidden email]>
Subject: [okl4-developer] simualting KZM using Qemu
To: [hidden email]
Date: Thursday, October 15, 2009, 9:16 AM


Hello,

I am using okl4_2.1. I want to build and simulate for machine KZM. I run the
command
./tools/build.py machine=kzm_arm11 project=iguana  verbose_str=True
simulate
All the images .elf .sim and .boot are built but there is some error in
simulation "Can't open tools/unittest/kzm-boot.sh".
This is a problem caused by the okl4 build scripts.
Go to tools/simulators.py and change entry for kzm_sim.
The okl4 guys did not make the tools/unittest/ folders publicly available.

If I understand correctly from wiki, Qemu 0.9.1 can be used to simulate
wiki. I have downloaded and built Qemu with the configuration option :
./configure --target-list=arm-softmmu --disable-sdl --static
--disable-gfx-check
make
However qemu-system-arm -M ? does not give kzm as an option. (I am using gcc
4.2.4).

A possible explanation is that you have more than one qemu set up on your linux box. Ubuntu comes with it's own qemu which does not support kzm (but has a qemu-system-arm).

You need to take into account that make (if it completes without errors) will generate in arm-softmmu/ the qemu-system-arm of your choice. BUT it is not available throughout the linux box yet. Only after you symlink it in /usr/local/bin or add it to your bashrc. $PATH.

Here is how it looks on my end after I build this qemu and create a symlink to arm-softmmu/qemu-system-arm in /usr/local/bin:
gabi@gabi-linux:/proj/okl4_2.1$ qemu-system-arm-kzm -M ?
Supported machines are:
integratorcp ARM Integrator/CP (ARM926EJ-S) (default)
versatilepb ARM Versatile/PB (ARM926EJ-S)
versatileab ARM Versatile/AB (ARM926EJ-S)
realview   ARM RealView Emulation Baseboard (ARM926EJ-S)
kzm        ARM KZM Emulation Baseboard (ARM1136)
akita      Akita PDA (PXA270)
spitz      Spitz PDA (PXA270)
borzoi     Borzoi PDA (PXA270)
terrier    Terrier PDA (PXA270)
cheetah    Palm Tungsten|E aka. Cheetah PDA (OMAP310)
n800       Nokia N800 tablet aka. RX-34 (OMAP2420)
n810       Nokia N810 tablet aka. RX-44 (OMAP2420)
lm3s811evb Stellaris LM3S811EVB
lm3s6965evb Stellaris LM3S6965EVB
connex     Gumstix Connex (PXA255)
verdex     Gumstix Verdex (PXA270)
mainstone  Mainstone II (PXA27x)
musicpal   Marvell 88w8618 / MusicPal (ARM926EJ-S)
tosa       Tosa PDA (PXA255)

Please help.

Also when I try to build l4 with linux
./tools/build.py machine=kzm_arm11 project=iguana  verbose_str=True
wombat=yes simulate
it says
projects/iguana/SConstruct:634 Error: OKLINUX_DIR: linux: does not exist

Could you please let me know where I am going wrong?

Thanks
Aparna
--
View this message in context: http://n2.nabble.com/simualting-KZM-using-Qemu-tp3827519p3827519.html
Sent from the OKL4 Community Forum mailing list archive at Nabble.com.

_______________________________________________
Developer mailing list
Developer@...
https://lists.okl4.org/mailman/listinfo/developer


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer