Kernel compilation failed(rel_imx_4.1.15_1.1.0_ga)

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

Kernel compilation failed(rel_imx_4.1.15_1.1.0_ga)

4,402 Views
shyamjithkv
Contributor III

Hi,

I am trying to compile kernel source ( rel_imx_4.1.15_1.1.0_ga) with imx_v6_v7_defconfig for my iMX6Q SABRE AI EVK. But I am getting the following error,

make -j4 uImage LOADADDR=0x10008000

.

.

.

  LINK    vmlinux

  LD      vmlinux.o

  MODPOST vmlinux.o

  GEN     .version

  CHK     include/generated/compile.h

  UPD     include/generated/compile.h

  CC      init/version.o

  LD      init/built-in.o

drivers/built-in.o: In function `mxsfb_probe':

debugfs.c:(.text+0x459dc): undefined reference to `mxc_dispdrv_gethandle'

make: *** [vmlinux] Error 1

Please suggest the correct configuration for SABRE AI board.

My aim is to test hibernation (suspend-to-disk) on the same board with a gstreamer based  audio/video Qt5 application, and i found  that kernel 4.1.15 have support for the same. Has this been tried before? Is there any known issues with hibernation (supend-to-disk) on ARM?

Thanks and Regards,

Shyam

Labels (1)
8 Replies

1,426 Views
josvisser
Contributor II

I have the same error with rel_imx_4.1.15_1.1.0_ga

Is there a patch to solve this?

0 Kudos

1,426 Views
fabio_estevam
NXP Employee
NXP Employee

The defconfig to be used is imx_v7_defconfig instead of imx_v6_v7_defconfig.

1,426 Views
wenfu
Contributor III

Hi Fabio, I have met the same thing Wichi defconfig i.Max6Q use?imx_v6_v7_defconfig can not work . you mean imx_v7_defconfig can support i.Max6Q?

0 Kudos

1,426 Views
fabio_estevam
NXP Employee
NXP Employee

Hi Wen,

Yes, imx_v7_defconfig supports all mx6 SoCs.

Not sure what you mean by i.mx6maxq though.

1,426 Views
wenfu
Contributor III

Thank you Fabio. I use  imx_v7_defconfig to make a kernel, it works.

0 Kudos

1,426 Views
jimmychan
NXP TechSupport
NXP TechSupport

are you following the steps in Yocto User's Guide to build the BSP?

0 Kudos

1,426 Views
shyamjithkv
Contributor III

Hi jimmychan,

No, I got the rel_imx_4.1.15_1.1.0_ga kernel source code from freescale git and i am just running the commands

make imx_v6_v7-defconfig

make -j4 uImage LOADADDR=10008000

Note: imx_v7_defconfig seems working fine with imx6q sabre AI board

Thanks

shyam

0 Kudos

1,426 Views
steffendoster
Contributor IV

Maybe I have a solution for you. It seems that the imx_v6_v7-defconfig has some incompatibilities.
At least I finished a compilation with attached .config-file. Would you give it a try?

Unfortunately the Kernel doesn't start completely. It seems to stuck after about 3 to 4 seconds at different states.

0 Kudos