[U-Boot-Users] Dataflash and JFFS2
Andre Puschmann
andre.puschmann at stud.tu-ilmenau.de
Mon Jun 26 15:33:29 CEST 2006
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:
>>
>> #undef CONFIG_JFFS2_CMDLINE
>> #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?
what does the parameter CONFIG_JFFS2_DEV really mean, is it just a
symbolical name?
thank you
andre
More information about the U-Boot
mailing list