Skip to contentSkip to conversation

Changing Clock to 182MHz (14 x 13MHz) on OMAP5912...

DISCUSSION Daniel Petrini 3 participants 5 messages Aug 16, 2006

lore
Share & tools
lore
#0 lore raw

Hi Danilo,

Quoted 3 lines

I can't just put "CONFIG_OMAP_ARM_182MHZ" in the omap_osk_5912_defconfig. Because there is no 182MHz option on <make menuconfig>.

Due to the lack of a 13 MHz cristal in the default configuration...

Quoted 2 lines

I will continue looking for some workaround...
Any help on putting the 182MHz option in the make <menuconfig> would be great.

There is an ugly workaround:
You can force it by editing resulting .config file, I guess. To do so, select 192 MHz normally in make menuconfig and then edit .config file, find the CONFIG_OMAP_ARM_192MHZ and exchange it for CONFIG_OMAP_ARM_182MHZ.
Then make as usual.
If there is any other dependency you will need to resolv each of them. Note that you are beyond valid and tested configurations.

Regards and good luck,

Daniel

Quoted 58 lines · Daniel Petrini

Hi Danilo,

These happens likely because OSK has a 12MHz cristal... I think that you can change it as you suggests once you have the proper cristal frequency available. But redirect this query to the list to have more opinions. I never tried that.

Please, check the frequency multipliers in the clock.h file as I pointed. Confirm that they are valid for 5912. Note that they are for a 13 MHZ cristal....

Cheers,

Daniel

Hi Daniel,

It's available just for OMAP730 in <make menuconfig>. For OMPA5912 i get 216/192/168... etc...

I check at omap_osk_5912_defconfig. There is no 182MHz. I was wondering if i can just put: "CONFIG_OMAP_ARM_182MHZ" in the
omap_osk_5912_defconfig.

Thanks for your help...

Danilo

Quoted 27 lines · Daniel Petrini

Hi Danilo,

It seems that there is this option vailable in the <make menuconfig>, once there is this clock speed in the arch/arm/mach-omap1/clock.h file:

#if defined(CONFIG_OMAP_ARM_182MHZ)
{ 182000000, 13000000, 182000000, 0x050e, 0x2710 }, /* 1/1/2/2/4/8 */
#endif

Take a look at OSK configuration in it.

Regards,

Daniel

Quoted 9 lines

Hi all,

I have an OMAP 5912, and I need a 14 x 13MHz (182MHz) instead of 16 x 12MHz (192MHz) kernel... What can i do to add this option when i build the Kernel???

Tkanks...

Danilo

#1 lore raw

Hi Daniel...

I´ll Try this workaround...
I´m studing some references on OMAP Clocks.

As soon as I test, i let you know...

Regards and Thanks...

Danilo

Quoted 85 lines · Daniel Petrini

Hi Danilo,

Quoted 3 lines

I can't just put "CONFIG_OMAP_ARM_182MHZ" in the omap_osk_5912_defconfig. Because there is no 182MHz option on <make menuconfig>.

Due to the lack of a 13 MHz cristal in the default configuration...

Quoted 2 lines

I will continue looking for some workaround...
Any help on putting the 182MHz option in the make <menuconfig> would be great.

There is an ugly workaround:
You can force it by editing resulting .config file, I guess. To do so, select 192 MHz normally in make menuconfig and then edit .config file, find the CONFIG_OMAP_ARM_192MHZ and exchange it for CONFIG_OMAP_ARM_182MHZ.
Then make as usual.
If there is any other dependency you will need to resolv each of them. Note that you are beyond valid and tested configurations.

Regards and good luck,

Daniel

Quoted 58 lines · Daniel Petrini

Hi Danilo,

These happens likely because OSK has a 12MHz cristal... I think that you can change it as you suggests once you have the proper cristal frequency available. But redirect this query to the list to have more opinions. I never tried that.

Please, check the frequency multipliers in the clock.h file as I pointed. Confirm that they are valid for 5912. Note that they are for a 13 MHZ cristal....

