patacongo commented on issue #12356:
URL: https://github.com/apache/nuttx/issues/12356#issuecomment-2115441940

   > Maybe @xiaoxiang781216 @patacongo @lupyuen other could help me to 
understand what you want to do.
   
   To use the kernel builds, you need to have two blobs:  (1) the kernel 
binary, and (2) the root file system.  The root file system must contain an 
executable called "init" that is started when by the kernel during 
initialization.  The root file system can be provided via external media such 
as SD card or in-memory as a ROMFS file system.
   
   There are two separate builds.  If you build a KERNEL build configuration, 
you get only the kernel blob.  To build the ROMFS init file system you have to 
invent something else.  There are some simple examples in the tree.  There used 
to be a README.txt file describing how to do the ROMFS build, but it has been 
removed or, perhaps, moved to another location.
   
   Yes, using the export files can be helpful.
   
   Here is some discussion:
   
https://github.com/apache/nuttx/blob/nuttx-8.1/boards/arm/sama5/sama5d4-ek/README.txt#L4186
   


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