Part Number: AM3354
Other Parts Discussed in Thread: TPS65910
Tool/software: Linux
Hi, we have designed a custom board with the AM3354. Sometimes we have a freeze of 180 seconds or less in user space. It occurs after hours or days. On the AM3354 runs a linux with kernel 4.14. Everything works well after the freeze of 180 seconds. During the freeze are hardware as DCLK and Backlight PWM still working well.There are no interrupts of timer 2 within the 180 seconds (read before and after freeze from /proc/interrupts: INTC 68 Level gp_timer).
We enabled the CONFIG_DEBUG_TIMEKEEPING and CONFIG_DEBUG_PREEMPT in the kernel defconfig. After enabling these configs, we can observe the following kernel message before the freeze occurs:
[372307.567958] INFO: timekeeping: Cycle offset (4291823686) is larger than the 'timer1' clock's 50% safety margin (2147483647) [372307.567968] timekeeping: Your kernel is still fine, but is feeling a bit nervous
Our clock source is based on an external 24MHz crystal. It seems that timer 2 generates no interrupt and the system hangs for these 3 minutes until next overflow occurs (2^32 / 24MHz = 179s).
Is there any advise what we can do? All the rules of the design guideline should have been realized in our pcb design.
Many thanks and kind regards