Cheers,

Daniel

Hi Daniel,

It's available just for OMAP730 in <make menuconfig>. For OMPA5912 i get 216/192/168... etc...

I check at omap_osk_5912_defconfig. There is no 182MHz. I was wondering if i can just put: "CONFIG_OMAP_ARM_182MHZ" in the
omap_osk_5912_defconfig.

Thanks for your help...

Danilo

Quoted 27 lines · Daniel Petrini

Hi Danilo,

It seems that there is this option vailable in the <make menuconfig>, once there is this clock speed in the arch/arm/mach-omap1/clock.h file:

#if defined(CONFIG_OMAP_ARM_182MHZ)
{ 182000000, 13000000, 182000000, 0x050e, 0x2710 }, /* 1/1/2/2/4/8 */
#endif

Take a look at OSK configuration in it.

Regards,

Daniel

Quoted 9 lines

Hi all,

I have an OMAP 5912, and I need a 14 x 13MHz (182MHz) instead of 16 x 12MHz (192MHz) kernel... What can i do to add this option when i build the Kernel???

Tkanks...

Danilo

#2 lore raw
In reply to Daniel Petrini

Or how about changing Kconfig in arch/arm/mach-omap1 so that config OMAP_ARM_182MHZ
bool "OMAP ARM 182 MHz CPU"
depends on ARCH_OMAP1 && ARCH_OMAP730
help
Enable 182MHz clock for OMAP CPU. If unsure, say N.

Changes to
config OMAP_ARM_182MHZ
bool "OMAP ARM 182 MHz CPU"
depends on ARCH_OMAP1 && (ARCH_OMAP730 || ARCH_OMAP16XX) help
Enable 182MHz clock for OMAP CPU. If unsure, say N.

I haven't tried this out, but you at least have the 182MHz option when you make menuconfig.

Steve K.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Petrini
Sent: Wednesday, August 16, 2006 7:01 AM
To: [email protected]
Cc: OMAP-Linux
Subject: Re: Changing Clock to 182MHz (14 x 13MHz) on OMAP5912...

Hi Danilo,

Quoted 3 lines

I can't just put "CONFIG_OMAP_ARM_182MHZ" in the omap_osk_5912_defconfig. Because there is no 182MHz option on <make menuconfig>.

Due to the lack of a 13 MHz cristal in the default configuration...

Quoted 2 lines

I will continue looking for some workaround...
Any help on putting the 182MHz option in the make <menuconfig> would

be great.

There is an ugly workaround:
You can force it by editing resulting .config file, I guess. To do so, select 192 MHz normally in make menuconfig and then edit .config file, find the CONFIG_OMAP_ARM_192MHZ and exchange it for CONFIG_OMAP_ARM_182MHZ.
Then make as usual.
If there is any other dependency you will need to resolv each of them. Note that you are beyond valid and tested configurations.

Regards and good luck,

Daniel

Quoted 25 lines · Daniel Petrini

Hi Danilo,

These happens likely because OSK has a 12MHz cristal... I think that you can change it as you suggests once you have the proper cristal frequency available. But redirect this query to the list to have more opinions. I never tried that.

Please, check the frequency multipliers in the clock.h file as I pointed. Confirm that they are valid for 5912. Note that they are for a 13 MHZ cristal....

Cheers,

Daniel

Hi Daniel,

It's available just for OMAP730 in <make menuconfig>. For OMPA5912 i get 216/192/168... etc...

I check at omap_osk_5912_defconfig. There is no 182MHz. I was wondering if i can just put: "CONFIG_OMAP_ARM_182MHZ" in the
omap_osk_5912_defconfig.

Quoted 9 lines

Thanks for your help...

Danilo

Quoted 3 lines · Daniel Petrini

Hi Danilo,

It seems that there is this option vailable in the <make

menuconfig>,

Quoted 5 lines
Quoted 5 lines

once there is this clock speed in the arch/arm/mach-omap1/clock.h file:

