Navigation

    全志在线开发者论坛

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

    tina D1 编译正常,打包出错

    D1系列-RISC-V
    1
    2
    237
    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.
    • L
      lgkgkfg LV 6 last edited by

      执行pack命令后,报出一下错误:
      --==========--
      PACK_CHIP sun20iw1p1
      PACK_PLATFORM tina
      PACK_BOARD d1-h-nezha
      PACK_KERN
      PACK_DEBUG uart0
      PACK_SIG none
      PACK_SECURE none
      PACK_MODE normal
      PACK_FUNC android
      PACK_PROGRAMMER none
      PACK_TAR_IMAGE none
      PACK_TOPDIR /root/data
      --==========--
      No kernel param, parse it from d1-h
      copying tools file
      copying configs file
      storage_type value is 5
      rm /root/data/out/d1-h-nezha/image/sys_partition_nor.fex
      rm /root/data/out/d1-h-nezha/image/image_nor.cfg
      copying boot resource

      LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03
      copying boot file
      make user resource for : /root/data/out/d1-h-nezha/image/sys_partition.fex
      handle partition user-res
      no user resource partitions
      /root/data/scripts/pack_img.sh: line 688: /bin/busybox: No such file or directory
      /root/data/scripts/pack_img.sh: line 682: 770088 Segmentation fault (core dumped) script sys_partition_tmp_app.fex > /dev/null
      no app resource partitions
      /root/data/scripts/pack_img.sh: line 714: /bin/busybox: No such file or directory
      /root/data/scripts/pack_img.sh: line 708: 770094 Segmentation fault (core dumped) script sys_partition_tmp_data.fex > /dev/null
      /root/data/scripts/pack_img.sh: line 724: let: DATA_PART_SIZE_IN_K=/2: syntax error: operand expected (error token is "/2")
      DATA_PART_DOWNLOAD_FILE = /root/data/out/d1-h-nezha/image/data.fex
      Need size of filesystem
      /root/data/out/d1-h-nezha/image/data.fex is not ext4 img
      /root/data/out/d1-h-nezha/image/data.fex: ERROR: cannot open `/root/data/out/d1-h-nezha/image/data.fex' (No such file or directory)
      /root/data/scripts/pack_img.sh: line 582: /bin/busybox: No such file or directory
      /root/data/scripts/pack_img.sh: line 574: 770106 Segmentation fault (core dumped) script sys_partition_tmp.fex > /dev/null
      don't build dtbo ...
      /root/data/scripts/pack_img.sh: line 1223: busybox: command not found
      /root/data/scripts/pack_img.sh: line 1224: busybox: command not found
      /root/data/scripts/pack_img.sh: line 1216: 770115 Segmentation fault (core dumped) script sys_config.fex > /dev/null
      /root/data/scripts/pack_img.sh: line 1230: busybox: command not found
      /root/data/scripts/pack_img.sh: line 1216: 770120 Segmentation fault (core dumped) script sys_partition.fex > /dev/null
      update_chip
      ERROR: update_boot0 boot0_nand.fex run error

      有大佬看看是啥毛病吗?

      1 Reply Last reply Reply Quote Share 0
      • L
        lgkgkfg LV 6 last edited by

        自己解决了,docker环境内没有busybox,直接apt-get install busybox,
        之后就可以了

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

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

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