Build Error on kernel port

This is the place for software discussions not having a dedicated subforum

Build Error on kernel port

Postby akhilrplr@gmail.com » Thu Jul 28, 2016 2:35 pm

I am having 3.14 working kernel for my imx6,i want to port 3.10 to imx6 , during the build process i am getting the following error, and am i stuck, please help to rectify the problem.
i am using the same boradconfig and dtb patch file form 3.14.

arch/arm/mach-imx/built-in.o: In function `imx6sl_enter_wait':
platform-spi_imx.c:(.text+0x246c): undefined reference to `ultra_low_bus_freq_mode'
platform-spi_imx.c:(.text+0x2470): undefined reference to `audio_bus_freq_mode'
arch/arm/mach-imx/built-in.o: In function `imx6sx_enter_wait':
platform-spi_imx.c:(.text+0x259c): undefined reference to `low_bus_freq_mode'
arch/arm/mach-imx/built-in.o: In function `mu_work_handler':
platform-spi_imx.c:(.text+0x5278): undefined reference to `request_bus_freq'
platform-spi_imx.c:(.text+0x52a4): undefined reference to `release_bus_freq'
arch/arm/mach-imx/built-in.o: In function `imx6sl_set_wait_clk':
platform-spi_imx.c:(.text+0x6610): undefined reference to `low_bus_freq_mode'
platform-spi_imx.c:(.text+0x6614): undefined reference to `audio_bus_freq_mode'
arch/arm/mach-imx/built-in.o: In function `imx6sl_cpuidle_init':
platform-spi_imx.c:(.init.text+0x4194): undefined reference to `imx6sl_low_power_wfi'
platform-spi_imx.c:(.init.text+0x41a0): undefined reference to `mx6sl_lpm_wfi_start'
platform-spi_imx.c:(.init.text+0x41a4): undefined reference to `mx6sl_lpm_wfi_end'
arch/arm/mach-imx/built-in.o: In function `imx6sx_cpuidle_init':
platform-spi_imx.c:(.init.text+0x4468): undefined reference to `imx6sx_low_power_idle'
platform-spi_imx.c:(.init.text+0x446c): undefined reference to `mx6sx_lpm_wfi_start'
platform-spi_imx.c:(.init.text+0x4470): undefined reference to `mx6sx_lpm_wfi_end'
arch/arm/mach-imx/built-in.o: In function `imx6q_map_io':
platform-spi_imx.c:(.init.text+0x8c08): undefined reference to `imx6_busfreq_map_io'
arch/arm/mach-imx/built-in.o: In function `imx6sl_map_io':
platform-spi_imx.c:(.init.text+0xb758): undefined reference to `imx6_busfreq_map_io'
arch/arm/mach-imx/built-in.o: In function `imx6sx_map_io':
platform-spi_imx.c:(.init.text+0xfbb0): undefined reference to `imx6_busfreq_map_io'
drivers/built-in.o: In function `imx6_pcie_host_init':
vf610_adc.c:(.text+0x229a4): undefined reference to `request_bus_freq'
vf610_adc.c:(.text+0x229f8): undefined reference to `release_bus_freq'
vf610_adc.c:(.text+0x22a68): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `mxc_epdc_fb_runtime_resume':
vf610_adc.c:(.text+0x40cd0): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `mxc_epdc_fb_runtime_suspend':
vf610_adc.c:(.text+0x40ce4): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `mxsfb_runtime_resume':
vf610_adc.c:(.text+0x48c24): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `mxsfb_runtime_suspend':
vf610_adc.c:(.text+0x48c4c): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `pxp_runtime_resume':
vf610_adc.c:(.text+0x4f5e4): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `pxp_runtime_suspend':
vf610_adc.c:(.text+0x4f60c): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `regulator_disable':
vf610_adc.c:(.text+0x57668): undefined reference to `set_cpufreq_lock'
drivers/built-in.o: In function `regulator_enable':
vf610_adc.c:(.text+0x577cc): undefined reference to `set_cpufreq_lock'
drivers/built-in.o: In function `ahci_imx_error_handler':
vf610_adc.c:(.text+0xeb8c4): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `imx_ahci_suspend':
vf610_adc.c:(.text+0xeb924): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `imx6q_sata_exit':
vf610_adc.c:(.text+0xeb97c): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `imx_ahci_resume':
vf610_adc.c:(.text+0xebd88): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `imx6q_sata_init':
vf610_adc.c:(.text+0xebef4): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `fec_runtime_resume':
vf610_adc.c:(.text+0x13a43c): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `fec_runtime_suspend':
vf610_adc.c:(.text+0x13a450): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `imx_controller_resume':
vf610_adc.c:(.text+0x1a5ef0): undefined reference to `request_bus_freq'
vf610_adc.c:(.text+0x1a5f0c): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `imx_controller_suspend':
vf610_adc.c:(.text+0x1a605c): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `ci_hdrc_imx_remove':
vf610_adc.c:(.text+0x1a61d0): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `ci_hdrc_imx_probe':
vf610_adc.c:(.text+0x1a646c): undefined reference to `request_bus_freq'
vf610_adc.c:(.text+0x1a6488): undefined reference to `release_bus_freq'
vf610_adc.c:(.text+0x1a6724): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `sdhci_esdhc_runtime_resume':
vf610_adc.c:(.text+0x24b78c): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `sdhci_esdhc_runtime_suspend':
vf610_adc.c:(.text+0x24b7f8): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `sdhci_esdhc_imx_probe':
vf610_adc.c:(.text+0x24c294): undefined reference to `request_bus_freq'
vf610_adc.c:(.text+0x24c2a0): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `gpu_runtime_resume':
vf610_adc.c:(.text+0x255900): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `gpu_runtime_suspend':
vf610_adc.c:(.text+0x255914): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `ipu_runtime_resume':
vf610_adc.c:(.text+0x27332c): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `ipu_runtime_suspend':
vf610_adc.c:(.text+0x273340): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `vpu_runtime_resume':
vf610_adc.c:(.text+0x289084): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `vpu_runtime_suspend':
vf610_adc.c:(.text+0x289098): undefined reference to `release_bus_freq'
sound/built-in.o: In function `fsl_ssi_runtime_resume':
last.c:(.text+0x2e90c): undefined reference to `request_bus_freq'
sound/built-in.o: In function `fsl_ssi_runtime_suspend':
last.c:(.text+0x2e920): undefined reference to `release_bus_freq'
sound/built-in.o: In function `fsl_spdif_runtime_resume':
last.c:(.text+0x3179c): undefined reference to `request_bus_freq'
sound/built-in.o: In function `fsl_spdif_runtime_suspend':
last.c:(.text+0x317b0): undefined reference to `release_bus_fre

please help..
akhilrplr@gmail.com
 
Posts: 1
Joined: Thu Jul 28, 2016 2:29 pm

Re: Build Error on kernel port

Postby Tapani » Fri Jul 29, 2016 10:52 am

Backporting can be a pain. How come you don't use the 3.10 for iMX6, but try to backport 3.14 code?

Also many of your errors can be avoided by disabling settings in kernel config. You dont need vf610 support? Or imx6sl?
Tapani
Site Admin
 
Posts: 682
Joined: Tue Aug 27, 2013 8:32 am


Return to Software - General

Who is online

Users browsing this forum: Must_ba and 3 guests