How to build a Lego MindStorm EV3 binary?

788 views Asked by At

We are trying to write a pseudo-OS for an ev3 Lego brick. We already know, that there is an u-boot loader in the ROM of the brick, and that it loads an uImage file from the first partition of the SD-Card. We have tried to understand how the Linux ev3 kernel works and where is the entry point (assuming the main function). We have a potential entry point, but we don't know, how this location is marked as entry points or how to code a simplified version.

We want to create our own binary, which can be converted to an uImage file (with mkimage).

  • How do we have to do this?
  • How to mark a certain C-function as entry point?
0

There are 0 answers