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/20 07:21:19 UTC

[GitHub] [incubator-nuttx] btashton opened a new pull request #2349: Board: Add elf config for nucleo-h743zi

btashton opened a new pull request #2349:
URL: https://github.com/apache/incubator-nuttx/pull/2349


   ## Summary
   This adds a new configuration for the nucleo-h743zi that demonstrates the ROMFS and ELF loader functionality.
   
   ## Impact
   Configuration is now available.
   
   ## Testing
   Tested on the board:
   ```
   NuttShell (NSH) NuttX-9.1.0
   nsh> ls /rom
   /rom:
    .
    ..
    struct
    pthread
    errno
    hello++1
    signal
    hello++3
    hello++2
    task
    hello
    mutex
   nsh> /rom/hello
   Getting ready to say "Hello, world"
   
   Hello, world!
   It has been said.
   
   argc    = 1
   argv    = 0x0x38001fb0
   argv[0] = (0x0x38001fb8) "<noname>"
   argv[1] = 0x0
   Goodbye, world!
   ```
   
   Additionally the full demonstration and test runs by running the `elf` command from the `nsh shell`
   
   


----------------------------------------------------------------
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 edited a comment on pull request #2349: Board: Add elf config for nucleo-h743zi

Posted by GitBox <gi...@apache.org>.
btashton edited a comment on pull request #2349:
URL: https://github.com/apache/incubator-nuttx/pull/2349#issuecomment-730958642


   @kernelgurumeditation hopefully this new configuration will help you with both of your questions 
   https://github.com/apache/incubator-nuttx/issues/2323
   https://github.com/apache/incubator-nuttx-apps/issues/481
   
   
   Also the way that I set up the configuration there are actually two copies of the example applications. The elf example takes the raw romfs and converts it to a static buffer that it mounts and then executes from. This violates the POSIX interfaces.  I also have the board define a ROMFS using the image the generated by the example elf and have this mounted.
   
   So what is in `/rom` actually has nothing to do with the `elf_main.c` and only to do with what is in the tests.
   
   Hopefully this helps a little.


----------------------------------------------------------------
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 pull request #2349: Board: Add elf config for nucleo-h743zi

Posted by GitBox <gi...@apache.org>.
btashton commented on pull request #2349:
URL: https://github.com/apache/incubator-nuttx/pull/2349#issuecomment-730958642


   @kernelgurumeditation hopefully this new configuration will help you with both of your questions 
   https://github.com/apache/incubator-nuttx/issues/2323
   https://github.com/apache/incubator-nuttx-apps/issues/481


----------------------------------------------------------------
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 merged pull request #2349: Board: Add elf config for nucleo-h743zi

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #2349:
URL: https://github.com/apache/incubator-nuttx/pull/2349


   


----------------------------------------------------------------
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