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 2022/04/16 05:35:33 UTC

[GitHub] [incubator-nuttx] Donny9 opened a new pull request, #6081: boards/sim: support rc.sysinit

Donny9 opened a new pull request, #6081:
URL: https://github.com/apache/incubator-nuttx/pull/6081

   
   ## Summary
   Follow: http://glennastory.net/boot/sysinit.html
   
   This is first script that init runs is rc.sysinit. This
   script does serval initialization tasks about basic service.
   
   The boot sequence currently provided to the board level is:
   board_earlyinitialize->
       board_lateinitialize(Peripherals driver, core driver, ...)->
   	run rcS script(mount fs, run service) ->
   	    board_appinitialize->
   
   After this patch:
   The boot sequence currently provided to the board level is:
   board_earlyinitialize->
       board_lateinitialize(core driver,...)->
   	run rc.sysinit script(mount fs, run core service) ->
   	    board_appinitialize(Peripherals driver)->
   		run rcS script(run other service)->
   
   So, Peripheral drivers can do more with the file system and core services.
   
   Signed-off-by: Jiuzhu Dong <do...@xiaomi.com>
   
   ## Impact
   Peripheral drivers can do more with the file system and core services.
   ## Testing
   Ci
   


-- 
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-unsubscribe@nuttx.apache.org

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


[GitHub] [incubator-nuttx] Donny9 commented on a diff in pull request #6081: boards/sim: support rc.sysinit

Posted by GitBox <gi...@apache.org>.
Donny9 commented on code in PR #6081:
URL: https://github.com/apache/incubator-nuttx/pull/6081#discussion_r852562858


##########
boards/risc-v/esp32c3/esp32c3-devkit/src/README.txt:
##########
@@ -3,12 +3,12 @@ README
 
   Overview
   --------
-  This directory contains logic to support a custom ROMFS start-up script.
-  This startup script is used by by the NSH when it starts provided that
-  CONFIG_NSH_ARCHROMFS=y.  The script provides a ROMFS volume that will be
-  mounted at /etc and will look like this at run-time:
+  This directory contains logic to support a custom ROMFS system-init script
+  and start-up script.  These scripts are used by by the NSH when it starts
+  provided that CONFIG_NSH_ARCHROMFS=y.  These scripts provide a ROMFS volum

Review Comment:
   Done!



-- 
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-unsubscribe@nuttx.apache.org

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


