masayuki2009 commented on PR #11587:
URL: https://github.com/apache/nuttx/pull/11587#issuecomment-1905260708

   > @masayuki2009 I noticed that quite some configs for `rv-virt` have this 
"HELLO=m", but I don't know how to run `hello` program from nsh. can you teach? 
Previously we enabled `ARCH_HAVE_ELF_EXECUTABLE`, maybe that affect the use of 
those REL type program modules?
   
   If the application is statically linked (HELLO=y), you just type 'hello' on 
the nsh prompt.
   If the application is dynamically linked (HELLO=m), you need to mount the 
hostfs first.
   
   ```
   nsh> mount -t hostfs -o fs=../apps/bin /system/bin
   nsh> hello
   ```


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

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

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

Reply via email to