设为首页 - 加入收藏 焦点技术网
热搜:java
当前位置:首页 >

64M nandflash分区示意图

导读:这是我的64M的nandflash分区示意图涵盖的文件系统比较多,分区设置代码是在arch/arm/plat-s3c24xx/common-smdk.c:static struct mtd_partition smdk_default_nand_part[] = { [0] = { .name = "bootloader bin", .size = 320...。。。

这是我的64M的nandflash分区示意图涵盖的文件系统比较多,分区设置代码是在arch/arm/plat-s3c24xx/common-smdk.c:

static struct mtd_partition smdk_default_nand_part[] = {    [0] = {        .name   = "bootloader bin",        .size   = 320*SZ_1K,        .offset = 0,    },    [1] = {        .name   = "bootloader env",        .offset = MTDPART_OFS_NXTBLK,        .size   = 704*SZ_1K,    },    [2] = {        .name   = "linux kernel",        .offset = SZ_1M,        .size   = SZ_1M*10,    },    [3] = {        .name   = "rootfs jffs2",        .offset = MTDPART_OFS_NXTBLK,        .size   = SZ_1M*8,                                                                            },    [4] = {        .name   = "rootfs ubifs",        .offset = MTDPART_OFS_NXTBLK,        .size   = SZ_1M*8,    },    [5] = {        .name   = "rootfs cramfs",        .offset = MTDPART_OFS_NXTBLK,        .size   = SZ_1M*8,    },    [6] = {        .name   = "rootfs yaffs2",        .offset = MTDPART_OFS_NXTBLK,        .size   = SZ_1M*8,    },    [7] = {        .name   = "apps partition",        .offset = MTDPART_OFS_NXTBLK,        .size   = SZ_1M*8,    },    [8] = {        .name   = "info partition",        .offset = MTDPART_OFS_NXTBLK,        .size   = SZ_1M * 8,    },    [9] = {        .name   = "backup",        .offset = MTDPART_OFS_NXTBLK,        .size   = MTDPART_SIZ_FULL,    }};

不好意思图片上的地址有误:-),下面这个是启动时打印的信息:

Scanning device for bad blocksCreating 10 MTD partitions on "NAND":0x000000000000-0x000000050000 : "bootloader bin"0x000000050000-0x000000100000 : "bootloader env"0x000000100000-0x000000b00000 : "linux kernel"0x000000b00000-0x000001300000 : "rootfs jffs2"0x000001300000-0x000001b00000 : "rootfs ubifs"0x000001b00000-0x000002300000 : "rootfs cramfs"0x000002300000-0x000002b00000 : "rootfs yaffs2"0x000002b00000-0x000003300000 : "apps partition"0x000003300000-0x000003b00000 : "info partition"0x000003b00000-0x000004000000 : "backup"

**************************************************************************************************************************************************

注:下面内容与上面无关

**************************************************************************************************************************************************

下面这个是:arch/arm/plat-s3c24xx/common-smdk.c


uboot参数:


下面是内核打印的信息:



(编辑: sonbai)

网友评论
相关文章