[U-Boot] Non standard CFI detection tweaks

Rogan Dawes rogan at dawes.za.net
Tue Jul 20 10:38:11 CEST 2010


On 2010/07/20 9:58 AM, Stefan Roese wrote:
> Hi Rogan,
>
> OK, so the width is definitely 8 bit and not 16 bit:
>
> static struct physmap_flash_data dns323_nor_flash_data = {
> 	.width		= 1,
> ...
>
> But the base address is listed here as 0xf4000000:
>
> #define DNS323_NOR_BOOT_BASE 0xf4000000

Hmmm, maybe I must try changing that, then. That might be the answer to 
all the confusion.

Although it is definitely an 8MB flash, and I thought it was supposed to 
be at the end of memory?

> Are you sure you got this right? Nevertheless, now we know for sure, that the
> NOR chip is connected as an 8bit device and the chip is operated in byte mode.
> So all tests from the U-Boot prompt should be done with ".b" extension.
>
> BTW: This code you referenced is also available in mainline kernel.org.

Yes, I eventually got my "git clone" finished.

Thanks again for your help!

Rogan


More information about the U-Boot mailing list