Re: binary loader ELF file size limits

2020-04-05 Thread Alan Carvalho de Assis
Hi Florian, Nice to know you fixed it. Try to use SPI NOR Flash with SmartFS, it will load very fast. BR, Alan On 4/5/20, Florian Wehmeyer wrote: > > Hi Alan, > > many thanks for your hints!! > > In my this situation, the -29 error is returned by > > ret = elf_load(); > > But, turned out

Re: binary loader ELF file size limits

2020-04-05 Thread Florian Wehmeyer
Hi Alan, many thanks for your hints!! In my this situation, the -29 error is returned by ret = elf_load(); But, turned out that the error was coming from the NXFFS.. I reformatted the volume from which I was loading the ELF file, and the error disappeared, working well.. Takes some seconds

Re: binary loader ELF file size limits

2020-04-03 Thread Alan Carvalho de Assis
Hi Florian, The error -29 is -ESPIPE : Illegal seek. Probably it comes from here: if (offset > iob->io_pktlen) { ioberr("ERROR: offset is past the end of data: %u > %u\n", offset, iob->io_pktlen); return -ESPIPE; } Please try to enable CONFIG_IOB_DEBUG and

binary loader ELF file size limits

2020-04-03 Thread Florian Wehmeyer
Hi all, I need to update my app running on nuttx 8.2 system in a simple way, this is why I've chosen the "Release System with ELF Programs: No Symbol Tables" approach. My problem is the size of my elf file, it is up to 12K. This is basically because I've packed all the features into 1 task