From e208b50b633117426ee314758df0e8f32ed682f8 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 6 Mar 2014 17:47:07 -0600 Subject: [PATCH] Update NuttShell.html per recommendations from Max Kriegleder --- Documentation/NuttShell.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index 21facc51ac2..89318909641 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -4021,7 +4021,7 @@ mount -t vfat /dev/ram1 /tmp

Modifying the ROMFS Image. - The contents of the /etc directory are retained in the file apps/nshlib/nsh_romfsimg.h OR, if CONFIG_NSH_ARCHROMFS is defined, include/arch/board/rcs.template. + The contents of the /etc directory are retained in the file apps/nshlib/nsh_romfsimg.h OR, if CONFIG_NSH_ARCHROMFS is defined, include/arch/board/nsh_romfsimg.h. In order to modify the start-up behavior, there are three things to study:

@@ -4065,6 +4065,10 @@ mount -t vfat /dev/ram1 /tmp rcS.template. The file apps/nshlib/rcS.template contains the general form of the rcS file; configured values are plugged into this template file to produce the final rcS file.

+

+ To generate a custom rcS file a copy of rcS.template needs to be placed at tools/ and changed according to the desired start-up behaviour. + Running tools/mkromfsimg.h creates nsh_romfsimg.h which needs to be copied to apps/nhslib OR if CONFIG_NSH_ARCHROMFS is defined to configs/<board>/include. +