Yes, the ultra96 BSP generates a 32-bit executable. QEMU starts its CPUs
in 64-bit mode. You would need a small piece of 64-bit AArch64 assembly
to start on the CPU which would jump into the 32-bit executable. It
could even theoretically be inlined into start.S as raw machine code.
Kinsey
On
thank you for your response,
i understood your second option but I somewhat haven't understood your
first option. isn't the code written for the ultra96 BSP already meant to
be 32-bit?
would you give me a further explanation?
On Thu, Apr 22, 2021 at 8:29 PM Kinsey Moore
wrote:
> On 4/22/2021 08:
On 4/22/2021 08:47, Alireza Banejad wrote:
Hello
I want to know could I run applications for the ultra96 bsp in qemu?
I tried the qemu-system-arm with the virt machine and cpu specified as
cortex-a7 yet I don't get anything
I also tried the qemu-system-aarch64 specifying the machine as
xlnx-zcu
Hello
I want to know could I run applications for the ultra96 bsp in qemu?
I tried the qemu-system-arm with the virt machine and cpu specified as
cortex-a7 yet I don't get anything
I also tried the qemu-system-aarch64 specifying the machine as xlnx-zcu102
and it still couldn't run the application.