- 论坛徽章:
- 0
|
dts部分内容如下,看是都定义了的(nor有5个,nand有6个)。
cpus {
#address-cells = <1>;
#size-cells = <0>;
PowerPC,8313@0 {
device_type = "cpu";
reg = <0>;
d-cache-line-size = <20>; // 32 bytes
i-cache-line-size = <20>; // 32 bytes
d-cache-size = <4000>; // L1, 16K
i-cache-size = <4000>; // L1, 16K
timebase-frequency = <0>; // from bootloader
bus-frequency = <0>; // from bootloader
clock-frequency = <0>; // from bootloader
32-bit;
};
};
memory {
device_type = "memory";
reg = <00000000 08000000>; // 128MB at 0
};
nand@e2800000 {
device_type = "nand";
compatible = "fsl-nand";
reg = <e2800000 2000>;
partitions = <
00000000 00100001 /* U-BOOT 1M R0 */
00100000 00800000 /* JFFS2 8M RW */
00900000 00400001 /* RAMDISK 4M RO */
00d00000 01000000 /* Reserve 16M RW */
01d00000 00200001 /* Kernel 2M RO */
01f00000 00100001>;/* DTB 1M RO */
partition-names = "U-Boot-NAND", "JFFS2-NAND", "Ramdisk-NAND",
"Reserve-NAND", "Kernel-NAND", "DTB-NAND";
};
nor@fe000000 {
device_type = "rom";
compatible = "direct-mapped";
reg = <fe000000 00800000>; /*8MB*/
probe-type = "CFI";
bank-width = <2>;
partitions = <
00000000 00100001 /* U-BOOT 1M RO */
00100000 00200001 /* kernel 2M RO */
00300000 00400000 /* Ramdisk File system 4M RW */
00700000 00080001 /* DTB 512K RO */
00780000 00080000>; /* JFFS2 512K RW */
partition-names = "U-Boot", "Kernel", "Ramdisk", "DTB", "JFFS2" ;
};
|
|