From: raj reddy Date: Tue, 11 Sep 2007 13:45:54 +0100 (BST) Subject: [U-Boot-Users] Atmel AT49BV320C support in Uboot In-Reply-To: <20070906215822.25169247B6@gemini.denx.de> Message-ID: <373850.37404.qm@web7709.mail.in.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de CFI supports only the same size sector flash, but AT49BV320C organized like 8 * 4K 63 * 32K similar flash driver i saw in the board/at91rm9200dk/flash.c file. I took that file and tried to modify the commands, but i am getting the following Error... => saveenv Saving Environment to Flash... Protect off FFFB8000 ... FFFBFFFF Un-Protecting sectors 62..62 in bank 1 Un-Protected 1 sectors Protect off FFFB0000 ... FFFB7FFF Un-Protecting sectors 61..61 in bank 1 Un-Protected 1 sectors Data to save 0x4000 Data (start 0xfffb4000, len 0x4000) saved at 0xfac1b8 Erasing Flash... FFFB0000 ... FFFB7FFF ...Erase Flash from 0xfffb0000 to 0xfffb7fff in Bank # 1 Erasing sector 61 ... ok. Erased 1 sectors Writing to Flash... FFFB0005 ... FFFB4000 ... unaligned destination not supported Start and/or end address not on sector boundary is't the right procedure what i am trying to add the flash support for AT49BV320C --- Wolfgang Denk wrote: > In message > <241406.88627.qm@web7706.mail.in.yahoo.com> you > wrote: > > > > Can any one help me, how to add support for the > > AT49BV320C (command Flash Interface) support for > the > > uboot. > > If this flashis CFI conform, just use the existing > CFI driver. Search > for CFG_FLASH_CFI* in the existing board config > files to get an idea. > > Best regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH, MD: Wolfgang > Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 > Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 > Email: wd at denx.de > Without freedom of choice there is no creativity. > -- Kirk, "The return of the Archons", stardate > 3157.4 > Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/