linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Resend:MPC8272 PCI bridge problem?
@ 2004-10-05  1:01 Jack Liu
  2004-10-05  3:47 ` Matt Porter
  0 siblings, 1 reply; 2+ messages in thread
From: Jack Liu @ 2004-10-05  1:01 UTC (permalink / raw)
  To: linuxppc-embedded

hi,all
	I have a problem using MPC8272 PCI bridge. Currently I am debugging our own board with a MPC8272 and PCI IDE chip (VIA VT6410). However I can not visit the memory of PCI space. In u-boot, When I type "md F40001F0", there is always a program check. 
	My configuration is as follows:

	 *	0x00000000-0x07FFFFFF	128MB	SDRAM
	 *	0x80000000-0x9FFFFFFF	512MB	outbound prefetchable PCI memory window
 	 *	0xA0000000-0xBFFFFFFF	512MB	outbound non-prefetchable PCI memory window
 	 *	0xF0000000-0xF001FFFF	128KB	MPC8272 internal memory
 	 *	0xF4000000-0xF7FFFFFF	 64MB   outbound PCI I/O window
 	 *	0xFE000000-0xFFFFFFFF	 32MB	flash
    /* PCIBR0 */
	#define CFG_PCI_MSTR0_LOCAL		0x80000000		/* Local base */
	#define CFG_PCIMSK0_MASK		PCIMSK_1GB		/* Size of window */
	/* PCIBR1 */
	#define CFG_PCI_MSTR1_LOCAL		0xF4000000		/* Local base */
	#define CFG_PCIMSK1_MASK		PCIMSK_64MB		/* Size of window */
	
    #define CFG_PCI_MSTR_IO_LOCAL       0xF4000000          /* Local base */
	#define CFG_PCI_MSTR_IO_BUS         0xF4000000          /* PCI base   */
	#define CFG_CPU_PCI_IO_START        PCI_MSTR_IO_LOCAL
	#define CFG_PCI_MSTR_IO_SIZE        0x04000000          /* 64MB */
	#define CFG_POCMR2_MASK_ATTRIB      (POCMR_MASK_64MB | POCMR_ENABLE | POCMR_PCI_IO)
  
	So, I am wondering why the configured PCI space can not be accessed since I have configured the outbound window and PCIBR? In MPC8241, I can access PCI space by "md FE0001F0".
    Any kind help will be greatly appreciated.
 
Best regard
Jack liu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Resend:MPC8272 PCI bridge problem?
  2004-10-05  1:01 Resend:MPC8272 PCI bridge problem? Jack Liu
@ 2004-10-05  3:47 ` Matt Porter
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Porter @ 2004-10-05  3:47 UTC (permalink / raw)
  To: Jack Liu; +Cc: linuxppc-embedded

On Tue, Oct 05, 2004 at 09:01:12AM +0800, Jack Liu wrote:
> hi,all
> I have a problem using MPC8272 PCI bridge. Currently I am
> debugging our own board with a MPC8272 and PCI IDE chip
> (VIA VT6410). However I can not visit the memory of PCI
> space. In u-boot, When I type "md F40001F0", there is
> always a program check. 

Hi,

You should try the u-boot-users list for this u-boot question.
BTW, please try fixing your mailer to break lines at some sane
location. It's very hard to quote/reply to your mail.

-Matt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-05  3:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-05  1:01 Resend:MPC8272 PCI bridge problem? Jack Liu
2004-10-05  3:47 ` Matt Porter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).