I try to create an sb file from an elf file with the elftosb tool under Ubuntu. The problem is that the tool crashes when I execute it with the command
./elftosb-f kinetis -V -c ../../../bd_file/imx10xx/program_flexspinor_image_qspinor.bd -o boot_image.sb ivt_flexspi_nor_nopadding.bin
The terminal shows just a memory access error so it seems to be a stack overflow. The ivt_flexspi_nor_nopadding.bin file is created correct.
Because nxp don't seem to support the i.MX RT1050 under Ubuntu and the tools actively it would be nice to get the source code for the elftosb tool so i can solve the problem myself.