imx6Q kernel 3.14.28 problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6Q kernel 3.14.28 problem

1,305 Views
lisong6080
Contributor II

Hi:

    I face a problem as follow:

    (kernel version : 3.14.28  处理器:imx6Q)

when CPU Frequency scaling is disabled.
make zImage
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: “include/generated/mach-types.h”已是最新。
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  SKIPPED include/generated/compile.h
  CC      arch/arm/mach-imx/clk-imx6sl.o
  LD      arch/arm/mach-imx/built-in.o
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  SKIPPED include/generated/compile.h
arch/arm/mach-imx/built-in.o: In function `imx6sl_set_wait_clk':
:(.text+0x468c): undefined reference to `low_bus_freq_mode'
:(.text+0x4694): undefined reference to `low_bus_freq_mode'
arch/arm/mach-imx/built-in.o: In function `mu_work_handler':
:(.text+0x4ec8): undefined reference to `request_bus_freq'
:(.text+0x4ef0): undefined reference to `release_bus_freq'
arch/arm/mach-imx/built-in.o: In function `imx6q_map_io':
:(.init.text+0x9944): undefined reference to `imx6_busfreq_map_io'
arch/arm/mach-imx/built-in.o: In function `imx6sl_map_io':
:(.init.text+0xcab4): undefined reference to `imx6_busfreq_map_io'
arch/arm/mach-imx/built-in.o: In function `imx6sx_map_io':
:(.init.text+0x114ec): undefined reference to `imx6_busfreq_map_io'
drivers/built-in.o: In function `mxc_epdc_fb_runtime_resume':
:(.text+0x2bedc): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `mxc_epdc_fb_runtime_suspend':
:(.text+0x2bef0): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `mxsfb_runtime_resume':
:(.text+0x326cc): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `mxsfb_runtime_suspend':
:(.text+0x326e0): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `pxp_clk_enable':
:(.text+0x39070): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `pxp_clk_disable':
:(.text+0x39180): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `fec_runtime_resume':
:(.text+0x129eb0): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `fec_runtime_suspend':
:(.text+0x129ec4): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `imx_controller_resume':
:(.text+0x180fec): undefined reference to `request_bus_freq'
:(.text+0x18100c): undefined reference to `release_bus_freq'
:(.text+0x1810a8): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `imx_controller_suspend':
:(.text+0x18115c): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `ci_hdrc_imx_remove':
:(.text+0x181244): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `ci_hdrc_imx_probe':
:(.text+0x181614): undefined reference to `request_bus_freq'
:(.text+0x181634): undefined reference to `release_bus_freq'
:(.text+0x181738): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `sdhci_esdhc_runtime_resume':
:(.text+0x20e268): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `sdhci_esdhc_runtime_suspend':
:(.text+0x20e2d4): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `sdhci_esdhc_imx_probe':
:(.text+0x20ea88): undefined reference to `release_bus_freq'
:(.text+0x20eabc): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `gpu_runtime_resume':
:(.text+0x218940): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `gpu_runtime_suspend':
:(.text+0x218954): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `ipu_runtime_suspend':
:(.text+0x239360): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `ipu_runtime_resume':


:(.text+0x239374): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `vpu_runtime_resume':
:(.text+0x24b238): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `vpu_runtime_suspend':
:(.text+0x24b24c): undefined reference to `release_bus_freq'
sound/built-in.o: In function `fsl_ssi_runtime_resume':
:(.text+0x2f13c): undefined reference to `request_bus_freq'
sound/built-in.o: In function `fsl_ssi_runtime_suspend':
:(.text+0x2f150): undefined reference to `release_bus_freq'
sound/built-in.o: In function `fsl_spdif_runtime_resume':
:(.text+0x31144): undefined reference to `request_bus_freq'
sound/built-in.o: In function `fsl_spdif_runtime_suspend':
:(.text+0x31158): undefined reference to `release_bus_freq'
Makefile:829: recipe for target 'vmlinux' failed
     
   How deal with this problem? Thanks  a lot!
0 Kudos
Reply
3 Replies

1,168 Views
joanxie
NXP TechSupport
NXP TechSupport

how did you disable the CPU Frequency scaling?

0 Kudos
Reply

1,168 Views
lisong6080
Contributor II
I want to use the file of xenomai. so .    So  I disable cpu frequency scaling in by 'menuconfig'.
0 Kudos
Reply

1,168 Views
joanxie
NXP TechSupport
NXP TechSupport

I didn't build 3.14.28 for imx6 before, I tested 4.14.98 on imx8mm, I use the command "bitbake -c menuconfig linux-imx", then remove the start in the CPU Power Management > CPU Frequency scaling, then bitbake linux-imx successfully, I think 3.14.28 should use the same way

0 Kudos
Reply