大家好,我一直有个疑问就是linux内核分区表的作用是什么,因为我使用uboot将内核下载到0x80000地址开始的5M的空间里面,而root这是下载到0x580000开始的空间里面的,可是友善公司提供linux内核的分区表如下:
static struct mtd_partition friendly_arm_default_nand_part[] = {
[0] = {
.name = "supervivi",
.size = 0x00040000,
.offset = 0,
},
[1] = {
.name = "param",
.offset = 0x00040000,
.size = 0x00020000,
},
[2] = {
.name = "Kernel",
.offset = 0x00060000,
.size = 0x00500000,
},
[3] = {
.name = "root",
.offset = 0x00560000,
.size = 1024 * 1024 * 1024, //
},
[4] = {
.name = "nand",
.offset = 0x00000000,
.size = 1024 * 1024 * 1024, //
}
};
但是我竟然也能使用友善提供内核镜像,不知道哪位大侠知道这是为什么啊!!!!!!