All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Puschmann <andre.puschmann@stud.tu-ilmenau.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Dataflash and JFFS2
Date: Mon, 26 Jun 2006 16:45:53 +0200	[thread overview]
Message-ID: <e7orv8$6te$1@sea.gmane.org> (raw)
In-Reply-To: <e7onni$mj5$1@sea.gmane.org>

Andre Puschmann wrote:
> Wolfgang Denk wrote:
>> In message <e7ok08$8eq$1@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?

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

  reply	other threads:[~2006-06-26 14:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26 12:29 [U-Boot-Users] Dataflash and JFFS2 Andre Puschmann
2006-06-26 13:07 ` Wolfgang Denk
2006-06-26 13:33   ` Andre Puschmann
2006-06-26 14:45     ` Andre Puschmann [this message]
2006-06-26 20:42     ` Wolfgang Denk
2006-06-27  9:49       ` Andre Puschmann
2006-06-27 10:13         ` Wolfgang Denk
2006-06-27 11:50           ` Andre Puschmann
2006-06-27 12:06 ` Marco Cavallini
2006-06-27 12:19   ` Andre Puschmann
2006-06-27 12:29     ` Andre Puschmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='e7orv8$6te$1@sea.gmane.org' \
    --to=andre.puschmann@stud.tu-ilmenau.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.