[U-Boot-Users] Configuring Spansion flash

Yasothabalan Ramaswamy-TLS,Chennai yasothabalanr at hcl.in
Mon Sep 17 08:52:37 CEST 2007


Thanks Ben and Jerry I have fixed the my flash issued.

Is there any way to test the EEPROM through Uboot code?

Thanks in advance.

Regards,
Yasotha Balan R

 

-----Original Message-----
From: Jerry Van Baren [mailto:gerald.vanbaren at smiths-aerospace.com] 
Sent: Friday, September 14, 2007 9:05 PM
To: Yasothabalan Ramaswamy-TLS,Chennai
Cc: Ben Warren; u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Configuring Spansion flash

Yasothabalan Ramaswamy-TLS,Chennai wrote:
> So how shall I proceed next Ben.
> Where and in which file this configuration is done?
> 
> Whenever I trace out which flash is detected, it always gets detects
as
> FLASH_UNKNOWN.

It would appear you have something misconfigured in your hardware or 
u-boot software.  We know basically zero about either, so you will have 
to work the problem with only generic hints from the list.

Start by verifying the chip select to your flash part is being driven 
properly.

Once you are sure your hardware is driving the flash OK, use u-boot 
memory read and write commands to send the CFI manufacturer ID commands.

  When you figure out how to do CFI commands manually so that the flash 
responds, your misconfiguration of hardware/software should be very
obvious.

The following message thread goes into more details, simply substitute 
u-boot memory read/write commands for BDI configuration read/write
commands.
<http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/31501/focus=3173
0>

Good luck,
gvb

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------




More information about the U-Boot mailing list