[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Uboot support for the New Flash



Hi Mak


> Hello,
> 
> Thanks Michal for your support.
> 
> I have a custom board, in which I am using Spansion Flash Memory
> (WS256N series). I have two Flash memory chips interleaved to form a
> 32 bit wide Data Bus.
> 
> Previously, I was not able to query the Flash as it has a different
> address location (0x555) instead of 0x55 which is being used by other
> chips. Because of this the U-Boot was restarting. Currently, I have
> made a small change in the file "cfi_flash.c". The "FLASH_OFFSET_CFI"
> is chaged from 0x55 to 0x555. I have also defined the flag
> "CFG_FLASH_CFI_AMD_RESET" as the reset code is also different. And now
> I can see the U-boot prompt.
> 
> But at the end of the U-boot configuration, the Flash size is printed
> as 0 kB. I tried to look into the source and enable the DEBUG and also
> added the printf statement for "info->portwidth". Please find the file
> attached log file. Up to the logic when the sectors are identified, it
> was OK. But after that, the "info->portwidth" has became 0. (Line no.
> 183). The device is not even coming out of the CFI Query mode.
> 
> How can I add the support for my flash device?
> 

Petalogix U-BOOT version is for your purpose bad choice. I am not flash
specialist but I think that spansion flashes were discussed a lot on u-boot
mailing list.
I recommend you to use latest u-boot version. More information about microblaze
port is on my site http://monstr.eu/wiki/doku.php?id=uboot:uboot.

Thanks for your sending your experience with these flashes.

Regards,
Michal

P.S.: I sent some changes today but don't be scared with them. They haven't
impact to parts what you need.


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/