From 28ec6ca729e14369b76a715ac1956daba03bc6c5 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Thu, 20 Feb 2020 09:38:19 +0900 Subject: [PATCH] boards: sabre-6quad: Update defconfig for smp Enable optimization and generate debug symbols. Enable scheduler instrumentation and spinlock irq. Add applications such as hello, ostest and taskset. Signed-off-by: Masayuki Ishikawa --- boards/arm/imx6/sabre-6quad/configs/smp/defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/boards/arm/imx6/sabre-6quad/configs/smp/defconfig b/boards/arm/imx6/sabre-6quad/configs/smp/defconfig index 8c66a7693b..9283264fd7 100644 --- a/boards/arm/imx6/sabre-6quad/configs/smp/defconfig +++ b/boards/arm/imx6/sabre-6quad/configs/smp/defconfig @@ -21,7 +21,10 @@ CONFIG_ARCH_STACKDUMP=y CONFIG_BOARD_LOOPSPERMSEC=99369 CONFIG_BOOT_RUNFROMSDRAM=y CONFIG_BUILTIN=y +CONFIG_DEBUG_FULLOPT=y +CONFIG_DEBUG_SYMBOLS=y CONFIG_DEV_ZERO=y +CONFIG_EXAMPLES_HELLO=y CONFIG_FS_PROCFS=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y @@ -48,13 +51,18 @@ CONFIG_RAW_BINARY=y CONFIG_RR_INTERVAL=200 CONFIG_SCHED_HPWORK=y CONFIG_SCHED_HPWORKPRIORITY=192 +CONFIG_SCHED_INSTRUMENTATION=y +CONFIG_SCHED_INSTRUMENTATION_BUFFER=y CONFIG_SCHED_WAITPID=y CONFIG_SMP=y +CONFIG_SPINLOCK_IRQ=y CONFIG_START_MONTH=3 CONFIG_START_YEAR=2016 CONFIG_SYMTAB_ORDEREDBYNAME=y CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_NSH_CXXINITIALIZE=y +CONFIG_SYSTEM_TASKSET=y +CONFIG_TESTING_OSTEST=y CONFIG_TESTING_SMP=y CONFIG_UART1_SERIAL_CONSOLE=y CONFIG_USER_ENTRYPOINT="nsh_main"