免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2096 | 回复: 2
打印 上一主题 下一主题

g-bios分区怎么更改啊? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-02 14:18 |只看该作者 |倒序浏览
哪位大侠能帮帮我啊,怎样改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 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-11-02 20:23 |只看该作者
原帖由 redzjz 于 2009-11-2 14:18 发表
哪位大侠能帮帮我啊,怎样改gbios的分区啊,我在g-bios/app/flash/sysconf.c更改,怎么分区没变啊,
//更改的:
static const struct PartAttr g_vFlashParts[] =
{
    {
        .nPartType  = PT_BL_GBI ...



please use the "confrest" command first.

then you will see the effect of the modification.

论坛徽章:
0
3 [报告]
发表于 2009-11-05 15:45 |只看该作者

回复 #2 tigermmx 的帖子

非常感谢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"
----------------------------------------------------------------
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP