Building a library for use with RTEMS via CMake

2021-07-19 Thread Andre.Nahrwold
Hello, I have built RTEMS 5 and its tools for the Xilinx Zynq Zedboard and installed the BSP and tools at a certain position on my machine. The tools are added to the PATH variable and RTEMS_BSPS is also available in the environment. Now we need to build a library for the use with RTEMS via CMa

Spidev different ioctl structure

2021-04-23 Thread Andre.Nahrwold
Hello, I discovered that the Spidev include (linux/spi/spidev.h) contains different implementations of the ioctl structure when comparing rtems and linux. I used the mode value of the structure and wanted to compile the application for rtems and linux, that is where I got some errors. A few furt

AW: RTEMS mkimage.py for U-Boot scripts

2021-02-11 Thread Andre.Nahrwold
There has been a small typo in the previous patch. -Ursprüngliche Nachricht- Von: users Im Auftrag von andre.nahrw...@dlr.de Gesendet: Donnerstag, 11. Februar 2021 16:14 An: users@rtems.org Betreff: AW: RTEMS mkimage.py for U-Boot scripts Hello, after some digging I think I found the pr

AW: RTEMS mkimage.py for U-Boot scripts

2021-02-11 Thread Andre.Nahrwold
Hello, after some digging I think I found the problem and at least a workaround. As a disclaimer, I do not know if this really counts as a general fix. I have not invested enough time to dig through the original mkimage U-Boot source to figure this out. But I have attached my workaround patch if

RTEMS mkimage.py for U-Boot scripts

2021-01-25 Thread Andre.Nahrwold
Hello, in our laboratory setup we use different U-Boot scripts to control the boot behavior of our development board (Trenz TE0715 [1] on top of Trenz TE0706 [2]). These simple scripts need to be converted into a script image using the mkimage command for U-Boot. [3] We use the following comman