Flash paritioning and JFFS2

Mirek23 miroslaw.dach at psi.ch
Thu Aug 23 23:36:27 EST 2007


Dear All,

     I am running linux 2.6.21 (by Grant) on the ppc405 which is build in
Virtex-4 of Avnet (xlinx ml403 like) evaluation board. The Avnet board has
the 4 MB of  NOR Flash (Intel TE28F640) . I just wanted to make use of the
Flash to store
u-boot, linux kernel and some config files.

To do so I wanted first to partition Flash to three partitions:
- U-Boot
- Linux-kernel
- JFFS2 (for some config files)

Could someone advice me how to configure Linux kernel to make use of the
Flash (with above mentioned partitions and JFFS2.

The information which I have collected is as following that I have to:
enable in kernel:
Device Drivers->Memory Technology Devices (MTD)
File Systems -> Miscellaneous file systems -> JFFS2

I do not know however which specific options to enable for MTD/JFFS2 since
it has many sub options.
I do not no also where to place:

-the partition information (which I have mentioned above) 
-the start (0xFF800000) and end (0xFFBFFFFF) physical location of my Flash
memory.

My aim is to mount (after booting Linux) the JFFS2 partition to store some
config data.

Best Regards and thank you in advance for any hint on that

Mirek 
   

 
-- 
View this message in context: http://www.nabble.com/Flash-paritioning-and-JFFS2-tf4317566.html#a12293748
Sent from the linuxppc-embedded mailing list archive at Nabble.com.



More information about the Linuxppc-embedded mailing list