设为首页收藏本站
查看: 15987|回复: 0

[TI工控板] 制作文件系统错误ubinize: error!: error in section "ubifs": size of...

[复制链接]

231

主题

64

回帖

2145

积分

管理员

积分
2145
玉米糊 发表于 2014-8-5 14:22:34 | 显示全部楼层 |阅读模式
按照 MYD-AM335X 文件用户手册制作文件系统,到最后一步执行 ubinize 命令可能出现以下错误:
[mw_shl_code=bash,true]./ubinize -o ubi.img -m 2048 -p 128KiB -s 512 -O 2048 ubinize.cfg[/mw_shl_code]
提示错误:ubinize: error!: error in section "ubifs": size of the image file "ubifs.img" is 123293696, which is larger than volume size 104857600


解决
打开 ubinize.cfg 文件,吧 vol_size 的值改大一些,如把原本的 100MiB 改成 12329369 对应的 118MiB(实际为:117.58203125 MiB,取大一些 118 MiB)
[mw_shl_code=bash,true][ubifs]
mode=ubi
image=ubifs.img
vol_id=0
vol_size=118MiB        #默认为100MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize[/mw_shl_code]


回复

使用道具 举报

您需要登录后才可以回帖 登录

本版积分规则

Archiver|手机版|小黑屋|米尔科技论坛   

GMT+8, 2024-3-29 01:24 , Processed in 0.054931 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表