How to run a Goa-built program on OKMX8MP-C board (i.MX8MP)?

Hi everyone,

I’ve successfully built a uImage and booted Genode on the Forlinx OKMX8MP-C development board, which is based on the NXP i.MX8MP SoC.
Separately, I have also used Goa with the following command to build a simple program for the same architecture:

goa build --arch arm_v8a

The build completes successfully.
Now, I would like to run this Goa-compiled program on the board under Genode.
Could anyone please advise me on:
How to integrate the Goa built binary with the Genode build system and run it on the board?

Any help or pointers to documentation/examples would be greatly appreciated.

Please be aware that Goa targets Sculpt OS, i.e. if you are running anything other than the current Sculpt release on your board, your binaries might be incompatible.

For running a Goa scenario on Sculpt, you must add a runtime and deploy the pkg archive on Sculpt. This is described in the “Getting Started”-chapter of the Genode Applications book.

If you merely want to use the Goa-built binary in the Genode build system, you can export the bin archive to the depot used by Genode and use it in a run-script using the import_from_depot directive.

3 Likes

Thanks, and I want to know if the board have no screen, can I run Sculpt on the board? For example, now I run Linux on the boad, and I connect the board to my computer using a data cable, while the terminal of the development board is displayed on my computer via MobaXterm software. If I run Sculpt, can it run like this?