How to compile the BSP source of I.MX6 for linux-3.14.52 kernel?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to compile the BSP source of I.MX6 for linux-3.14.52 kernel?

1,420件の閲覧回数
wwfdzh2012
Contributor I

How to compile the BSP source of I.MX6 for linux-3.14.52 kernel,I refer to the document: White Paper | Get started with OpenCL on i.MX6 ,and do it step by step,but I meet some problem while compiling kernel,error message show below,I see the kernel Makefile files,but no found the imx6q.o compile condition,so, I don't know how to fix the problem,please help me,I upload my ltib project configuration files ,thank you.

+ [ -f /home/joker/ltib/config/platform/imx/imx6_defconfig.dev ]
+ diff -q ./.config /home/joker/ltib/config/platform/imx/imx6_defconfig.dev
+ [ -n ]
+ grep -q VERSION = 2 Makefile
+ [ %{kernel_series} = 2.4 ]
+ make ARCH=arm CROSS_COMPILE= HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ uImage
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
CC drivers/mxc/ipu3/ipu_common.o
CC drivers/mxc/ipu3/ipu_ic.o
CC drivers/mxc/ipu3/ipu_disp.o
make[3]: *** No rule to make target 'drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/imx6q.o', needed by 'drivers/mxc/gpu-viv/galcore.o'. Stop.
scripts/Makefile.build:455: recipe for target 'drivers/mxc/gpu-viv' failed
make[2]: *** [drivers/mxc/gpu-viv] Error 2
make[2]: *** Waiting for unfinished jobs....
CC drivers/mxc/mipi/mxc_mipi_csi2.o
LD drivers/nfc/built-in.o
CC drivers/pinctrl/core.o
CC drivers/of/base.o
CC drivers/of/device.o
CC drivers/of/platform.o
CC drivers/mxc/ipu3/ipu_capture.o
CC drivers/pinctrl/pinctrl-utils.o
CC drivers/of/fdt.o
CC drivers/mxc/ipu3/ipu_device.o
CC drivers/of/address.o
LD drivers/platform/built-in.o
CC drivers/power/power_supply_core.o
LD drivers/mxc/mipi/built-in.o
CC drivers/power/power_supply_sysfs.o
CC drivers/mxc/ipu3/ipu_calc_stripes_sizes.o
CC drivers/pinctrl/pinmux.o
CC drivers/of/irq.o
CC drivers/of/of_net.o
CC drivers/of/of_mdio.o
CC drivers/pinctrl/pinconf.o
CC drivers/pinctrl/devicetree.o
CC drivers/mxc/ipu3/vdoa.o
CC drivers/power/power_supply_leds.o
CC drivers/power/sabresd_battery.o
CC drivers/pinctrl/pinctrl-imx.o
CC drivers/of/of_mtd.o
CC drivers/mxc/ipu3/ipu_pixel_clk.o
CC drivers/pps/pps.o
LD drivers/power/power_supply.o
LD drivers/mxc/ipu3/mxc_ipu.o
CC drivers/pinctrl/pinctrl-imx6q.o
LD drivers/mxc/ipu3/built-in.o
CC drivers/pinctrl/pinctrl-imx6dl.o
CC drivers/pps/kapi.o
scripts/Makefile.build:455: recipe for target 'drivers/mxc' failed
make[1]: *** [drivers/mxc] Error 2
make[1]: *** Waiting for unfinished jobs....
CC drivers/pps/sysfs.o
LD drivers/pps/generators/built-in.o
LD drivers/pps/clients/built-in.o
LD drivers/of/built-in.o
LD drivers/pinctrl/built-in.o
LD drivers/power/built-in.o
LD drivers/pps/pps_core.o
LD drivers/pps/built-in.o
Makefile:845: recipe for target 'drivers' failed
make: *** [drivers] Error 2
error: Bad exit status from /home/joker/ltib/tmp/rpm-tmp.96120 (%build)


RPM build errors:
Bad exit status from /home/joker/ltib/tmp/rpm-tmp.96120 (%build)
Build time for kernel26-dir-build: 8 seconds

Original Attachment has been moved to: config.tar.gz

ラベル(4)
タグ(4)
0 件の賞賛
返信
1 返信

875件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

attached is the Freescale_Yocto_Project_User's_Guide.pdf. Please follow the steps in the guide to build the BSP.

0 件の賞賛
返信