[U-Boot-Users] Dataflash and JFFS2

Andre Puschmann andre.puschmann at stud.tu-ilmenau.de
Tue Jun 27 11:49:11 CEST 2006


Wolfgang Denk wrote:
> In message <e7onni$mj5$1 at sea.gmane.org> you wrote:
>> 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?
> 
> I don't think so.

sorry, i already corrected this typo :-) size is 0x3f6c00

but where should offset start from? at 0x00000000 or 0xc0000000?

this is my config:
#undef CONFIG_JFFS2_CMDLINE
#define CONFIG_JFFS2_DEV		"nor0"
#define CONFIG_JFFS2_PART_SIZE		0x3f6c00
#define CONFIG_JFFS2_PART_OFFSET	(CFG_DATAFLASH_LOGIC_ADDR_CS0 + 0x29040)

where 0x29040 is the beginning of the partition starting from 0xc0000000



is it suppose to work generally on dataflash?

> 
>> what does the parameter CONFIG_JFFS2_DEV really mean, is it just a
>> symbolical name?
> 
> Yes.

so calling it nor0 doesn't effect anything?

> 
> Best regards,
> 
> Wolfgang Denk
> 

regards
andre





More information about the U-Boot mailing list