diff --git a/configs/sama5d4-ek/README.txt b/configs/sama5d4-ek/README.txt index 50198f92274..d55935a2e47 100644 --- a/configs/sama5d4-ek/README.txt +++ b/configs/sama5d4-ek/README.txt @@ -3930,6 +3930,20 @@ Configurations file system. A considerable amount of testing has been done and there are no known defects as of this writing. + 2014-9-13: Currently a program running as a process in the kernel build + mode cannot run other programs that reside on the file system. Why? + Because in order to run those other programs, the new program's + address environment must be instantiated in memory to load the .text + and .data and to allocate the initial user space components from the + new user heap. + + However, the previous program's stack currently resides in its heap. + So when a process tries to run another program, its heap is unmapped + and the system crashes. The fix is to add a separate stack in a + separate memory region that does not get unmapped when creating new + processes. There are hooks in place to do this; I just need to get + time to get that done. + nsh: This configuration directory provide the NuttShell (NSH). This is a