Misc fixes to repair some of the breakage to the SAMA5D4-EK elf configuration caused by changes for the knsh configuration

This commit is contained in:
Gregory Nutt 2014-09-11 10:31:12 -06:00
parent e327840ae2
commit 5527e0df9f
2 changed files with 12 additions and 6 deletions

View File

@ -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.

View File

@ -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"