This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3517 uptime issue (goes forward 2^17 seconds)

Other Parts Discussed in Thread: TPS65023

Hi All,

We are using TI PSP 03.00.01.06 (Kernel 2.6.32) on Variscite board SOM-AM35.  The uptime (and also the system clock with date command) goes forward of exactly of 2^17 seconds without any user interaction/application. We normally notice this time warp after 2 days since when the terminal is on. RTC continues to be ok.

We also discovered that when we issue the command   "cat /proc/timer_list",  at the end of the list the value of  max_delta_ns  is exactly our time warp in seconds

max_delta_ns: 131072454787401

 

Furthermore, we noticed that in comparison to other arm architerctures (PXA) in the source code clockevents.c (kernel/time/) the function clockevent_delta2ns uses the value

KTIME_MAX instead of LONG_MAX.

Do you know if is there anyone else who noticed the same problem ?

Thank you in advance. I look forward to hearing from you.

Kind regards,

Paolo.

this is our partial .config

#
# System Type
#

CONFIG_ARCH_OMAP=y
#
# TI OMAP Implementations
#
CONFIG_ARCH_OMAP3=y
#
# OMAP Feature Selections
#
CONFIG_OMAP_RESET_CLOCKS=y
CONFIG_OMAP_MUX=y
CONFIG_OMAP_32K_TIMER=y
CONFIG_OMAP_32K_TIMER_HZ=128
CONFIG_OMAP_DM_TIMER=y
CONFIG_OMAP_LL_DEBUG_UART3=y
CONFIG_ARCH_OMAP34XX=y
CONFIG_ARCH_OMAP3430=y
CONFIG_OMAP_PM_NOOP=y
CONFIG_OMAP_PACKAGE_CBB=y
#
# OMAP Board Type
#
CONFIG_MACH_VAR_SOM_AM35=y
CONFIG_PMIC_TPS65023=y
#
# Kernel Features
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_VMSPLIT_3G=y
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_HZ=128
# CONFIG_THUMB2_KERNEL is not set
CONFIG_AEABI=y
CONFIG_OABI_COMPAT=y
CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
# CONFIG_HIGHMEM is not set
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set