qemu help please
Posted: Sat Dec 05, 2009 3:32 pm
Hi,
I'm very new to embedded linux and ordered the mini2440 plus 5.6" display yesterday.
I have allready setup an ARM cross compile toolchain using buildroot and made a kernel (2.6.32-rc8) and jffs2 root filesystem (with busybox/SDL etc.) for the mini2440.
I can't wait till the board arrives, so i started playing with qemu to test my build for the mini2440.
Unfortunally I can't get it to work. Here's the output:
root@ubuntu-v:/home/raymond/embedded/qemu/mini2440/mini2440# ./mini2440_start.sh
Starting in .
./../arm-softmmu/qemu-system-arm -M mini2440 -drive file=./mini2440_snapshots.img,snapshot=on -serial stdio -kernel /tftpboot/uImage -mtdblock ./mini2440_nand.bin -show-cursor -usb -usbdevice keyboard -usbdevice mouse -net nic,vlan=0 -net tap,vlan=0,ifname=tap0 -monitor telnet::5555,server,nowait
S3C: CLK=240 HCLK=240 PCLK=240 UCLK=57
QEMU: ee24c08_init
DM9000: INIT QEMU MAC : 52:54:00:12:34:56
QEMU mini2440_reset: loaded default u-boot from NAND
QEMU mini2440_reset: loaded override u-boot (size 0)
QEMU mini2440_reset: loaded /tftpboot/uImage (size 200)
qemu: fatal: Trying to execute code outside RAM or ROM at 0x34000000
R00=00000000 R01=00000000 R02=00000000 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=34000000
PSR=400001d3 -Z-- A svc32
./mini2440_start.sh: line 36: 6710 Aborted $cmd
root@ubuntu-v:/home/raymond/embedded/qemu/mini2440/mini2440#
What am i doing wrong? Can someone tell me a step by step guide to get it working, please?
I'm very new to embedded linux and ordered the mini2440 plus 5.6" display yesterday.
I have allready setup an ARM cross compile toolchain using buildroot and made a kernel (2.6.32-rc8) and jffs2 root filesystem (with busybox/SDL etc.) for the mini2440.
I can't wait till the board arrives, so i started playing with qemu to test my build for the mini2440.
Unfortunally I can't get it to work. Here's the output:
root@ubuntu-v:/home/raymond/embedded/qemu/mini2440/mini2440# ./mini2440_start.sh
Starting in .
./../arm-softmmu/qemu-system-arm -M mini2440 -drive file=./mini2440_snapshots.img,snapshot=on -serial stdio -kernel /tftpboot/uImage -mtdblock ./mini2440_nand.bin -show-cursor -usb -usbdevice keyboard -usbdevice mouse -net nic,vlan=0 -net tap,vlan=0,ifname=tap0 -monitor telnet::5555,server,nowait
S3C: CLK=240 HCLK=240 PCLK=240 UCLK=57
QEMU: ee24c08_init
DM9000: INIT QEMU MAC : 52:54:00:12:34:56
QEMU mini2440_reset: loaded default u-boot from NAND
QEMU mini2440_reset: loaded override u-boot (size 0)
QEMU mini2440_reset: loaded /tftpboot/uImage (size 200)
qemu: fatal: Trying to execute code outside RAM or ROM at 0x34000000
R00=00000000 R01=00000000 R02=00000000 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=34000000
PSR=400001d3 -Z-- A svc32
./mini2440_start.sh: line 36: 6710 Aborted $cmd
root@ubuntu-v:/home/raymond/embedded/qemu/mini2440/mini2440#
What am i doing wrong? Can someone tell me a step by step guide to get it working, please?
08:61