boards: lm3s6965-ek: Fix to load ELF applications for qemu-protected

Summary:
- I noticed that error happens in loading nettest elf application.
- This commit fixes this issue by adding SYMTAB to the NSH
  as well as adjusting some parameters in CONFIG_ELF_XXX
- Also, CONFIG_EXAMPLES_HELLO is changed from y to m for testing.

Impact:
- lm3s6965-ek:qemu-protected only

Tested:
- Tested with qemu-6.2

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2022-08-26 14:58:59 +09:00 committed by Xiang Xiao
parent 77a99acc98
commit e68c975c41

View File

@ -17,7 +17,6 @@ CONFIG_ARCH_CHIP_LM=y
CONFIG_ARCH_STACKDUMP=y
CONFIG_ARM_MPU=y
CONFIG_ARM_SEMIHOSTING_HOSTFS=y
CONFIG_BOARDCTL_APP_SYMTAB=y
CONFIG_BOARDCTL_ROMDISK=y
CONFIG_BOARD_LOOPSPERMSEC=4531
CONFIG_BUILD_PROTECTED=y
@ -30,9 +29,11 @@ CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_DEBUG_WARN=y
CONFIG_ELF=y
CONFIG_ELF_RELOCATION_BUFFERCOUNT=64
CONFIG_ELF_SYMBOL_CACHECOUNT=64
CONFIG_EXAMPLES_ELF=y
CONFIG_EXAMPLES_ELF_DEVPATH="/dev/ram5"
CONFIG_EXAMPLES_HELLO=y
CONFIG_EXAMPLES_HELLO=m
CONFIG_EXAMPLES_MODULE=y
CONFIG_EXAMPLES_MODULE_DEVPATH="/dev/ram6"
CONFIG_EXAMPLES_NETTEST=m
@ -41,7 +42,6 @@ CONFIG_FS_BINFS=y
CONFIG_FS_HOSTFS=y
CONFIG_FS_PROCFS=y
CONFIG_FS_TMPFS=y
CONFIG_HOST_MACOS=y
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_LIBC_DLFCN=y
CONFIG_LIBC_ENVPATH=y
@ -95,6 +95,9 @@ CONFIG_SYSLOG_CONSOLE=y
CONFIG_SYSTEM_DHCPC_RENEW=y
CONFIG_SYSTEM_NETDB=y
CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_NSH_SYMTAB=y
CONFIG_SYSTEM_NSH_SYMTAB_ARRAYNAME="g_symtab"
CONFIG_SYSTEM_NSH_SYMTAB_COUNTNAME="g_nsymbols"
CONFIG_SYSTEM_NTPC=y
CONFIG_SYSTEM_PING=y
CONFIG_TASK_NAME_SIZE=24