imx6u kernel drivers problem

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

imx6u kernel drivers problem

1,127 Views
chenjun
Contributor I

Recent ,I built the imx6u kernel with 3.14 version . tThere was a problem executing the command 'make' ,the problem is below:

drivers/mmc/host/sdhci-pltfm.c: In function 'sdhci_pltfm_suspend':
drivers/mmc/host/sdhci-pltfm.c:246:2: error: implicit declaration of function "p inctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration] pinctri_pm select sleep state(dev);

drivers/mmc/host/sdhci-pltfm.c: In function 'sdhci pltfm resume':
drivers/mmc/host/sdhci-pltfm.c:256:2: error: implicit declaration of function 'p inctri_pm select default state' [-werror-implicit-function-declaration] pinctrl_pm select default state(dev);
cc1: some warnings being treated as errors
scripts/Makefile.build:314: recipe for target 'drivers/mmc/host/sdhci-pltfm.o'f ailed
make[3]: *** [drivers/mmc/host/sdhci-pltfm.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/mmc/host' failed make[2]:*** [drivers/mmc/host] Error 2
scripts/Makefile.build:455: recipe for target "drivers/mmc' failed make[1]: *** [drivers/mmc] Error 2
Makefile:845: recipe for target 'drivers' failed make: *** [driversi Erron 2

0 Kudos
4 Replies

1,120 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

And could you tell us you platform and your steps?

0 Kudos

1,118 Views
chenjun
Contributor I

i used virtual machine 'ubuntu 16.04' in VM15. then i do as followed:

first i built uboot config with the command "make mx6ul_14x14_evk_defconfig" ;

then  i built uboot with the command "make u-boot.imx -j16";

After compiling, some CMD files appear, and no DTB files appear;

then i built kernel config with command 'make ARCH=arm menuconfig'(The source code of the kernel is not officially provided);

then i built kernel with command 'make';

then the problem occured;

If it's a source code problem, can you provide an email, I'll send it to you, can you help me to have a look

0 Kudos

1,120 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Which i.MX product are you uisng?

0 Kudos

1,117 Views
chenjun
Contributor I

product is IMX6U

0 Kudos