使用论坛置顶贴里的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)?如何更改的一致呢? |