Navigation

    全志在线开发者论坛

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

    pack nor image 居然不能超过 16M,一脸茫然...

    其它全志芯片讨论区
    2
    3
    263
    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.
    • Y
      yixiuge LV 5 last edited by

      42b2be64-e8a3-4aec-9283-70c9dee511a3-image.png

      cant get board_id_enable
      script update toc1 ok
      packing for tina linux
      normal
      this is not a partition key
      gpt_head->header_crc32 = 0xef933200
      GPT----part num 5---
      gpt_entry: 128
      gpt_header: 92
      GPT:bootlogo    : 20            21f
      GPT:env         : 220           31f
      GPT:boot        : 320           141f
      GPT:rootfs      : 1420          841f
      GPT:UDISK       : 8420          842f
      update gpt file ok
      update mbr file ok
      load file: boot0_spinor.fex ok
      load file: u-boot-spinor.fex ok
      load file: sunxi_mbr_nor.fex ok
      load file: sys_partition_nor.bin ok
      load file: bootlogo.fex ok
      load file: env.fex ok
      load file: boot.fex ok
      load file: rootfs.fex ok
      error:offset(17301504) is too large!
      merge_package fail
      ERROR: merge_full_img failed
      
      1 Reply Last reply Reply Quote Share 0
      • Y
        yixiuge LV 5 last edited by

        用 grep 命令找到了源码 lichee/brandy/pack_tools/merge_package/merge_package.c

        这里也有: https://raw.githubusercontent.com/Allwinner-Homlet/H6-BSP4.9-brandy/master/pack_tools/merge_package/merge_package.c

        把 #define MAX_IMAGE_SIZE (16<<20) 改为 #define MAX_IMAGE_SIZE (64<<20)

        重新编译,覆盖二进制文件,基本OK.

        1 Reply Last reply Reply Quote Share 0
        • YuzukiTsuru
          柚木 鉉 LV 9 last edited by YuzukiTsuru

          可以设置nor的大小的,sys_config里有
          而且大容量还用啥nor,切页都头疼了(

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

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

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