- 论坛徽章:
- 0
|
哪位大侠能帮帮我啊,怎样改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 编辑 ] |
|