Hi João, On 3/18/19 7:22 PM, João Reis wrote: > Hello everyone, > > I cannot execute any binary on root cell. Even when i issue > "./ivshmem-demo.bin" or "./ivshmem-demo.o" the following error appears: > "cannot execute binary file: Exec format error". > > > I've build the binaries using the command: > > sudo make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- KDIR=<petalinux > project>/build/tmp/work/ultra96_zynqmp-xilinx-linux/linux-xlnx/4.14-xilinx-v2018.2+gitAUTOINC+ad4cd988ba-r0/linux-ultra96_zynqmp-standard-build > DESTDIR=<rootfs> install > > > I can load the root and non-root cell and even run inmate inside non-root > cell, but somehow i can't execute binaries inside root cell.
Inmate binaries are not designed to run on Linux in the root cell. They are freestanding and designed to run on bare-metal. They're like minimalist operating systems and come with their own drivers (Interrupt controller, UART, ...) that directly access those devices. Ralf -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
