[U-Boot-Users] FW: Please help out to solve this flash problen in U-boot

Yogesh Kumar M yogeshkumarm at tataelxsi.co.in
Fri Sep 1 13:51:43 CEST 2006


Hi All
This is yogesh,we have a custom made board with

         1)MPC5200B(with host bridge support)
         2)PCI2PCI Bridge device from texas instruments
         3)DM642 dsp based processor
         and other I/O devices like serial port,HDD interface,ethernet etc

         we have successfully ported U-BOOT 1.1.2 and linux-2.4.25 where all
the interfaces are working fine

        we have interfaced with the GUI application also.

	 we have 2 16 MB flash in this MPC5200 board

			which are mapped as FF000000 CS0 or BOOTCS
			  FE000000 CS1 as my storage flash

CS0 which is mapped to FF000000 is working fine without any issue.
CS1 which is mapped to FE000000 has no response means chipselect it self is
not generated

#define CFG_FLASH1_BASE		0xFC000000
#define CFG_FLASH1_SIZE		0x01000000

#define CFG_CS1_START       	0xFC000000
#define CFG_CS1_SIZE          CFG_FLASH1_SIZE	which i have defined in
Icecube.h

and i have enabled bit 14 and 15 as explained in mpc5200 datasheet

*(vu_long *)MPC5XXX_ADDECR |= (3 << 16); /* enable CS1  added for CS1 chip
Select */

I have enabled CE (chip enable bit) and ME (Master enable bit)

and when i read my F000000C i can see the masked bits
and if i read F00000054 i am able to see the address mapped as 0000fe00 ie
is fe000000

can you please tell me what could be wrong since i am struck with this
problem since long time.

thanks
yogesh



-------------- next part --------------
A non-text attachment was scrubbed...
Name: icecube.c
Type: application/octet-stream
Size: 9984 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060901/27a45e36/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IceCube.h
Type: application/octet-stream
Size: 10703 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060901/27a45e36/attachment-0001.obj 


More information about the U-Boot mailing list