天嵌 ARM开发社区

 找回密码
 注册
查看: 2048|回复: 0

请教 uboot的分区问题

[复制链接]
苒色阳光 发表于 2011-1-24 15:19:11 | 显示全部楼层 |阅读模式
使用论坛置顶贴里的uboot编译完成后下载,使用mtdparts命令查看nand flash的分区信息,显示
EmbedSky> mtdparts

device nand0 <nandflash0>, # parts = 7
#: name                        size                offset                mask_flags
0: bios                0x00040000        0x00000000        0
1: params              0x00020000        0x00040000        0
2: toc                 0x00020000        0x00060000        0
3: eboot               0x00080000        0x00080000        0
4: logo                0x00100000        0x00100000        0
5: kernel              0x00200000        0x00200000        0
6: root                0x0fc00000        0x00400000        0

active partition: nand0,0 - (bios) 0x00040000 @ 0x00000000

defaults:
mtdids  : nand0=nandflash0
mtdparts: mtdparts=nandflash0:256k@0(bios),128k(params),128k(toc),512k(eboot),1024k(logo),3m(kernel),-(root)
上下显示的为什么不一致呢?
5: kernel              0x00200000        0x00200000        0说明内核空间是2M
但是下面的默认是3m(kernel)?如何更改的一致呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-18 10:30 , Processed in 1.078125 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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