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.

[参考译文] TDA4VM:编译 mcu1_0、找不到相关头文件、如何获取 tifs_keywriter.h?

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1254026/tda4vm-build-mcu1_0-a-dependent-header-file-can-not-be-found-how-to-get-tifs_keywriter-h

器件型号:TDA4VM

在 Windows10中编译 mcu1_0时、找不到依赖项头文件 tifs_keywriter.h。 此头文件位于哪个软件包中以及如何获取?

make -s all BOARD=j721e_evm CORE=mcu1_0

……

# Compiling j721e_evm:j721e:mcu1_0:release:keywriter_img:E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/boot/keywriter/main.c
In file included from E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/boot/keywriter/main.c:42:
E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/boot/keywriter/main.h:73:10: fatal error: 'tifs_keywriter.h' file not found
#include "tifs_keywriter.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
gmake[4]: *** [E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/build/makerules/rules_ti_cgt_arm.mk:235: E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/binary/keywriter_img/obj/j721e_evm/mcu1_0/release/main.oer5f] Error 1
gmake[3]: *** [E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/build/makerules/common.mk:411: mcu1_0] Error 2
gmake[2]: *** [E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/build/makefile:367: keywriter_img] Error 2
gmake[1]: *** [E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/build/makefile:128: keywriter_img_has_dep] Error 2
make: *** [makefile:149: all_apps] Error 2

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

    您好  

    它将在运行时自动生成、  

    确保 tifs keywriter 二进制存在于路径下 /packages/ti/boot/keywriter/tifs_bin/j721e/ti-fs-keywriter.bin

    作为参考、您可以检查 bin2c.mk 文件  /packages/ti/boot/keywriter/build/bin2c.mk

    此致
    迪瓦卡尔

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

    你好,Diwakar

    bin 的路径正确、但不生成 h 文件。

    直接使用 executed.exe and.bin 文件、但不会生成这些文件。

    这些日志:

     E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages//ti/drv/sciclient/tools/bin2c/b
    in2c.exe E:/code/tda4vm/ti-processor-sdk-rtos-j721e-evm-08_06_01_03/pdk_jacinto_08_06_01_03/packages/ti/boot/keywriter/tifs_bi
    n/j721e/ti-fs-keywriter.bin tifs_keywriter.h TIFS_KEYWRITER_BIN
    /*
     *  Copyright (C) 2018 Texas Instruments Incorporated
     *
     *  Redistribution and use in source and binary forms, with or without
     *  modification, are permitted provided that the following conditions
     *  are met:
     *
     *    Redistributions of source code must retain the above copyright
    *    notice, this list of conditions and the following disclaimer.
    *
    *    Redistributions in binary form must reproduce the above copyright
    *    notice, this list of conditions and the following disclaimer in the
    *    documentation and/or other materials provided with the
    *    distribution.
    *
    *    Neither the name of Texas Instruments Incorporated nor the names of
    *    its contributors may be used to endorse or promote products derived
    *    from this software without specific prior written permission.
    *
    *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    *
    */
    
    /**
    *  \file tifs_keywriter.h
    *
    *  \brief File containing the Binary in a C array.
    *
    */
    
    /* ========================================================================== */
    /*                             Include Files                                  */
    /* ========================================================================== */
    
    /* None */
    
    /* ========================================================================== */
    /*                           Macros & Typedefs                                */
    /* ========================================================================== */
    
    #define TIFS_KEYWRITER_BIN_SIZE_IN_BYTES (0U)
    
    /* ========================================================================== */
    /*                         Structure Declarations                             */
    /* ========================================================================== */
    
    /* None */
    
    /* ========================================================================== */
    /*                          Function Declarations                             */
    /* ========================================================================== */
    
    /* None */
    
    /* ========================================================================== */
    /*                            Global Variables                                */
    /* ========================================================================== */
    
    #define TIFS_KEYWRITER_BIN {\
    } /* 0 bytes */
    PS E:\code\tda4vm\ti-processor-sdk-rtos-j721e-evm-08_06_01_03\pdk_jacinto_08_06_01_03\packages\ti\boot\keywriter\tifs_bin\j721
    e>
    PS E:\code\tda4vm\ti-processor-sdk-rtos-j721e-evm-08_06_01_03\pdk_jacinto_08_06_01_03\packages\ti\boot\keywriter\tifs_bin\j721
    e> ls
    
    
        目录: E:\code\tda4vm\ti-processor-sdk-rtos-j721e-evm-08_06_01_03\pdk_jacinto_08_06_01_03\packages\ti\boot\keywriter\tifs_
        bin\j721e
    
    
    Mode                 LastWriteTime         Length Name
    ----                 -------------         ------ ----
    -a----         2023/5/12      2:50             12 .gitignore
    -a----         2023/5/12      2:50              0 ti-fs-keywriter.bin
    
    
    PS E:\code\tda4vm\ti-processor-sdk-rtos-j721e-evm-08_06_01_03\pdk_jacinto_08_06_01_03\packages\ti\boot\keywriter\tifs_bin\j721
    e>
    

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

    您好  

    该 PDK 在 Ubuntu 18.04上进行了验证   ,我们建议您在 Ubuntu 主机上进行测试。

    此致
    迪瓦卡尔