导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    tina D1 编译正常,打包出错

    MR Series
    1
    2
    1568
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • L
      lgkgkfg LV 6 最后由 编辑

      执行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 条回复 最后回复 回复 引用 分享 0
      • L
        lgkgkfg LV 6 最后由 编辑

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

        1 条回复 最后回复 回复 引用 分享 1
        • 1 / 1
        • First post
          Last post

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

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