Atmel AT49BV320C support in Uboot
Hi,
Can any one help me, how to add support for the AT49BV320C (command Flash Interface) support for the uboot.
Regards.
Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
Quoted 4 lines · In message <[email protected]> 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
Signature · 5 lines
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
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
Quoted 9 lines · --- Wolfgang Denk
In message
<[email protected]> youQuoted 3 lines · wrote:
Can any one help me, how to add support for the
AT49BV320C (command Flash Interface) support forthe
Quoted 1 line
uboot.
Quoted 20 lines
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
Signature · 9 lines
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/
Quoted 1 line · In message <[email protected]> you wrote:
CFI supports only the same size sector flash, but
This is wrong. Th CFI flash driver also supports bottom and top boot sector types.
Best regards,
Wolfgang Denk
Signature · 6 lines
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 ... bacteriological warfare ... hard to believe we were once foolish enough to play around with that. -- McCoy, "The Omega Glory", stardate unknown