导航

    全志在线开发者论坛

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

    Tina Linux pack失败问题

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

      b4cafdf2-4cc6-4478-b575-31601521e2a8-image.png
      1、如上图,make,和mboot。 已经正常编译通过。
      2、进行pack时,日志如下,我在目录下也找不到sboot.bin文件:

      user@DESKTOP-L3PLPDH:/t113/Tina-Linux$ pack
      --==========--
      PACK_CHIP sun8iw20p1
      PACK_PLATFORM tina
      PACK_BOARD t113-bingpi_m2
      PACK_KERN
      PACK_DEBUG uart3
      PACK_SIG none
      PACK_SECURE none
      PACK_MODE normal
      PACK_FUNC android
      PACK_PROGRAMMER none
      PACK_TAR_IMAGE none
      PACK_TOPDIR /t113/Tina-Linux
      --==========--
      No kernel param, parse it from t113
      copying tools file
      copying configs file
      storage_type value is 1
      rm /t113/Tina-Linux/out/t113-bingpi_m2/image/sys_partition_nor.fex
      rm /t113/Tina-Linux/out/t113-bingpi_m2/image/image_nor.cfg
      copying boot resource
      copying boot file
      make user resource for : /t113/Tina-Linux/out/t113-bingpi_m2/image/sys_partition.fex
      handle partition user-res
      no user resource partitions
      APP_PART_DOWNLOAD_FILE = /t113/Tina-Linux/out/t113-bingpi_m2/image/app.fex
      Need size of filesystem
      no data resource partitions
      don't build dtbo ...
      update_chip

      sboot file Path=/t113/Tina-Linux/out/t113-bingpi_m2/image/sboot.bin
      script file Path=/t113/Tina-Linux/out/t113-bingpi_m2/image/sys_config.bin

      update:unable to open sboot file
      script update sboot ok
      /t113/Tina-Linux/scripts/pack_img.sh: line 1396: /t113/Tina-Linux/out/host/bin/fsbuild: cannot execute binary file: Exec format error
      pack boot package
      GetPrivateProfileSection read to end
      content_count=3
      LICHEE_REDUNDANT_ENV_SIZE config in BoardConfig.mk
      --mkenvimage create redundant env data!--
      ---redundant env data size 0x20000---
      packing for tina linux
      normal
      mbr count = 4

      partitation file Path=/t113/Tina-Linux/out/t113-bingpi_m2/image/sys_partition.bin
      mbr_name file Path=/t113/Tina-Linux/out/t113-bingpi_m2/image/sunxi_mbr.fex
      download_name file Path=/t113/Tina-Linux/out/t113-bingpi_m2/image/dlinfo.fex

      mbr size = 16384
      mbr magic softw411
      disk name=boot-resource
      ERROR: unable to open file boot-resource.fex
      update_for_part_info -1
      ERROR: update mbr file fail
      ERROR: update_mbr failed

      1 条回复 最后回复 回复 引用 分享 0
      • Z
        zoipuus LV 5 最后由 编辑

        是不是系统缺少32位库,试试sudo apt-get install libc6:i386 libgcc1:i386 libstdc++6:i386 -y

        H 1 条回复 最后回复 回复 引用 分享 0
        • H
          huangliqun LV 2 @zoipuus 最后由 编辑

          @zoipuus 这几个库已经安装了,并且我试了在ubuntu18 或者 unbuntu22编译出来,都是卡在这个地方。很奇怪了。

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

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

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