Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    linux下编译完成后打包安全固件失败

    V Series
    2
    2
    867
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bigfly LV 5 last edited by

      linux下编译完成后执行:./build.sh pack_secure

      报错

      ERROR: dragon toc0 run error
      
      livpo 1 Reply Last reply Reply Quote Share 0
      • livpo
        livpo LV 6 @bigfly last edited by

        @bigfly 打包TOC0失败一般有2个原因:缺少sboot.bin文件或缺少签名的密钥文件,而sboot.bin文件是在编译阶段时候生成,如果没有sboot.bin文件,那就是编译失败了,不会到打包阶段,因此缺少签名的密钥文件概率最大。

        手动在${SDK}/build目录下运行./createkeys,然后再执行打包命令,
        注意:
        1.第一次打包安全固件必须生成key再打包安全固件。
        2.如果执行 rm -rf ${SDK}/out, 需要重新生成key之后再打包安全固件。

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策