- 论坛徽章:
- 0
|
我编译linux创建分区,- static struct mtd_partition rtl8196_parts[] = {
- {
- name: "boot+cfg+linux",
- size: 0x00150000,
- offset:0x00000000,
- },
- {
- name: "root fs",
- size: 0x00270000,
- offset: 0x00150000,
- },
- {
- name: "jffs2",
- size: 0x00040000,
- offset: 0x003c0000,
- }
- };
复制代码 启动信息如下
MXIC matched!!get SPI chip driver!
Physically mapped flash: Found an alies 0x400000 for the chip at 0x0, sst device detect.
Creating 3 MTD partitions on "Physically mapped flash":
0x00000000-0x00150000 : "boot1+cfg+linux"
0x00150000-0x003c0000 : "rootfs"
0x003c0000-0x00400000 : "jffs2"
但是为什么我- # cat /proc/mtd
- dev: size erasesize name
- mtd0: 00150000 00001000 "boot1+cfg+linux"
- mtd1: 00270000 00001000 "rootfs"
- #
复制代码 没有发现jffs2分区呢 |
|