This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux/TDA2EVM5777:当我在 VSDK (03.00.00)中构建内核时、我可以#39;t 理解下面重点内容的含义。 请帮帮我。

Guru**** 2595770 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/641481/linux-tda2evm5777-i-can-t-understand-the-meaning-of-the-highlight-below-when-i-build-the-kernel-in-vsdk-03-00-00-please-help-me-thanks

器件型号:TDA2EVM5777

工具/软件:Linux

内核:
 cd $(kernel_path);\
 ti_config_frages/defconfig_builder.sh -t ti_sdk_dra7x_release
 cd $(vision_sdk_path);\
 $(make)-C $(kernel_path) arch=arm ti_sdk_dra7x_release_defconfig
 $(make)-fbuild_kernel.mk kernel_build kernel_target=zImage
 $(make)-fbuild_kernel.mk kernel_build kernel_target=modules
 $(make)-C $(memcache_path)/build/模块/************* 首款******** /
 $(make)-fbuild_kernel.mk kernel_build kernel_target=$(default_dtb)

/******** 第2个*** /
ifeq ($(CMEM_INCLUDE)、是)
 cd $(cmem_path);\
 ./configure --enable-shared --host=arm-linux-gnueabihf --prefix=$(linux_TARGETFS)
 cd $(vision_sdk_path);\
#生成与 cmem 相关的.so 文件
 $(make)-C $(cmem_path) kernel_install_DIR=$(kernel_path)
#构建 cmem 相关的.ko 文件
 $(make)-C $(cmem_path)/src/cmem/module kernel_install_DIR=$(kernel_path) arch=arm toolchain_prefix=arm-linux-gnueabihf-发布

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好 Lucas、

    我已将您的问题转交给 VisionSDK 专家。

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好 Lucas、

    CMEM 用于 infoadas 和 OpenCL 应用程序、
    Vision SDK Linux 应用不使用 cmem

    在较新版本中有一些错误修复。

    更新后的代码如下所示

    ifeq ($(CMEM_INCLUDE)、是)
    cd $(cmem_path);\
    /configure --enable-shared --host=arm-linux-gnueabihf --prefix="/usr"
    cd $(vision_sdk_path);\
    #生成与 cmem 相关的.so 文件
    $(make)-C $(cmem_path)/src/cmem/api
    #构建 cmem 相关的.ko 文件
    $(make)-C $(cmem_path)/src/cmem/module kernel_install_DIR=$(kernel_path) arch=arm toolchain_prefix=arm-linux-gnueabihf-发布
    字节序

    在这里,您跳转至 cmem 路径并使用 host 和 lib 调用 configure 脚本,
    稍后在 cmem 路径中调用 make 文件

    与 cmem 相关的 SO 已建立、稍后的 ko 已建立