qemu-arm
[Top][All Lists]
Advanced

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

Re: Need help getting QEMU to run QNX ifs.bin for Raspberry Pi on QMEU


From: Peter Maydell
Subject: Re: Need help getting QEMU to run QNX ifs.bin for Raspberry Pi on QMEU
Date: Tue, 6 Jun 2023 10:11:40 +0100

On Tue, 6 Jun 2023 at 02:07, Ahmed Elsaka <Ahmed.Elsaka@kpit.com> wrote:
> i am trying to run QNX ifs.bin for raspberry pi on qmeu but it is not working 
> :
>
> what i actually did :
>
> installed qemu-system-aarch64
> downloaded ifs-rpi4.bin file from qnx sw center 3- using the follwoing 
> command to run this "ifs-rpi4.bin" (image file system on qemu) using the 
> following command :
>
> qemu-system-aarch64 -M virt -m 2048 -smp 4 -cpu cortex-a72 -kernel 
> ifs-rpi4.bin -nographic

This cannot work. In general, Arm boards are not the same
as each other, and a binary built to work on one board
(raspberry pi 4) will not boot on another. QEMU doesn't
currently have any emulation of the rpi4 so you can't run
the rpi4 QNX image on it.

> I also tried to use board which is supported by qemu like
> "mcimx6ul-evk Freescale i.MX6UL Evaluation Kit (Cortex-A7)"
> but i still facing the same issue.

This has a bit more chance of working if both QNX and
QEMU support the board model. Here you are probably
running into the problem that QEMU does not emulate
the i.MX6's "boot off an sd card image" process. You
probably will need to pick apart whatever disk image
the QNX build gave you to find the actual guest binary.
(If you're lucky somebody else will have done this before.)
You might also run into issues if QNX tries to prod some
devices on the SoC that QEMU doesn't have emulation of.

thanks
-- PMM



reply via email to

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