The CONFIG_HZ setting is getting overwritten when you build your kernel; the overwrite setting is somewhere inside your buildroot/target directory.

 

To find it, cd to target and issue this command: “find . -name \*config\* | xargs grep CONFIG_HZ” (without the quotes). On my system (older than 1553 but I don’t know the version), I see the following as output from that command:

./device/Gumstix/basix-connex/linux.config:CONFIG_HZ=100

./device/Gumstix/basix-connex/.svn/text-base/linux.config.svn-base:CONFIG_HZ=100

./device/Gumstix/verdex/linux.config:CONFIG_HZ=100

./device/Gumstix/verdex/.svn/text-base/linux.config.svn-base:CONFIG_HZ=100

 

Making the appropriate change (in target/device/Gumstix/basix-connex/linux.config, for your connex) should propagate into the kernel build.

 


From: gumstix-users-bounces@lists.sourceforge.net [mailto:gumstix-users-bounces@lists.sourceforge.net] On Behalf Of Herve Lacheray
Sent: Friday, November 16, 2007 4:53 PM
To: gumstix-users@lists.sourceforge.net
Subject: [Gumstix-users] 1-ms jiffy?

 

Hi everyone,

 

 

Is it still possible to set the gumstix’s system clock from 10 to 1 millisecond?

 

I changed the HZ value from 100 to 1000 in the build_arm_nofpu/linux-*/include/asm-arm/param.h file, as described here:

 

http://docwiki.gumstix.org/Tips_and_tricks#Change_Timer.2FScheduler_Frequency

 

but that did not work. I have a Connex 400MHz and I am using buildroot revision #1553.

 

I also changed the CONFIG_HZ value from 100 to 1000 in the Linux kernel .config file but that got reverted back to 100 during the build process…

 

Thanks in advance for your help,

 

 

Hervé