RE: [U-Boot-Users] MPC8272ADS PCI limitation in u-boot

I have seen that exact problem multiple times. I found one good way to get that fixed on out internal 8265 port to a custom board.
I found that on our 8265 board, all IO resources have the lowest bit set. Changing m8260_find_bridges (in 2.6.9) to (arch/ppc/syslib/m8260_pci.c (psuedo patch) pci_init_resource(&hose->io_resource, MPC826x_PCI_LOWER_IO, MPC826x_PCI_UPPER_IO, - IORESOURCE_IO, "PCI I/O"); + IORESOURCE_IO | 1, "PCI I/O"); // the 1 added so IO areas work.
Helped for me. Now it newer compalins about resources. Also had to make sure that memory map for PCI matched between u-boot and linux. Still havent gotten around to fix the allocation under u-boot (or linux) to allocate prefetchable memory where needed.
-----Original Message----- From: Milligan, Keath [mailto:kmilligan@austin.polycom.com] Sent: Monday, January 10, 2005 13:19 To: Rune Torgersen; Yuli Barcohen; Milligan, Keath Cc: U-Boot Subject: RE: [U-Boot-Users] MPC8272ADS PCI limitation in u-boot
This seems to be the case. Basically, the issue I am having is that when I attempt to boot Linux, my PCI devices aren't getting mapped properly. Linux attempts to map some, but gives up saying it can not allocate the regions. This would seem to suggest that the firmware/boot-loader needs to deal with it.
The same hardware, when connected to a PC, gets mapped and works correctly under x86 Linux.
-----Original Message----- From: Rune Torgersen [mailto:runet@innovsys.com] Sent: Monday, January 10, 2005 8:36 AM To: Yuli Barcohen; Milligan, Keath Cc: U-Boot Subject: RE: [U-Boot-Users] MPC8272ADS PCI limitation in u-boot
Actually the MPC8266ADS port (MPC8266ADS_config, separate from the rest of the PQII boards) does do PCI initializatiopn (at least a very crude one) It only allocates non-prefetchable memory (even for placess where prefetchable should be used).
-----Original Message----- From: u-boot-users-admin@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net] On Behalf Of Yuli Barcohen Sent: Friday, January 07, 2005 17:47 To: Milligan, Keath Cc: U-Boot Subject: Re: [U-Boot-Users] MPC8272ADS PCI limitation in u-boot
U-Boot port for MPC82xxADS family does not initialise PCI bridge at all because it's not necessary for booting the board. Where did you find PCI windows initialisations? Regarding the bridge limitations, AFAIK you can do what you want but please consult MPC8272 user's guide.
--
========== Yuli Barcohen | Phone +972-9-765-1788 | Software Project Leader yuli@arabellasw.com | Fax +972-9-765-7494 | Arabella Software, Israel ============================================================== ==========
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well,
almost....http://www.thinkgeek.com/sfshirt
U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
participants (1)
-
Rune Torgersen