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.

Power management in Linux.

Hi,

I am trying to compile linux kernel "linux-2.6.34-psp04.00.00.07" that comes with "ti-ezsdk_c6a816x-evm_5_00_00_56". However, if I enable cpu_freq framework in the kernel menu or I enable power management features (suspend to RAM), the compilation process crashes. For example:

  CC      drivers/mmc/host/omap_hsmmc.o
drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_suspend_cdirq':
drivers/mmc/host/omap_hsmmc.c:266: error: 'version' undeclared (first use in this function)
drivers/mmc/host/omap_hsmmc.c:266: error: (Each undeclared identifier is reported only once
drivers/mmc/host/omap_hsmmc.c:266: error: for each function it appears in.)
drivers/mmc/host/omap_hsmmc.c:271: error: expected ';' before 'return'
drivers/mmc/host/omap_hsmmc.c:272: warning: no return statement in function returning non-void
drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_resume_cdirq':
drivers/mmc/host/omap_hsmmc.c:280: error: 'version' undeclared (first use in this function)
drivers/mmc/host/omap_hsmmc.c:285: error: expected ';' before 'return'
drivers/mmc/host/omap_hsmmc.c:286: warning: no return statement in function returning non-void
make[3]: *** [drivers/mmc/host/omap_hsmmc.o] Error 1
make[2]: *** [drivers/mmc/host] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2

Are "cpu_freq" and "suspend to ram" features supported? If not, are you planning to add it? When?

Thank you.

 

  • Hi Martin,

    Those errors will encounter if we enable the PM in kernel configuration. Is there any specific requirement from your side for enabling the PM?

    In linux-2.6.34-psp04.00.00.07 release no Power Management feature is supported, on C6A816x device cpu_freq is not supported and "suspend to ram" feature will be supported in next releaseas.

    Regards

    AnilKumar