#if defined(CONFIG_OMAP_ARM_182MHZ)
{ 182000000, 13000000, 182000000, 0x050e, 0x2710 }, /* 1/1/2/2/4/8

*/

Quoted 4 lines
Quoted 4 lines

#endif

Take a look at OSK configuration in it.

Quoted 8 lines
Quoted 8 lines

Regards,

Daniel

Quoted 3 lines

Hi all,

I have an OMAP 5912, and I need a 14 x 13MHz (182MHz) instead of

16

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

x 12MHz (192MHz) kernel... What can i do to add this option when i build the Kernel???

Tkanks...

Danilo

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

#3 lore raw

Hi Steven,

I make what you said, but there is no 182MHz in <make menuconfig>...

Regards and Thanks for help

Danilo

Quoted 121 lines · Steven

Or how about changing Kconfig in arch/arm/mach-omap1 so that config OMAP_ARM_182MHZ
bool "OMAP ARM 182 MHz CPU"
depends on ARCH_OMAP1 && ARCH_OMAP730
help
Enable 182MHz clock for OMAP CPU. If unsure, say N.

Changes to
config OMAP_ARM_182MHZ
bool "OMAP ARM 182 MHz CPU"
depends on ARCH_OMAP1 && (ARCH_OMAP730 || ARCH_OMAP16XX) help
Enable 182MHz clock for OMAP CPU. If unsure, say N.

I haven't tried this out, but you at least have the 182MHz option when you make menuconfig.

Steve K.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Petrini
Sent: Wednesday, August 16, 2006 7:01 AM
To: [email protected]
Cc: OMAP-Linux
Subject: Re: Changing Clock to 182MHz (14 x 13MHz) on OMAP5912...

Hi Danilo,

Quoted 3 lines

I can't just put "CONFIG_OMAP_ARM_182MHZ" in the omap_osk_5912_defconfig. Because there is no 182MHz option on <make menuconfig>.

Due to the lack of a 13 MHz cristal in the default configuration...

Quoted 2 lines

I will continue looking for some workaround...
Any help on putting the 182MHz option in the make <menuconfig> would

be great.

There is an ugly workaround:
You can force it by editing resulting .config file, I guess. To do so, select 192 MHz normally in make menuconfig and then edit .config file, find the CONFIG_OMAP_ARM_192MHZ and exchange it for CONFIG_OMAP_ARM_182MHZ.
Then make as usual.
If there is any other dependency you will need to resolv each of them. Note that you are beyond valid and tested configurations.

Regards and good luck,

Daniel

Quoted 25 lines · Daniel Petrini

Hi Danilo,

These happens likely because OSK has a 12MHz cristal... I think that you can change it as you suggests once you have the proper cristal frequency available. But redirect this query to the list to have more opinions. I never tried that.

Please, check the frequency multipliers in the clock.h file as I pointed. Confirm that they are valid for 5912. Note that they are for a 13 MHZ cristal....

Cheers,

Daniel

Hi Daniel,

It's available just for OMAP730 in <make menuconfig>. For OMPA5912 i get 216/192/168... etc...

I check at omap_osk_5912_defconfig. There is no 182MHz. I was wondering if i can just put: "CONFIG_OMAP_ARM_182MHZ" in the
omap_osk_5912_defconfig.

Quoted 9 lines

Thanks for your help...

Danilo

Quoted 3 lines · Daniel Petrini

Hi Danilo,

It seems that there is this option vailable in the <make

menuconfig>,

Quoted 5 lines
Quoted 5 lines

once there is this clock speed in the arch/arm/mach-omap1/clock.h file:

#if defined(CONFIG_OMAP_ARM_182MHZ)
{ 182000000, 13000000, 182000000, 0x050e, 0x2710 }, /* 1/1/2/2/4/8

*/

Quoted 4 lines
Quoted 4 lines

#endif

Take a look at OSK configuration in it.

Quoted 8 lines
Quoted 8 lines

Regards,

Daniel

Quoted 3 lines

Hi all,

I have an OMAP 5912, and I need a 14 x 13MHz (182MHz) instead of

