Other Parts Discussed in Thread: DRA71, DRA752, PMP
Tool/software: Linux
I followed instruction "VisionSDK_Linux_UserGuide.pdf" to build for tda2x-rvp-linux-all by using TI's original Vision SDK(PROCESSOR_SDK_VISION_03_04_00_00).
If I executed "gmake linux", the error message showed below:
***Can't find default configuration "arch/../configs/d3_tda2x_defconfig"!
***
scripts/kconfig/Makefile:114:recipe for target 'd3_tda2x_defconfig' failed
If I added d3-tda2x-deconfig d3-tda2x-fpd8ch.dts, da-fpd8ch-baseboard.dtsi from Vision SDK 2.10 released by D3. After exectued "gmake linux" the error message showed below:
make[5]: *** No rule to make target 'arch/arm/boot/dts/d3-tda2x-fpd8ch.dtb'. Stop.
arch/arm/Makefile:333: recipe for target 'd3-tda2x-fpd8ch.dtb' failed
make[4]: *** [d3-tda2x-fpd8ch.dtb] Error 2
make[4]: Leaving directory '/home/mbit/TI_VSDK_03_04/ti_components/os_tools/linux/kernel/omap'
build_kernel.mk:11: recipe for target 'kernel_build' failed
make[3]: *** [kernel_build] Error 2
make[3]: Leaving directory '/home/mbit/TI_VSDK_03_04/vision_sdk/build/hlos/makerules/linux'
build_kernel.mk:43: recipe for target 'dtb' failed
make[2]: *** [dtb] Error 2
make[2]: Leaving directory '/home/mbit/TI_VSDK_03_04/vision_sdk/build/hlos/makerules/linux'
build_kernel.mk:18: recipe for target 'kernel' failed
make[1]: *** [kernel] Error 2
make[1]: Leaving directory '/home/mbit/TI_VSDK_03_04/vision_sdk/build/hlos/makerules/linux'
gmake: *** [kernel] Error 2
If I built for tda2x-evm-linux-all (just for test). After executed "gmake linux", the error message showed below:
arch/arm/kernel/devtree.c: In function 'setup_machine_fdt':
arch/arm/kernel/devtree.c:261:2: error: '__machine_arch_type' undeclared (first use in this function)
__machine_arch_type = mdesc->nr;
^
arch/arm/kernel/devtree.c:261:2: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:258: recipe for target 'arch/arm/kernel/devtree.o' failed
make[4]: *** [arch/arm/kernel/devtree.o] Error 1
Makefile:964: recipe for target 'arch/arm/kernel' failed
make[3]: *** [arch/arm/kernel] Error 2
make[3]: Leaving directory '/home/mbit/TI_VSDK_03_04/ti_components/os_tools/linux/kernel/omap'
build_kernel.mk:11: recipe for target 'kernel_build' failed
make[2]: *** [kernel_build] Error 2
make[2]: Leaving directory '/home/mbit/TI_VSDK_03_04/vision_sdk/build/hlos/makerules/linux'
build_kernel.mk:18: recipe for target 'kernel' failed
make[1]: *** [kernel] Error 2
make[1]: Leaving directory '/home/mbit/TI_VSDK_03_04/vision_sdk/build/hlos/makerules/linux'
gmake: *** [kernel] Error 2
Then I wanted to know what would happen if I skipped this step(still built for tda2x-rvp-linux-all) . I executed "gmake -s -j depend", it worked and no error message.
Then I executed "gmake -s -j" , the error message showed below:
dispDistSrcLink_tsk.c:81:45: fatal error: vdrm_controller/v_controller_if.h: No such file or directory
compilation terminated.
/home/mbit/TI_VSDK_03_04/vision_sdk/build/hlos/makerules/linux/common_footer_a15.mk:81: recipe for target 'depend' failed
make[6]: *** [depend] Error 1
Makefile:16: recipe for target 'links_a15_dispDistSrc' failed
make[5]: *** [links_a15_dispDistSrc] Error 2
# utils: tda2xx-rvp: Compiling MultiProc.c
# utils: tda2xx-rvp: Compiling MultiProcCfg_dra7xx.c
# links_a15_null: tda2xx-rvp: Compiling nullLink_tsk.c
# network_utils: tda2xx-rvp: Compiling network_api.c
# links_a15_sync: tda2xx-rvp: Compiling syncLink_tsk.c
# links_a15_nullSrc: tda2xx-rvp: Compiling nullSrcLink_tsk.c
# links_a15_dup: tda2xx-rvp: Compiling dupLink_tsk.c
# links_a15_dup: tda2xx-rvp: Compiling dupLink_tsk_create_single_mbx.c
# links_a15_merge: tda2xx-rvp: Compiling mergeLink_tsk.c
# links_a15_merge: tda2xx-rvp: Compiling mergeLink_tsk_create_single_mbx.c
# links_a15_select: tda2xx-rvp: Compiling selectLink_tsk_create_single_mbx.c
# links_a15_select: tda2xx-rvp: Compiling selectLink_tsk.c
# links_a15_gate: tda2xx-rvp: Compiling gateLink_tsk.c
# links_a15_gate: tda2xx-rvp: Compiling gateLink_tsk_create_single_mbx.c
# links_a15_algorithm: tda2xx-rvp: Compiling algorithmLink_tsk_create_single_mbx.c
# links_a15_algorithm: tda2xx-rvp: Compiling algorithmLink_cfg.c
# links_a15_algorithm: tda2xx-rvp: Compiling algorithmLink_algPluginSupport.c
# links_a15_algorithm: tda2xx-rvp: Compiling algorithmLink_tsk.c
# links_a15_ipcIn: tda2xx-rvp: Compiling ipcInLink_tsk.c
# links_a15_ipcIn: tda2xx-rvp: Compiling ipcInLink_drv.c
# links_a15_ipcOut: tda2xx-rvp: Compiling ipcOutLink_tsk.c
# links_a15_ipcOut: tda2xx-rvp: Compiling ipcOutLink_drv.c
# utils: tda2xx-rvp: Creating archive utils.a
# links_a15_null: tda2xx-rvp: Creating archive links_a15_null.a
# links_a15_gate: tda2xx-rvp: Creating archive links_a15_gate.a
# links_a15_merge: tda2xx-rvp: Creating archive links_a15_merge.a
# network_utils: tda2xx-rvp: Creating archive network_utils.a
# links_a15_sgxFrmcpy: tda2xx-rvp: Compiling sgxRenderKmsCube.c
# links_a15_sgxFrmcpy: tda2xx-rvp: Compiling esTransform.c
# links_a15_sgxFrmcpy: tda2xx-rvp: Compiling sgxRender3x3.c
# links_a15_sgxFrmcpy: tda2xx-rvp: Compiling sgxRender1x1.c
# links_a15_sgxFrmcpy: tda2xx-rvp: Compiling sgxFrmcpyLink_drv.c
# links_a15_sgxFrmcpy: tda2xx-rvp: Compiling sgxRender2x4.c
# links_a15_sgxFrmcpy: tda2xx-rvp: Compiling sgxFrmcpyLink_tsk.c
# links_a15_select: tda2xx-rvp: Creating archive links_a15_select.a
# links_a15_sgxFrmcpy: tda2xx-rvp: Compiling sgxRender2x2.c
# links_a15_dup: tda2xx-rvp: Creating archive links_a15_dup.a
# osa: tda2xx-rvp: Compiling osa_remote_log_client.c
# osa: tda2xx-rvp: Compiling osa_msgq.c
# osa: tda2xx-rvp: Compiling osa_prf.c
# osa: tda2xx-rvp: Compiling osa_que.c
# osa: tda2xx-rvp: Compiling osa_timer.c
# osa: tda2xx-rvp: Compiling osa_buf.c
# osa: tda2xx-rvp: Compiling osa_ipc_que.c
# osa: tda2xx-rvp: Compiling osa_remote_log_server.c
# osa: tda2xx-rvp: Compiling osa.c
# osa: tda2xx-rvp: Compiling osa_file.c
# osa: tda2xx-rvp: Compiling osa_mbx.c
# osa: tda2xx-rvp: Compiling osa_global_time.c
# osa: tda2xx-rvp: Compiling osa_thr.c
# osa: tda2xx-rvp: Compiling osa_mutex.c
# osa: tda2xx-rvp: Compiling osa_dma.c
# osa: tda2xx-rvp: Compiling osa_cache.c
# links_a15_sync: tda2xx-rvp: Creating archive links_a15_sync.a
# osa: tda2xx-rvp: Compiling osa_mem.c
# system: tda2xx-rvp: Compiling system_pvrscope_if.c
# system: tda2xx-rvp: Compiling system_linkApi.c
# osa: tda2xx-rvp: Compiling osa_tsk.c
# links_a15_algorithm: tda2xx-rvp: Creating archive links_a15_algorithm.a
# osa: tda2xx-rvp: Compiling osa_sem.c
# system: tda2xx-rvp: Compiling system_ipc_msgq.c
# system: tda2xx-rvp: Compiling system_gl_egl_utils.c
# system: tda2xx-rvp: Compiling system_common.c
# system: tda2xx-rvp: Compiling system_rpmsg_notify.c
# system: tda2xx-rvp: Compiling system_openvx.c
# system: tda2xx-rvp: Compiling system_gbm_allocator.c
# system: tda2xx-rvp: Compiling system_ipc.c
# system: tda2xx-rvp: Compiling system_linkId_alloc.c
# system: tda2xx-rvp: Compiling system_linkApi_local.c
# links_a15_ipcOut: tda2xx-rvp: Creating archive links_a15_ipcOut.a
# links_a15_ipcIn: tda2xx-rvp: Creating archive links_a15_ipcIn.a
# links_a15_sgxFrmcpy: tda2xx-rvp: Creating archive links_a15_sgxFrmcpy.a
# osa: tda2xx-rvp: Creating archive osa.a
# links_a15_nullSrc: tda2xx-rvp: Creating archive links_a15_nullSrc.a
# system: tda2xx-rvp: Creating archive system.a
MAKEFILE.MK:16: recipe for target 'vision_sdk_linux_lib' failed
make[4]: *** [vision_sdk_linux_lib] Error 2
Makefile:229: recipe for target 'links_fw_libs_hlos' failed
make[3]: *** [links_fw_libs_hlos] Error 2
Makefile:64: recipe for target 'apps_hlos' failed
make[2]: *** [apps_hlos] Error 2
Makefile:36: recipe for target 'apps' failed
make[1]: *** [apps] Error 2
gmake: *** [vision_sdk] Error 2
What should I do next? Thank you.
Best regards