I read what QorIQ SDK said about the QUICC engine block. From what I understand, I need to enable the TDMs in kernel in order to use the UART on the QUICC. Is it possible just to use QUICC just for UART communication? or is there some fixed functionality that comes along with using the QUICC?
I keep running ann error with the menuconfig the for the kernel. I can't include the freescale quicc engine support, ucc tdm driver for freescale qe engine, slic maxim card support, or the ucc tdm test module without the make compile crashing on me. Here's what it prints out:
dho01@ubuntu:~/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr$ bitbake -c compile -f virtual/kernel
Loading cache: 100% |##################################################################################################################| ETA: 00:00:00
Loaded 3253 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-fsl-linux-gnueabi"
MACHINE = "ls1021atwr"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "1.9"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa7"
TARGET_FPU = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp = "(detachedfromb74ea96):ddf114933ccfc6e3ce51a10e8e8f95e514b73578"
meta-oe
meta-multimedia
meta-gnome
meta-networking
meta-perl
meta-python
meta-ruby
meta-filesystems
meta-webserver
toolchain-layer = "(nobranch):214e1801d0efc38d3b6142bdc0d8e58ca593e34c"
meta-freescale = "(detachedfrom7fb32a2):7fb32a20983a0ebd5503eb42e851550b0deb8679"
meta-freescale-internal = "(detachedfrom220bff8):220bff8b2030e5af7393b5870d74c6f0af0d76d1"
meta-freescale-extra = "(nobranch):ced26c806cb566b1400a2f4f26a94d8d44d13233"
meta-qt5 = "(nobranch):90919b9d86988e7da01fa2c0a07246b5b5600a5d"
meta-fsl-demos = "(nobranch):17f9da65efb5c65c1d44b5cc18584034b29a742b"
meta-browser = "(nobranch):6ae140b29f0201fe3bb470da8c96c9e142294ebf"
meta-virtualization = "(nobranch):0277cbcb47db4239d0a4aa3b37c5c6a705070951"
meta-java = "(nobranch):d5a2a31aaad8f6bdf19860f7a858b10d7dba08b6"
meta-linaro-toolchain = "(nobranch):3f1933242062d1cf473d20b86fa4582963ff9441"
meta-openstack
meta-openstack-aio-deploy
meta-openstack-compute-deploy
meta-openstack-compute-test-config
meta-openstack-controller-deploy
meta-openstack-controller-test-config
meta-openstack-qemu
meta-openstack-swift-deploy
meta-cloud-services = "(nobranch):0842ae59ce7f752aabb2459510739ec4fff8b33d"
meta-security = "(nobranch):aac972c0b88ce67a7bc9fcd83ee8793b61d4fff7"
NOTE: Preparing RunQueue
NOTE: Tainting hash to force rebuild of task /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_3.12.bb, do_compile
WARNING: /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_3.12.bb.do_compile is tainted from a forced run
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work/ls1021atwr-fsl-linux-gnueabi/linux-qoriq/3.12-r0/temp/log.do_compile.99560)
ERROR: Logfile of failure stored in: /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work/ls1021atwr-fsl-linux-gnueabi/linux-qoriq/3.12-r0/temp/log.do_compile.99560
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 uImage CC=arm-fsl-linux-gnueabi-gcc --sysroot=/home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/sysroots/ls1021atwr LD=arm-fsl-linux-gnueabi-ld.bfd --sysroot=/home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/sysroots/ls1021atwr LOADADDR=0x80008000
| GEN /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work/ls1021atwr-fsl-linux-gnueabi/linux-qoriq/3.12-r0/build/Makefile
| HOSTCC scripts/basic/fixdep
| HOSTCC scripts/kconfig/conf.o
| HOSTCC scripts/kconfig/zconf.tab.o
| HOSTLD scripts/kconfig/conf
| scripts/kconfig/conf --silentoldconfig Kconfig
| CHK include/config/kernel.release
| GEN /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work/ls1021atwr-fsl-linux-gnueabi/linux-qoriq/3.12-r0/build/Makefile
| CHK include/generated/uapi/linux/version.h
| Using /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source as source for kernel
| CHK include/generated/utsrelease.h
| make[3]: `include/generated/mach-types.h' is up to date.
| CALL /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source/scripts/checksyscalls.sh
| CHK include/generated/compile.h
| CC drivers/net/ethernet/freescale/fsl_pq_mdio.o
| CC drivers/soc/qe/qe.o
| CC drivers/tdm/tdm-core.o
| LD drivers/net/ethernet/freescale/built-in.o
| LD drivers/net/ethernet/built-in.o
| LD drivers/net/built-in.o
| /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source/drivers/tdm/tdm-core.c: In function 'tdm_add_adapter':
| /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source/drivers/tdm/tdm-core.c:204:2: warning: 'idr_pre_get' is deprecated (declared at /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source/include/linux/idr.h:155) [-Wdeprecated-declarations]
| if (idr_pre_get(&tdm_adapter_idr, GFP_KERNEL) == 0)
| ^
| /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source/drivers/tdm/tdm-core.c:208:2: warning: 'idr_get_new' is deprecated (declared at /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source/include/linux/idr.h:185) [-Wdeprecated-declarations]
| res = idr_get_new(&tdm_adapter_idr, adapter, &id);
| ^
| CC drivers/soc/qe/qe_io.o
| CC drivers/tdm/device/fsl_ucc_tdm.o
| CC drivers/soc/qe/qe_common.o
| CC drivers/tdm/line_ctrl/slic_maxim.o
| CC drivers/soc/qe/ucc.o
| /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source/drivers/tdm/line_ctrl/slic_maxim.c: In function 'slic_change_cs':
| /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source/drivers/tdm/line_ctrl/slic_maxim.c:255:2: error: implicit declaration of function 'of_iomap' [-Werror=implicit-function-declaration]
| cpld_base = of_iomap(cpld_node, 0);
| ^
| /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work-shared/ls1021atwr/kernel-source/drivers/tdm/line_ctrl/slic_maxim.c:255:12: warning: assignment makes pointer from integer without a cast
| cpld_base = of_iomap(cpld_node, 0);
| ^
| CC drivers/soc/qe/ucc_fast.o
| cc1: some warnings being treated as errors
| make[5]: *** [drivers/tdm/line_ctrl/slic_maxim.o] Error 1
| make[4]: *** [drivers/tdm/line_ctrl] Error 2
| make[4]: *** Waiting for unfinished jobs....
| LD drivers/tdm/device/built-in.o
| make[3]: *** [drivers/tdm] Error 2
| make[3]: *** Waiting for unfinished jobs....
| LD drivers/soc/qe/built-in.o
| LD drivers/soc/built-in.o
| make[2]: *** [drivers] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/dho01/QorIQ-SDK-V1.9-20151210-yocto/build_ls1021atwr/tmp/work/ls1021atwr-fsl-linux-gnueabi/linux-qoriq/3.12-r0/temp/log.do_compile.99560)
ERROR: Task 4 (/home/dho01/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_3.12.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 264 tasks of which 263 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/dho01/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_3.12.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.