[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6081: boards/sim: support rc.sysinit

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on code in PR #6081:
URL: https://github.com/apache/incubator-nuttx/pull/6081#discussion_r852249055


##########
boards/risc-v/esp32c3/esp32c3-devkit/src/README.txt:
##########
@@ -3,12 +3,12 @@ README
 
   Overview
   --------
-  This directory contains logic to support a custom ROMFS start-up script.
-  This startup script is used by by the NSH when it starts provided that
-  CONFIG_NSH_ARCHROMFS=y.  The script provides a ROMFS volume that will be
-  mounted at /etc and will look like this at run-time:
+  This directory contains logic to support a custom ROMFS system-init script
+  and start-up script.  These scripts are used by by the NSH when it starts
+  provided that CONFIG_NSH_ARCHROMFS=y.  These scripts provide a ROMFS volum
+  that will be mounted at /etc and will look like this at run-time:
 
-    NuttShell (NSH) NuttX-10.1.0-RC1
+    NuttShell (NSH) NuttX-7.31

Review Comment:
   why change



##########
boards/renesas/rx65n/rx65n-rsk2mb/include/README.TXT:
##########
@@ -3,13 +3,14 @@ README
 
   Overview
   --------
-  This directory contains logic to support a custom ROMFS start-up script.
-  This startup script is used by by the NSH when it starts provided that
-  CONFIG_NSH_ARCHROMFS=y.  The script provides a ROMFS volume that will be
-  mounted at /etc and will look like this at run-time:
-
-    NuttShell (NSH) NuttX-8.2
-    nsh> ls -l /etc
+  This directory contains logic to support a custom ROMFS system-init script
+  and start-up script.  These scripts are used by by the NSH when it starts
+  provided that CONFIG_NSH_ARCHROMFS=y.  These scripts provide a ROMFS volum
+  that will be mounted at /etc and will look like this at run-time:
+
+    NuttShell (NSH) NuttX-7.31

Review Comment:
   keep NuttX-8.2



##########
boards/risc-v/esp32c3/esp32c3-devkit/src/README.txt:
##########
@@ -3,12 +3,12 @@ README
 
   Overview
   --------
-  This directory contains logic to support a custom ROMFS start-up script.
-  This startup script is used by by the NSH when it starts provided that
-  CONFIG_NSH_ARCHROMFS=y.  The script provides a ROMFS volume that will be
-  mounted at /etc and will look like this at run-time:
+  This directory contains logic to support a custom ROMFS system-init script
+  and start-up script.  These scripts are used by by the NSH when it starts
+  provided that CONFIG_NSH_ARCHROMFS=y.  These scripts provide a ROMFS volum

Review Comment:
   all volum to volume



##########
boards/renesas/rx65n/rx65n-grrose/include/README.TXT:
##########
@@ -3,13 +3,14 @@ README
 
   Overview
   --------
-  This directory contains logic to support a custom ROMFS start-up script.
-  This startup script is used by by the NSH when it starts provided that
-  CONFIG_NSH_ARCHROMFS=y.  The script provides a ROMFS volume that will be
-  mounted at /etc and will look like this at run-time:
-
-    NuttShell (NSH) NuttX-8.2
-    nsh> ls -l /etc
+  This directory contains logic to support a custom ROMFS system-init script
+  and start-up script.  These scripts are used by by the NSH when it starts
+  provided that CONFIG_NSH_ARCHROMFS=y.  These scripts provide a ROMFS volum
+  that will be mounted at /etc and will look like this at run-time:
+
+    NuttShell (NSH) NuttX-7.31

Review Comment:
   keep NuttX-8.2



-- 
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-unsubscribe@nuttx.apache.org

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


[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #6081: boards/sim: support rc.sysinit

Posted by GitBox <gi...@apache.org>.
pkarashchenko commented on PR #6081:
URL: https://github.com/apache/incubator-nuttx/pull/6081#issuecomment-1103913240

   Sorry, I was kept busy today. Will review and merge changes later today or early tomorrow.


-- 
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-unsubscribe@nuttx.apache.org

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


[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #6081: boards/sim: support rc.sysinit

Posted by GitBox <gi...@apache.org>.
pkarashchenko commented on PR #6081:
URL: https://github.com/apache/incubator-nuttx/pull/6081#issuecomment-1100678427

   I think we need to update `Documentation/applications/nsh/*.rst` to reflect new behavior. 


-- 
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-unsubscribe@nuttx.apache.org

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


[GitHub] [incubator-nuttx] Donny9 commented on a diff in pull request #6081: boards/sim: support rc.sysinit

Posted by GitBox <gi...@apache.org>.
Donny9 commented on code in PR #6081:
URL: https://github.com/apache/incubator-nuttx/pull/6081#discussion_r852561551


##########
boards/risc-v/esp32c3/esp32c3-devkit/src/README.txt:
##########
@@ -3,12 +3,12 @@ README
 
   Overview
   --------
-  This directory contains logic to support a custom ROMFS start-up script.
-  This startup script is used by by the NSH when it starts provided that
-  CONFIG_NSH_ARCHROMFS=y.  The script provides a ROMFS volume that will be
-  mounted at /etc and will look like this at run-time:
+  This directory contains logic to support a custom ROMFS system-init script
+  and start-up script.  These scripts are used by by the NSH when it starts
+  provided that CONFIG_NSH_ARCHROMFS=y.  These scripts provide a ROMFS volum
+  that will be mounted at /etc and will look like this at run-time:
 
-    NuttShell (NSH) NuttX-10.1.0-RC1
+    NuttShell (NSH) NuttX-7.31

Review Comment:
   Sorry, Done!



##########
boards/renesas/rx65n/rx65n-rsk2mb/include/README.TXT:
##########
@@ -3,13 +3,14 @@ README
 
   Overview
   --------
-  This directory contains logic to support a custom ROMFS start-up script.
-  This startup script is used by by the NSH when it starts provided that
-  CONFIG_NSH_ARCHROMFS=y.  The script provides a ROMFS volume that will be
-  mounted at /etc and will look like this at run-time:
-
-    NuttShell (NSH) NuttX-8.2
-    nsh> ls -l /etc
+  This directory contains logic to support a custom ROMFS system-init script
+  and start-up script.  These scripts are used by by the NSH when it starts
+  provided that CONFIG_NSH_ARCHROMFS=y.  These scripts provide a ROMFS volum
+  that will be mounted at /etc and will look like this at run-time:
+
+    NuttShell (NSH) NuttX-7.31

Review Comment:
   Done!



##########
boards/renesas/rx65n/rx65n-grrose/include/README.TXT:
##########
@@ -3,13 +3,14 @@ README
 
   Overview
   --------
-  This directory contains logic to support a custom ROMFS start-up script.
-  This startup script is used by by the NSH when it starts provided that
-  CONFIG_NSH_ARCHROMFS=y.  The script provides a ROMFS volume that will be
-  mounted at /etc and will look like this at run-time:
-
-    NuttShell (NSH) NuttX-8.2
-    nsh> ls -l /etc
+  This directory contains logic to support a custom ROMFS system-init script
+  and start-up script.  These scripts are used by by the NSH when it starts
+  provided that CONFIG_NSH_ARCHROMFS=y.  These scripts provide a ROMFS volum
+  that will be mounted at /etc and will look like this at run-time:
+
+    NuttShell (NSH) NuttX-7.31

Review Comment:
   Done!



-- 
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-unsubscribe@nuttx.apache.org

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


[GitHub] [incubator-nuttx] Donny9 commented on pull request #6081: boards/sim: support rc.sysinit

Posted by GitBox <gi...@apache.org>.
Donny9 commented on PR #6081:
URL: https://github.com/apache/incubator-nuttx/pull/6081#issuecomment-1101465548

   > I think we need to update `Documentation/applications/nsh/*.rst` to reflect new behavior.
   
   Done


-- 
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-unsubscribe@nuttx.apache.org

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


[GitHub] [incubator-nuttx] Donny9 commented on pull request #6081: boards/sim: support rc.sysinit

Posted by GitBox <gi...@apache.org>.
Donny9 commented on PR #6081:
URL: https://github.com/apache/incubator-nuttx/pull/6081#issuecomment-1100578592

   This PR is associated with https://github.com/apache/incubator-nuttx-apps/pull/1142


-- 
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-unsubscribe@nuttx.apache.org

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


[GitHub] [incubator-nuttx] pkarashchenko merged pull request #6081: boards/sim: support rc.sysinit

Posted by GitBox <gi...@apache.org>.
pkarashchenko merged PR #6081:
URL: https://github.com/apache/incubator-nuttx/pull/6081


-- 
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-unsubscribe@nuttx.apache.org

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