[U-Boot-Users] Dataflash and JFFS2

Andre Puschmann andre.puschmann at stud.tu-ilmenau.de
Mon Jun 26 16:45:53 CEST 2006

Andre Puschmann wrote:
> Wolfgang Denk wrote:
>> In message <e7ok08$8eq$1 at sea.gmane.org> you wrote:
>>> i get the following error when typing "fsinfo":
>>> <log>
>>> no such FLASH device: nor0 (valid range 0 ... -1
>>> incorrect device: nor0
>>> </log>
>>> my settings in modified at91rm9200dk.h-file are:
>>> #define CONFIG_JFFS2_DEV		"nor0"
>>> #define CONFIG_JFFS2_PART_SIZE		0x3f6fbf
>>> #define CONFIG_JFFS2_PART_OFFSET	0xc0029040
>> This seems pretty broken to me.
>> First, data flash is not NOR  flash,  so  the  name  "nor0"  is  very
>> misleading.
>> Second, 0x3f6fbf is a very odd size for a flash partitions.JFFS
>> Similarly, 0xc0029040 is a very unlikely partition offset.
>> Best regards,
>> Wolfgang Denk
> hi,
> thank you for your prompt reply.
> you're right, sorry i did not check those sizes!
> page size of flash is 528byte. flash starts at 0xc0000000
> is offset relative to starting flash address?
> partition starts at 0x29040 (with 0xc0000000 as base) size is 0x3f6e10
> which is a multiple of 528, right?

sorry, size should be 0x3f6c00!
but it doesn't work anyways.

> what does the parameter CONFIG_JFFS2_DEV really mean, is it just a
> symbolical name?
> thank you
> andre
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

More information about the U-Boot mailing list