From: raj reddy Date: Wed, 12 Sep 2007 15:33:03 +0100 (BST) Subject: [U-Boot-Users] Atmel AT49BV320C support in Uboot In-Reply-To: <20070912131106.DA952247CE@gemini.denx.de> Message-ID: <637231.61646.qm@web7711.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 In the PC405GP processor Address Space Boot ROM -> 0xFFE00000 - 0xFFFFFFFF (i.e 2MB) But on my board i have flash 2M x 16 (CFI) which is of 4MB. That's the reason flash_start_address + flash_size > 0xFFFFFFFF. How can i fix this in the CFI driver? Regards, Raj. > > > => saveenv > > Saving Environment to Flash... > > Error: cannot span across banks when they are > mapped > > in reverse order > > Error: cannot span across banks when they are > mapped > > in reverse order > > Protected 37 sectors > > That means that your board configuration s > broken. The flash is > mapped to an address such that > flash_start_address + flash_size > > 0xFFFFFFFF. Thus he address range for your flash > wraps around, and > U-Boot thinks you have parts of it mapped at > 0x0000 and parts of it > somewhere else. And it does not support such a > setup. > > A simple "fli" command should show this problem > clearly. > > So just fix your flash mapping. > > Best regards, > > Wolfgang Denk > Travelling to a new city? Search for ATMs in that city. Go to http://in.maps.yahoo.com