Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
687 Views

Creating mtd partitions within a single cfi-flash

Hello folks, 

i'am trying to create multiple partitions within my single (4 MB) cfi-flash. These partitions should be mountable from uCLinux using jffs2. 

The flash section within my dts-file looks like this: 

cfi_flash: flash@0x400000 { compatible = "ALTR,cfi_flash-11.1", "cfi-flash"; reg = < 0x00400000 0x00400000 >; bank-width = < 2 >; device-width = < 1 >; # address-cells = < 1 >; # size-cells = < 1 >; part_0@0 { reg = < 0x00000000 0x00200000 >; }; //end part_0@0 part_1@200000 { reg = < 0x00200000 0x00200000 >; }; //end part_1@200000 }; //end flash@0x400000 (cfi_flash)  

 

But something must be wrong within my kernel-config. 

Because uCLinux detects only the cfi-flash device but not the partitions. I'am only able to mount the whole flash but not the different partitions. 

cat /proc/mtd displays: 

dev: size erasesize name 

mtd0: 00400000 00010000 "400000.flash" 

 

Please take a look at my kernel config.... 

Thank you so much.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
30 Views

No one out there who uses flash-partitions?

Reply