From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Puschmann Date: Tue, 27 Jun 2006 11:49:11 +0200 Subject: [U-Boot-Users] Dataflash and JFFS2 In-Reply-To: <20060626204239.24A3C352681@atlas.denx.de> References: <20060626204239.24A3C352681@atlas.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > In message 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