Skip to contentSkip to conversation

MPC8272 with PCI IDE chip problem?

U-Boot-Users Jack Liu 4 participants 5 messages Sep 29, 2004

lore
Share & tools
lore

Jack Liu

author
#0 lore raw

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. 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".
?????
Best regard
Jack liu

#1 lore raw
Quoted 19 lines · In message <[email protected]> you wrote:

aGksYWxsDQoJSSBoYXZlIGEgcHJvYmxlbSB1c2luZyBNUEM4MjcyIFBDSSBicmlkZ2UuIEN1cnJl bnRseSBJIGFtIGRlYnVnZ2lu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1TSzFfTUFTSwkJUENJTVNLXzY0TUIJCS8qIFNpemUgb2Ygd2luZG93ICovDQoJDQog ICAgI2RlZmluZSBDRkdfUENJX01TVFJfSU9fTE9DQUwgICAgICAgMHhGNDAwMDAwMCAgICAgICAg ICAvKiBMb2NhbCBiYXNlICovDQoJI2RlZmluZSBDRkdfUENJX01TVFJfSU9fQlVTICAgICAgICAg MHhGNDAwMDAwMCAgICAgICAgICAvKiBQQ0kgYmFzZSAgICovDQoJI2RlZmluZSBDRkdfQ1BVX1BD

Quoted 8 lines

SV9JT19TVEFSVCAgICAgICAgUENJX01TVFJfSU9fTE9DQUwNCgkjZGVmaW5lIENGR19QQ0lfTVNU Ul9JT19TSVpFICAgICAgICAweDA0MDAwMDAwICAgICAgICAgIC8qIDY0TUIgKi8NCgkjZGVmaW5l IENGR19QT0NNUjJfTUFTS19BVFRSSUIgICAgICAoUE9DTVJfTUFTS182NE1CIHwgUE9DTVJfRU5B QkxFIHwgUE9DTVJfUENJX0lPKQ0KoaGhoQ0KCVNvLCBJIGFtIHdvbmRlcmluZyB3aHkgdGhlIGNv bmZpZ3VyZWQgUENJIHNwYWNlIGNhbiBub3QgYmUgYWNjZXNzZWQgc2luY2UgSSBoYXZlIGNvbmZp Z3VyZWQgdGhlIG91dGJvdW5kIHdpbmRvdyBhbmQgUENJQlI/IEluIE1QQzgyNDEsIEkgY2FuIGFj Y2VzcyBQQ0kgc3BhY2UgYnkgIm1kIEZFMDAwMUYwIi4NCqGhoaGhoaGhoaENCkJlc3QgcmVnYXJk DQpKYWNrIGxpdQ0KDQo=

Please do not send base 64 encoded messages.

Please do not send HTML messages.

Please send plain text only.

Message unreadable, ignored. Sorry.

You send the same crap TWICE.

Please STOP sending base 64 encoded messages.

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
An age is called Dark not because  the  light  fails  to  shine,  but
because people refuse to see it.           -- James Michener, "Space"
#2 lore raw
Quoted 1 line · Wolfgang Denk

Please do not send base 64 encoded messages.

Please fix your MUA, base64 is properly defined as encoding for MIME messages (RFC 2045).

Quoted 1 line

Please send plain text only.

This will not help. According to RFC 1652 any MTA which supports the 8BITMIME extension have to make sure that another MTA which does not support this extension get a 7bit clean message. It is not specified how it should reencode the message. Most MTAs uses quoted-printable (if the original encoding was not "binary"), but base64 is also perfectly valid.

Bastian

Signature · 9 lines
Killing is wrong.
		-- Losira, "That Which Survives", stardate unknown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040929/86884068/attachment.pgp 
#3 lore raw
Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 1 line · Wolfgang Denk

Please do not send base 64 encoded messages.

Please fix your MUA, base64 is properly defined as encoding for MIME messages (RFC 2045).

Please don't try to tell me what the policy on this mailing list is.

It's simple: plain text only. Period.

This has nothing to do with MUA problems or so, but with things like being able to use standard text processing tools like grep or glimpse etc.

Quoted 2 lines

it should reencode the message. Most MTAs uses quoted-printable (if the original encoding was not "binary"), but base64 is also perfectly valid.

Not on this mailing list.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
How come everyone's going so slow if it's called rush hour?
#4 lore raw
In reply to Bastian Blank
Quoted 6 lines · Bastian Blank
Quoted 1 line · Wolfgang Denk

Please do not send base 64 encoded messages.

Please fix your MUA, base64 is properly defined as encoding for MIME messages (RFC 2045).

Quoted 7 lines
Quoted 1 line

Please send plain text only.

This will not help. According to RFC 1652 any MTA which supports the 8BITMIME extension have to make sure that another MTA which does not support this extension get a 7bit clean message. It is not specified how it should reencode the message. Most MTAs uses quoted-printable (if the original encoding was not "binary"), but base64 is also perfectly valid.

Please don't send such messages over this list. I have no idea what to do to get my coworkers back to work which are currently rolling on the floor, being convulsed with laughter...

Robert

Signature · 5 lines
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstra?e 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4