Navigation

    全志在线开发者论坛

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

    R128 打包出现 ERROR: update_mbr failed

    A Series
    1
    1
    733
    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.
    • A
      awwwwa LV 8 last edited by

      24993+0 records in
      24993+0 records out
      6398208 bytes (6.4 MB) copied, 0.0271082 s, 236 MB/s
      ERROR: dl file rtos_riscv.fex size too large
      ERROR: filename = rtos_riscv.fex
      ERROR: dl_file_size = 1579 sector
      ERROR: part_size = 1000 sector
      ERROR: update mbr file fail
      ERROR: update_mbr failed
      

      这是因为 rootfs.fex 太大了,分区容量设置过小。

      解决方法

      • 确定打包使用的分区表

      运行打包命令,找到打包使用发分区表。例如这里使用的是 sys_partition_xip.fex

      • 编辑分区表

      使用 cconfigs 命令进入目录,找到打包使用的分区表,编辑修改

      • 找到上面报错的行,修改 size 选项,单位是扇区。对于 NOR 方案请对齐。这里我们修改到 7000

      • 重新打包,正常通过

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

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

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