From 36412153e7ed4b60daeb8aa55ac425a844f24c9d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 11 Sep 2014 10:31:12 -0600 Subject: Misc fixes to repair some of the breakage to the SAMA5D4-EK elf configuration caused by changes for the knsh configuration --- nuttx/configs/sama5d4-ek/README.txt | 17 +++++++++++------ nuttx/configs/sama5d4-ek/elf/defconfig | 1 + 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'nuttx/configs') diff --git a/nuttx/configs/sama5d4-ek/README.txt b/nuttx/configs/sama5d4-ek/README.txt index 16712332e..3e0931083 100644 --- a/nuttx/configs/sama5d4-ek/README.txt +++ b/nuttx/configs/sama5d4-ek/README.txt @@ -3707,13 +3707,13 @@ Configurations 4. A system call interface is enabled and the ELF test programs interface with the base RTOS code system calls. This eliminates the need for symbol tables to link with the base RTOS (symbol tables are still used, however, to interface with the common C library instaniation). Relevant configuration settings: - RTOS Features -> System call support - CONFIG_LIB_SYSCALL=y : Enable system call support - CONFIG_SYS_NNEST=2 : Max number of nested system calls - CONFIG_SYS_RESERVED=1 : SYStem call 0 is reserved on this platform + RTOS Features -> System call support + CONFIG_LIB_SYSCALL=y : Enable system call support + CONFIG_SYS_NNEST=2 : Max number of nested system calls + CONFIG_SYS_RESERVED=1 : SYStem call 0 is reserved on this platform - Application Configurations -> Examples -> ELF Loader Example - CONFIG_EXAMPLES_ELF_SYSCALL=y : Link apps with the SYStem call library + Application Configurations -> Examples -> ELF Loader Example + CONFIG_EXAMPLES_ELF_SYSCALL=y : Link apps with the SYStem call library STATUS: 2014-8-24: This configuration works with the address environment @@ -3726,6 +3726,11 @@ Configurations http://www.nuttx.org/doku.php?id=wiki:nxinternal:memconfigs#task_create 2014-8-29: System call interface verified. + 2014-9-11: There has been some breakage due to changes for the knsh + configuration. This test now hangs after running the first + ELF program. With GDB I can see that the IDLE loop is running + but apparently either ELF main program is deadlocked. Need to + revisit. knsh: An NSH configuration used to test the SAMA5D kenel build configuration. diff --git a/nuttx/configs/sama5d4-ek/elf/defconfig b/nuttx/configs/sama5d4-ek/elf/defconfig index d82d452b0..732c7f357 100644 --- a/nuttx/configs/sama5d4-ek/elf/defconfig +++ b/nuttx/configs/sama5d4-ek/elf/defconfig @@ -368,6 +368,7 @@ CONFIG_PREALLOC_TIMERS=4 # # Tasks and Scheduling # +# CONFIG_INIT_NONE is not set CONFIG_INIT_ENTRYPOINT=y # CONFIG_INIT_FILEPATH is not set CONFIG_USER_ENTRYPOINT="elf_main" -- cgit v1.2.3