qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] New machine?


From: Comicinker
Subject: [Qemu-devel] New machine?
Date: Fri, 28 Jan 2011 18:00:08 +0100

Hi,

I want to boot a embedded linux environment in qemu, namely xxsvideo [1]. It is 
for an arm based fujitsu development board [2]. The toolchain provideds finally 
3 files to flash the target device:

-----
address@hidden:~/workspace/jade_rootfs_build-0.8.5/images$ ls -lh
insgesamt 5,4M
-rw-r--r-- 1 comicinker comicinker 3,9M 2011-01-22 19:21 
rootfs-xxsvideo-jadeevalkit-0.8.5.bin
-rwxr-xr-x 1 comicinker comicinker 110K 2011-01-22 19:17 
u-boot-xxsvideo-jadeevalkit-0.8.5.bin
-rw-r--r-- 1 comicinker comicinker 1,4M 2011-01-22 19:21 
uImage-xxsvideo-jadeevalkit-0.8.5.bin
-----

The documentation of xxsvideo tells the following about the Kernel:

-----
3.2 Kernel
Currently the following flash partition is used. This may change e.g. to 
reserve space for a
splash-image:
cat /proc/mtd
dev:      size     erasesize      name
mtd0: 00020000 00020000 "u-boot"
mtd1: 00020000 00020000 "u-boot var"
mtd2: 00200000 00020000 "kernel"
mtd3: 01dc0000 00020000 "rootfs"
  To install the kernel to flash, put the image 
(images/uImage-xxsvideo-jadeevalkit-0.8.4.bin)
to your tftpboot-directory and type on the u-boot console:
xxsvideo> set autostart no
xxsvideo> tftpboot 0x40500000 uImage-xxsvideo-jadeevalkit-0.8.4.bin
xxsvideo> erase 0x10040000 0x1023ffff
xxsvideo> cp.b 0x40500000 0x10040000 $(filesize)
  To install the kernel inside the running linux, do:
flashcp --verbose /tmp/uImage /dev/mtd2
-----

I tried to boot the Kernel with the following command:

qemu-system-arm -kernel uImage-xxsvideo-jadeevalkit-0.8.5.bin -M integratorcp 
-nographic

And qemu returns with following error message:

-----
qemu: fatal: Trying to execute code outside RAM or ROM at 0x40008000

R00=00000000 R01=00000113 R02=00000100 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000000 R13=00000000 R14=00000000 R15=40008000
PSR=400001d3 -Z-- A svc32
s00=00000000(       0) s01=00000000(       0) d00=0000000000000000(       0)
[...]
-----

How can I boot the kernel, or u-boot? Do I have to patch qemu to support a new 
machine? In my ideal imagination, I just tell qemu about the jffs2/mtd 
images/files and specify eventually some memory addresses. How could I do that?

Thanks in advance!


Comicinker

[1] http://sourceforge.net/projects/xxsvideo/
[2] 
http://www.fujitsu.com/emea/services/microelectronics/gdc/gdcdevices/mb86r01-jade.html
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!                       
Jetzt informieren: http://www.gmx.net/de/go/freephone



reply via email to

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