From a7b9c967b040d25ae069b92a24437354980fa861 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
---
ChangeLog | 6 ++++--
Documentation/NuttShell.html | 6 +++++-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8aacbb0b2d6..6ef755bde06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6942,5 +6942,7 @@
winbuild) with the latest Kconfig files (2014-3-6).
* configs/viewtool-stm32f107: Refresh all configurations with the
latest Kconfig files (2014-3-6).
- * configs/16z, mikroe-stm32f4, olimex-lpc1766stk, sim, and
- stm32f429i-disco: Refresh all configurations (2014-3-6).
+ * configs/16z, mikroe-stm32f4, olimex-lpc1766stk, px4fmu-v2_upstream,
+ sim, and stm32f429i-disco: Refresh all configurations (2014-3-6).
+ * Documentation/NuttShell.html: Update per recommendations from Max\
+ Kriegleder (2014-3-6).
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.
+