From 18ab47f40cc5dff1f6e400a75793f7039a7a6c54 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 8 Dec 2014 12:39:02 -0600 Subject: [PATCH] Travel: Fix more initialization errors, mostly related to file path problems --- configs/sim/README.txt | 6 ++++++ configs/sim/traveler/defconfig | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/configs/sim/README.txt b/configs/sim/README.txt index 2bfd7b941c..641a73ed21 100644 --- a/configs/sim/README.txt +++ b/configs/sim/README.txt @@ -682,3 +682,9 @@ traveler cd /usr/lib/ sudo ln -s libXext.so.6.4.0 libXext.so + 4. Don't enable CONFIG_GRAPHICS_TRAVELER_PERFMON. Timing is + really important on the target platform anyway. But for the + simulation platform, timing works very strangely since there + are not timer interrupts. So if this is enabled you will + most likely get divide-by-zero errors. + diff --git a/configs/sim/traveler/defconfig b/configs/sim/traveler/defconfig index a5cb6cb4fe..1aaa79b2cd 100644 --- a/configs/sim/traveler/defconfig +++ b/configs/sim/traveler/defconfig @@ -234,7 +234,8 @@ CONFIG_NAME_MAX=32 # # RTOS hooks # -# CONFIG_BOARD_INITIALIZE is not set +CONFIG_BOARD_INITIALIZE=y +# CONFIG_BOARD_INITTHREAD is not set # CONFIG_SCHED_STARTHOOK is not set # CONFIG_SCHED_ATEXIT is not set # CONFIG_SCHED_ONEXIT is not set @@ -433,7 +434,7 @@ CONFIG_STDIO_LINEBUFFER=y CONFIG_NUNGET_CHARS=2 CONFIG_LIBM=y # CONFIG_NOPRINTF_FIELDWIDTH is not set -# CONFIG_LIBC_FLOATINGPOINT is not set +CONFIG_LIBC_FLOATINGPOINT=y # CONFIG_LIBC_IOCTL_VARIADIC is not set CONFIG_LIB_RAND_ORDER=1 # CONFIG_EOL_IS_CR is not set @@ -552,7 +553,7 @@ CONFIG_GRAPHICS_TRAVELER_PALRANGES=y # Debug options # CONFIG_GRAPHICS_TRAVELER_ROMFSDEMO=y -CONFIG_GRAPHICS_TRAVELER_PERFMON=y +# CONFIG_GRAPHICS_TRAVELER_PERFMON is not set CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL=3 #