16

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

x 12MHz (192MHz) kernel... What can i do to add this option when i build the Kernel???

Tkanks...

Danilo

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

#4 lore raw

Hi Steven,

Ignore my last e-mail...
I used the wrong string and take about 1 hour to see that... :(

Thanks for hint...
I´ll try the 182MHz build and let you know if it works...

Regards and Thanks again...

Danilo

Quoted 131 lines · Danilo Caravana

Hi Steven,

I make what you said, but there is no 182MHz in <make menuconfig>...

Regards and Thanks for help

Danilo

Quoted 121 lines · Steven

Or how about changing Kconfig in arch/arm/mach-omap1 so that config OMAP_ARM_182MHZ
bool "OMAP ARM 182 MHz CPU"
depends on ARCH_OMAP1 && ARCH_OMAP730
help
Enable 182MHz clock for OMAP CPU. If unsure, say N.

Changes to
config OMAP_ARM_182MHZ
bool "OMAP ARM 182 MHz CPU"
depends on ARCH_OMAP1 && (ARCH_OMAP730 || ARCH_OMAP16XX) help
Enable 182MHz clock for OMAP CPU. If unsure, say N.

I haven't tried this out, but you at least have the 182MHz option when you make menuconfig.

Steve K.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Petrini
Sent: Wednesday, August 16, 2006 7:01 AM
To: [email protected]
Cc: OMAP-Linux
Subject: Re: Changing Clock to 182MHz (14 x 13MHz) on OMAP5912...

Hi Danilo,

Quoted 3 lines

I can't just put "CONFIG_OMAP_ARM_182MHZ" in the omap_osk_5912_defconfig. Because there is no 182MHz option on <make menuconfig>.

Due to the lack of a 13 MHz cristal in the default configuration...

Quoted 2 lines

I will continue looking for some workaround...
Any help on putting the 182MHz option in the make <menuconfig> would

be great.

There is an ugly workaround:
You can force it by editing resulting .config file, I guess. To do so, select 192 MHz normally in make menuconfig and then edit .config file, find the CONFIG_OMAP_ARM_192MHZ and exchange it for CONFIG_OMAP_ARM_182MHZ.
Then make as usual.
If there is any other dependency you will need to resolv each of them. Note that you are beyond valid and tested configurations.

Regards and good luck,

Daniel

Quoted 25 lines · Daniel Petrini

Hi Danilo,

These happens likely because OSK has a 12MHz cristal... I think that you can change it as you suggests once you have the proper cristal frequency available. But redirect this query to the list to have more opinions. I never tried that.

Please, check the frequency multipliers in the clock.h file as I pointed. Confirm that they are valid for 5912. Note that they are for a 13 MHZ cristal....

Cheers,

Daniel

Hi Daniel,

It's available just for OMAP730 in <make menuconfig>. For OMPA5912 i get 216/192/168... etc...

I check at omap_osk_5912_defconfig. There is no 182MHz. I was wondering if i can just put: "CONFIG_OMAP_ARM_182MHZ" in the
omap_osk_5912_defconfig.

Quoted 9 lines

Thanks for your help...

Danilo

Quoted 3 lines · Daniel Petrini

Hi Danilo,

It seems that there is this option vailable in the <make

menuconfig>,

Quoted 5 lines
Quoted 5 lines

once there is this clock speed in the arch/arm/mach-omap1/clock.h file:

#if defined(CONFIG_OMAP_ARM_182MHZ)
{ 182000000, 13000000, 182000000, 0x050e, 0x2710 }, /* 1/1/2/2/4/8

*/

Quoted 4 lines
Quoted 4 lines

#endif

Take a look at OSK configuration in it.

Quoted 8 lines
Quoted 8 lines

Regards,

Daniel

Quoted 3 lines

Hi all,

I have an OMAP 5912, and I need a 14 x 13MHz (182MHz) instead of

16

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

x 12MHz (192MHz) kernel... What can i do to add this option when i build the Kernel???

Tkanks...

Danilo

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source