Flash Filesystem
Hi
i've some problems using the on board flash memory with linux. i added the support for adm/fujittsu flash in kernel config and add the right parameters for the "cfi flash device in physical memory".
cat /proc/mtd gives me
dev: size erasesize name
mtd0: 00400000 00010000 "physmap-flash.0"
i added /dev/mtd0 c 90 0 and /dev/mtdblock0 b 31 0
how do i add a partition and filesystem ????
fdisk /dev/mtd0 seems me not to be correct :)
Greets
Georg
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Hi Georg,
Quoted 8 lines · schardt
Hi
i've some problems using the on board flash memory with linux. i added the support for adm/fujittsu flash in kernel config and add the right parameters for the "cfi flash device in physical memory".
cat
/proc/mtdgives me
Quoted 7 lines
dev: size erasesize name
mtd0: 00400000 00010000 "physmap-flash.0"i added
/dev/mtd0c 90 0 and/dev/mtdblock0b 31 0how do i add a partition and filesystem ????
fdisk/dev/mtd0seems me not to be correct :)
There are several ways to definie partitions on an MTD device. Make sure yo= u=20
enable the 'MTD partitioning support' option and have a look at 'RedBoot=20 partition table parsing' and 'Command line partition table parsing':
Device Drivers
<*> Memory Technology Device (MTD) support
[*] MTD partitioning support
< > RedBoot partition table parsing
< > Command line partition table parsing
Another option is to hardcode the partition table in the platform data for = the=20
physmap driver.
Best regards,
=2D-=20
Laurent Pinchart
CSE Semaphore Belgium
Chauss=E9e de Bruxelles, 732A
B-1410 Waterloo
Belgium
T +32 (2) 387 42 59
=46 +32 (2) 387 42 75