发新话题
打印

我想问问关于2.6.13flash分区的代码

我想问问关于2.6.13flash分区的代码

请教各位
linux-2.6.13内核的flash分区代码怎么加上去的啊
我看很多人的启动信息里都有:vivi放在什么地方,kernel放在什么地方,fs放在什么地方
为什么我的就没有这些呢??
请问各位高手2.6.13的分区是在哪个文件哪个结构体里加呢,最好能把原码给小弟看看,十分感谢.

我在 drivers/mtd/nand/s3c2410.c中参照2.4内核加了代码
/**************************rework*********************************/
static struct mtd_partition partition_info[] = {
{ name:         "boot",          offset:        0x0,
     size:                0x00040000 },        
{ name:         "kernel",          offset:        0x00040000,        
     size:                0x00180000 },        
{ name:                "rootfs",          offset:        0x00200000,         
     size:               0x00400000 },        
{ name:                "ext-fs1",  offset:        0x00800000,        
     size:                0x0 },        
{ name:                "ext-fs2",  offset:        0x01000000,         
     size:                0x0 }
};

/***********************************************************/
可是还是没有认分区啊

请大家指教

急!!! 快哭了      

TOP

发新话题