Navigation

    全志在线开发者论坛

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

    t113的image292MB,为什么烧写不进512MB的sd卡

    其它全志芯片讨论区
    2
    5
    346
    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.
    • H
      Honey130602 LV 5 last edited by

      t113的image292MB,烧写进512MB的sd卡竟然失败,是什么原因呢?报错如下,好像超容量了,但是不应该呀。
      微信图片_20220613184233.jpg

      1 Reply Last reply Reply Quote Share 0
      • Moved from D1系列-RISC-V by  YuzukiTsuru YuzukiTsuru 
      • YuzukiTsuru
        柚木 鉉 LV 9 last edited by

        检查固件实际大小看看是不是超了,tina的固件大小不等于实际大小

        H 2 Replies Last reply Reply Quote Share 0
        • H
          Honey130602 LV 5 @YuzukiTsuru last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote Share 0
          • H
            Honey130602 LV 5 @YuzukiTsuru last edited by

            @yuzukitsuru 生成出来的linux镜像文件t113_linux_evb1_auto_uart0.img,是292MB

            1 Reply Last reply Reply Quote Share 0
            • H
              Honey130602 LV 5 last edited by

              原来是sys_partition.fex中,把rootfs.fex的分区大小定义为了1G,所以哪怕编译出来的rootfs.fex才不到200MB,用烧写工具烧写的时候,还是会出现ext4的1G的分区。改这个文件就对啦,现在改成了320M,需要使用到的扇区数是655360, 320M = 512*655360
              partition.png
              修改后,烧写进SD卡的文件系统用dg看,可以发现已经从1G到320MB了
              partition1.png
              还要注意改了后,要重新擦除下SD卡,再烧写,不然分区信息不会变,之前我还以为自己修改后的没生效

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

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

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