Skip navigation.
Home
The QNX Community Portal

View topic - Booting QNX on QEMU(ARM)

Booting QNX on QEMU(ARM)

This is where you can ask a software to be ported or written for QNX. You can also request to buy/sell second hand software.

Booting QNX on QEMU(ARM)

Postby johnsonjthomas » Thu Jun 04, 2009 4:50 pm

Hi,
I am trying to boot QNX on QEMU (ARM platform). I downloaded one of the BSPs from qnx site and built. I made the ifs image from this build file(using elf.boot).i ran this on qemu-system-arm -kernel PATH_TO_IFS_IMAGE and an empty QEMU window pops up. I have no clue of what is happening.

the mkifs -v generated this.

Offset Size Entry Ramoff Target=Host
80010000 180 0 --- /opt/qnx640/target/qnx6/armle/boot/sys/elf.boot
80010180 100 ---- --- Startup-header
80010280 c188 80011be0 --- /tmp/fileoSTxRg
8001c288 5c ---- --- Image-header
8001c2e4 760 ---- --- Image-directory
---- --- ---- --- tmp=/dev/shmem
---- --- ---- --- dev/console=/dev/ser1
---- --- ---- --- bin/sh=/proc/boot/ksh
8001ca44 314 ---- --- proc/boot/.script=/tmp/fileNzj1X1
8001d000 6b000 fe03adf0 --- proc/boot/procnto-v6=/tmp/filecBHu7v
80088000 73000 389c4 --- proc/boot/libc.so.3=/opt/qnx640/target/qnx6/ar
mle/lib/libc.so
---- --- ---- --- proc/boot/libc.so=libc.so.3
800fb000 ec1e 2364 --- proc/boot/devn-smc9000.so=/opt/qnx640/target/q
nx6/armle/lib/dll/devn-smc9000.so
8010a000 2acf3 5738 --- proc/boot/libsocket.so.2=/opt/qnx640/target/qn
x6/armle/lib/libsocket.so
---- --- ---- --- proc/boot/libsocket.so=libsocket.so.2
80135000 88c6 2208 --- proc/boot/devnp-shim.so=/opt/qnx640/target/qnx
6/armle/lib/dll/devnp-shim.so
8013e000 a9d0 2fdc --- proc/boot/libusbdi.so.2=/opt/qnx640/target/qnx
6/armle/lib/libusbdi.so
---- --- ---- --- proc/boot/libusbdi.so=libusbdi.so.2
80149000 a799 1ad8 --- proc/boot/devu-ohci.so=/opt/qnx640/target/qnx6
/armle/lib/dll/devu-ohci.so
80154000 1019b 101cc8 --- proc/boot/devc-seromap=/opt/qnx640/target/qnx6
/armle/boot/sys/devc-seromap
80165000 12f20 10193c --- proc/boot/fs-etfs-omap2420=/opt/qnx640/target/
qnx6/armle/boot/sys/fs-etfs-omap2420
80178000 37e6 1009d4 --- proc/boot/etfsctl=/opt/qnx640/target/qnx6/arml
e/usr/bin/etfsctl
8017c000 54d9 100f98 --- proc/boot/i2c-omap59xx=/opt/qnx640/target/qnx6
/armle/boot/sys/i2c-omap59xx
80182000 8dc15 10e200 --- proc/boot/io-pkt-v4=/opt/qnx640/target/qnx6/ar
mle/sbin/io-pkt-v4
80210000 4dfa 100998 --- proc/boot/nicinfo=/opt/qnx640/target/qnx6/arml
e/usr/sbin/nicinfo
80215000 164df 1015f0 --- proc/boot/ifconfig=/opt/qnx640/target/qnx6/arm
le/sbin/ifconfig
8022c000 a87d 1011f8 --- proc/boot/ping=/opt/qnx640/target/qnx6/armle/u
sr/bin/ping
80237000 2257 100638 --- proc/boot/cat=/opt/qnx640/target/qnx6/armle/bi
n/cat
8023a000 13ad3 101d74 --- proc/boot/fs-nfs2=/opt/qnx640/target/qnx6/arml
e/usr/sbin/fs-nfs2
8024e000 521b 100e60 --- proc/boot/ls=/opt/qnx640/target/qnx6/armle/bin /ls
80254000 2abd8 1017c0 --- proc/boot/ksh=/opt/qnx640/target/qnx6/armle/bi n/ksh
8027f000 527f 1015b4 --- proc/boot/pipe=/opt/qnx640/target/qnx6/armle/s bin/pipe
80285000 fdd4 101594 --- proc/boot/pidin=/opt/qnx640/target/qnx6/armle/ bin/pidin
80295000 1fd6 100598 --- proc/boot/uname=/opt/qnx640/target/qnx6/armle/ bin/uname
80297000 3820 100d50 --- proc/boot/slogger=/opt/qnx640/target/qnx6/arml e/usr/sbin/slogger
8029b000 295b 100a44 --- proc/boot/sloginfo=/opt/qnx640/target/qnx6/arm le/bin/sloginfo
8029e000 4963 100ea4 --- proc/boot/slay=/opt/qnx640/target/qnx6/armle/b in/slay
802a3000 975f 101058 --- proc/boot/cp=/opt/qnx640/target/qnx6/armle/bin /cp
802ad000 5b68 1015ac --- proc/boot/waitfor=/opt/qnx640/target/qnx6/arml e/bin/waitfor
802b3000 353f 100d18 --- proc/boot/shutdown=/opt/qnx640/target/qnx6/arm le/bin/shutdown
802b6540 4 ---- --- Image-trailer

I even tried integrating the u-boot bootloader to the image.I donwloaded the latest u-boot and in this did the following
ARCH=arm
export $ARCH
CROSS_COMPILE=arm-unknown-nto-qnx6.4.0-
make omap2420h4_config (I downloaded the omap2420 BSP from qnx)
make all

it generated a u-boot.bin file. I used the mkimage command and generated a uImage also. But when i run this u-boot.bin using the command qemu-system-arm -kernel u-boot.bin , again the same empty qemu window opens.Is it atleast possible to get a uboot command line console using this u-boot.bin?
Any help would be great.

Thanks,
Johnson
Attachments
build.tar
(20 KiB) Downloaded 197 times
johnsonjthomas
New Member
 
Posts: 3
Joined: Mon Jun 01, 2009 7:15 pm

RE: Booting QNX on QEMU(ARM)

Postby mario » Thu Jun 04, 2009 8:48 pm

You hold the record for cross posting.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am


Return to Request Software

Who is online

Users browsing this forum: No registered users and 1 guest