g-bios分区怎么更改啊?
哪位大侠能帮帮我啊,怎样改gbios的分区啊,我在g-bios/app/flash/sysconf.c更改,怎么分区没变啊,
//更改的:
static const struct PartAttr g_vFlashParts[] =
{
{
.nPartType = PT_BL_GBIOS,
.ulPartSize = DEF_GB_SIZE,
.szPartName = "g-bios"
},
{
.nPartType = PT_OS_LINUX,
.ulPartSize = DEF_LINUX_IMAGE_SIZE,
},
#if 1
{
.nPartType = PT_FS_YAFFS2,
.ulPartSize = MB(56),
.szPartName = "rootfs"
},
{
.nPartType = PT_FS_YAFFS2,
.szPartName = "data"
},
partshow显示:
g-bios: 0# partshow
Parition List: (on K9F120
----------------------------------------------------------------
Index Start End Size Type Name
----------------------------------------------------------------
0 0x00000000 - 0x00080000 512K g-bios "g-bios"
1 0x00080000 - 0x00300000 2M512K linux "linux"
2* 0x00300000 - 0x01b00000 24M yaffs2 "rootfs"
3 0x01b00000 - 0x04000000 37M yaffs2 "data"
----------------------------------------------------------------
[ 本帖最后由 redzjz 于 2009-11-2 15:13 编辑 ]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
please use the "confrest" command first.
then you will see the effect of the modification.
非常感谢tigermmx,明白了
g-bios: 0# partshow
Parition List: (on K9F120
----------------------------------------------------------------
Index Start End Size Type Name
----------------------------------------------------------------
0* 0x00000000 - 0x00080000 512K g-bios "g-bios"
1 0x00080000 - 0x00300000 2M512K linux "linux"
2 0x00300000 - 0x03b00000 56M yaffs2 "rootfs"
3 0x03b00000 - 0x04000000 5M yaffs2 "data"
----------------------------------------------------------------