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/10/24 20:39:52 UTC

[GitHub] [incubator-nuttx] btashton opened a new issue #2088: docs: sim:loadable README does not explain how to test

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


   This configuration is working, but the readme does not explain what is going on with it or how to test it.  We should add this to the the readme.
   
   This is the key part of the configuration:
   ```
   CONFIG_PATH_INITIAL="/system/bin"
   CONFIG_USER_INITPATH="/system/bin/nsh"
   ```
   the shell is loaded from the elf, but you can also run any of the ELFs that are in `/system/bin` as they are on the "PATH"
   
   ```
   ❯ ./nuttx 
   
   NuttShell (NSH) NuttX-9.1.0
   nsh> help
   help usage:  help [-v] [<cmd>]
   
     .         cd        echo      hexdump   mh        pwd       test      usleep    
     [         cp        exec      kill      mount     rm        time      xd        
     ?         cmp       exit      ls        mv        rmdir     true      
     basename  dirname   false     mb        mw        set       uname     
     break     dd        free      mkdir     poweroff  sleep     umount    
     cat       df        help      mkrd      ps        source    unset     
   nsh> ls /system/bin
   /system/bin:
    hello
    sh
    ..
    .
    nsh
   nsh> hello
   Hello, World!!
   nsh> 
   ```
   


----------------------------------------------------------------
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] liuguo09 commented on issue #2088: docs: sim:loadable README does not explain how to test

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


   I have made PR https://github.com/apache/incubator-nuttx/pull/2134 to update sim loadable README with @btashton shown info : ) Also update sotest and module configs readme.


----------------------------------------------------------------
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 closed issue #2088: docs: sim:loadable README does not explain how to test

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


   


----------------------------------------------------------------
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 commented on issue #2088: docs: sim:loadable README does not explain how to test

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


   @liuguo09 please take a look.


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