Hi all,

just tested the

"Updating a Release System with ELF Programs – No Symbol Tables"

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629542

which is same procedure as Alans video tutorial at nuttx channel.


In the elfprog-nosymtab.tar.gz files downloaded from the wiki page, in

/addon/Makefile

it is a wrong include path =

include nuttx-export-7.2/build/Make.defs

The make export command does not create a build folder anymore in
nuttx8.2 (nor it was in 7.2 as far as I know).

So, the Make.defs to be used are in the nuttx-export-x.y/scripts folder,
so in my case the correct include was

-include nuttx-export-8.2/scripts/Make.defs


As I was using the another cpu arch (tiva) as in the example (STM32F4),
the resulting elf file was not working.


Maybe it would be also interesting to put a note on the wiki-page, to
use the nuttx-export-x.y/scripts/gnu-elf.ld file, or use the
/addon/Makefile to automatically copy the gnu-elf.ld from the export
folder, same as it is done with the System.map file. Should also be
necessary in case someone uses other arch than armv7.


The rest is very clear and well documented, thanks!!




--
Florian Wehmeyer
TFW Tech Solutions

Reply via email to