Wind River Support Network


LIN5-4768 : nanosleep() sleeps only in 10ms in WRLinux with fsl_imx6

Created: Dec 11, 2013    Updated: Dec 19, 2017
Resolved Date: Dec 26, 2013
Found In Version: 5.0.1
Fix Version:
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel


This defect is a question about specification of nanosleep() on fsl_imx6 board.

Steps to Reproduce

BSP: fsl_imx6
Board: i.MX6Q Sabre-Lite & Sabre-SD

Customer reported that nanosleep() sleeps only in 10ms.

If setting 3ms to nanosleep(),it sleeps 10ms.
If setting 10ms to nanosleep(),it sleeps 20ms.

I'm thinking that this stems from CONFIG_HZ.

#define HZ  CONFIG_HZ  /* Internal kernel timer frequency */

<prj-directory>/build/ linux-windriver-3.4-r0/linux-fsl-imx6-standard-build/.config

What nanosleep() depends on kernel timer frequency is a specification of fsl_imx6?

Also,according to my customer, this symptoms did not occur In
Is there any changes about between and

Other Downloads

Live chat