You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/11/17 09:57:05 UTC

[GitHub] [incubator-nuttx] kernelgurumeditation opened a new issue #2323: Howto to build external apps(elf)?

kernelgurumeditation opened a new issue #2323:
URL: https://github.com/apache/incubator-nuttx/issues/2323


   Hello...
   I have read all the howtos, videos...,  tried with symbols, without symbols.
   Gone back to 9. ... 8... versions
   and it never works....
   I enabled elf loader debug in the Nuttx, and it seems that it fails to parse the  elf file(the text, data section size is read as zero..)
   It seems that I'm not creating the elf files correctly but followed the instructions in the official wiki...
   
   Does this work? currently? if so can someone point me to how to do it?
   
   I just want to build an elf hello world, put it on a filesystem, and run it... I have seen videos from Alan.. it worked at some time...
   
   Any help will be very appreciated  
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] kernelgurumeditation commented on issue #2323: Howto to build external apps(elf)?

Posted by GitBox <gi...@apache.org>.
kernelgurumeditation commented on issue #2323:
URL: https://github.com/apache/incubator-nuttx/issues/2323#issuecomment-730644263


   @btashton, unfortunately, no, the other issue is an error linking.
   
   This is about building a standalone elf file, with or without symbols,  as described: 
   
   https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629543
   
   In this case, It builds, but when I try to run it on the board it fails.
   
   I have enabled the elf loader debug and I'm seeing very strange things when it loads the elf section headers.... all the values seem to be wrong regarding endianness....  but the elf header is read correctly and the values are correct in the file...
   Very strange
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] xiaoxiang781216 closed issue #2323: Howto to build external apps(elf)?

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 closed issue #2323:
URL: https://github.com/apache/incubator-nuttx/issues/2323


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton removed a comment on issue #2323: Howto to build external apps(elf)?

Posted by GitBox <gi...@apache.org>.
btashton removed a comment on issue #2323:
URL: https://github.com/apache/incubator-nuttx/issues/2323#issuecomment-730623116


   Alan also your tutorial required people to supply things that are already in the `scripts/Make.defs` file that is exported (maybe that file did not exist at the time?). We should probably show people how to make use of that rather than supply on the command line. 
   
   Personally I find that the improvements made for including external folders for apps / board / arch much easier to work with. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] acassis commented on issue #2323: Howto to build external apps(elf)?

Posted by GitBox <gi...@apache.org>.
acassis commented on issue #2323:
URL: https://github.com/apache/incubator-nuttx/issues/2323#issuecomment-730620538


   hi @kernelgurumeditation I tested it in the middle of 2018 at that time version was 7.25! I need to tested it to verify if someone break it in this mean time.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton commented on issue #2323: Howto to build external apps(elf)?

Posted by GitBox <gi...@apache.org>.
btashton commented on issue #2323:
URL: https://github.com/apache/incubator-nuttx/issues/2323#issuecomment-730623116


   Alan also your tutorial required people to supply things that are already in the `scripts/Make.defs` file that is exported (maybe that file did not exist at the time?). We should probably show people how to make use of that rather than supply on the command line. 
   
   Personally I find that the improvements made for including external folders for apps / board / arch much easier to work with. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton commented on issue #2323: Howto to build external apps(elf)?

Posted by GitBox <gi...@apache.org>.
btashton commented on issue #2323:
URL: https://github.com/apache/incubator-nuttx/issues/2323#issuecomment-730624118


   @kernelgurumeditation also is this the same issue you opened in the Apps repo that we commented on? If so we should probably close this and keep the conversation there.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org