public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Problem using cfi_flash driver for s29GL512N flashes
Date: Tue, 27 Nov 2007 07:11:28 +0100	[thread overview]
Message-ID: <200711270711.28519.sr@denx.de> (raw)
In-Reply-To: <18385083.518451196138781394.JavaMail.nabble@isper.nabble.com>

On Tuesday 27 November 2007, santigopal_mondal at mindtree.com wrote:
>  Greetings everybody..I am using u-boot1.1.5 for at91rm9200ek type
> board(arm).

U-Boot 1.1.5 is *old*. I suggest upgrading to the current version. Lot's of 
things got fixed here.

> The flash memory used here is s29GL512N(128k sectors).I am able 
> to configure the board/config flle properly it seems. The driver also
> erases/writes properly it seems. The problem is when I am trying to save
> environment variables it is getting set but in some cases after a reset it
> is showing Bad CRC and getting to the default environment. The other thing
> is I am not able to boot the kernel image from the flash due to some bad
> checksum error. Everywhere the problem is related to crc. I am a bit
> confused why the CRC check fails everytime? Is it not writing properly and
> if it is not writing properly then how it is able to get the u-boot
> prompt..
>
> The required configurations defined
>
> #define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x20000)
> #define CFG_ENV_SIZE 0x2000
> #define CFG_ENV_SECT_SIZE 0x20000
> #define CFG_MALLOC_LEN (CFG_ENV_SIZE + 128*1024)
> #define CONFIG_STACKSIZE (32 * 1024)
>
> The TEXT_BASE in config.mk :
>
>  TEXT_BASE 0x21F00000
>
>  Please help as soon as possible...

Debugging this problem in the old U-Boot version doesn't seem to make sense to 
me. Please try to upgrade.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2007-11-27  6:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-27  4:46 [U-Boot-Users] Problem using cfi_flash driver for s29GL512N flashes santigopal_mondal at mindtree.com
2007-11-27  6:11 ` Stefan Roese [this message]
2007-11-27 20:48   ` Santigopal Mondal
2007-11-28  6:23     ` Stefan Roese

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=200711270711.28519.sr@denx.de \
    --to=sr@denx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox