AnsweredAssumed Answered

i.MX7 Kernel Config

Question asked by Ryan Schaefer on Feb 20, 2018
Latest reply on Feb 27, 2018 by Ryan Schaefer

Linux Kernel v4.9.11_1.0.0_ga commit 427eb83 fails to build when only configured for IMX7D SOC. A diff for the kernel configuration patch as attached. Putting this here because the imx kernel repository has no public facing issue tracker.


gcc version 7.3.0


Compiler Output:

drivers/built-in.o: In function `imx7d_charger_primary_detection':
core.c:(.text+0x24df58): undefined reference to `bq2429x_set_ilim'
arch/arm/mach-imx/built-in.o: In function `imx_anatop_pre_suspend':
platform-imx-dma.c:(.text+0xf5c): undefined reference to `imx_gpc_usb_wakeup_enabled'
platform-imx-dma.c:(.text+0xf68): undefined reference to `imx_gpc_enet_wakeup_enabled'
arch/arm/mach-imx/built-in.o: In function `imx_anatop_post_resume':
platform-imx-dma.c:(.text+0x10d0): undefined reference to `imx_gpc_usb_wakeup_enabled'
platform-imx-dma.c:(.text+0x10dc): undefined reference to `imx_gpc_enet_wakeup_enabled'
Makefile:969: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1





Building also fails if config option CONFIG_ARM_IMX6Q_CPUFREQ is not set. This should also be fixed.