[U-Boot-Users] Configuring Spansion flash

Jerry Van Baren
2007-09-14T15:35:04Z

> 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=31730>

Good luck,
gvb