加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

U-Boot中ubi和ubifs命令的使用

发布时间:2020-12-15 06:45:04 所属栏目:百科 来源:网络整理
导读:原文地址:http://www.usr.cc/article-873.html (1)查看MTD分区表 U-Boot$ mtdpartsmtdparts variable not set,see 'help mtdparts'no partitions defineddefaults:mtdids : nand0=nandflash0mtdparts: mtdparts=nandflash0:1536k(bootloder),512k(params)

原文地址:http://www.usr.cc/article-873.html

(1)查看MTD分区表

?

(2)载入默认分区表

?U-Boot$ mtdparts default

(3)激活分区

U-Boot$ ubi part safefs

??

?

查看当前激活的分区:
U-Boot$ ubi part


(4)挂载分区

U-Boot$ ubifsmount safefs

(5)查看分区的内容

U-Boot$ ubifsls

(6)查看某个文件

?

U-Boot$ ubifsload 80008000 readme

?

U-Boot$ md 80008000

?

view plain copy to clipboard print ?
  1. 80008000:?65666173?66207366?6120726f?4c206c6c?safefs?for?all?L??
  2. 80008010:?32334350?42203035?6472616f?200a2e73?PC3250?Boards..??
  3. 80008020:?20202020?32202020?2d303130?302d3730?2010-07-0??
  4. 80008030:?0a0a0a31?00000000?00000000?00000000?1...............?

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读