[U-Boot-Users] EP8248 as a PCI card

Thanks, Yuli
Got the patch, u-boot 1.1.2 installed and running on my ep8248 board. In standalone mode.
When I try to use the EP8248 (with u-boot 1.1.2) as a PCI card in my PC (desktop), the PC doesn't even power up.
But when the same card, with PlanetCore bootloader (the bootloader that came with the card), is inserted in the same PCI slot, the PC powers on, Windows XP starts up and even detects the card as a "Other PCI bridge" device.
What change(s) do I have to make in the u-boot code to make it work as a PCI card in my PC?
I have already tried the following: #define CONFIG_PCI in include/configs/EP8248.h
Because of the above #define, I had to write a pci_init_board() function in board/ep8248/ep8248.c
This function simply creates a pci_controller 'hose' and calls pci_mpc8250_init(&hose);
With all this, now my PC boots up with the EP8248 + u-boot, but Windows can't detect the card.
How do I proceed? What changes should I make?
Waiting, Nishant
-----Original Message----- From: Yuli Barcohen yuli@arabellasw.com To: "Nishant Galange" nishant.subs@myrealbox.com Date: Wed, 29 Jun 2005 11:42:55 +0300 Subject: Re: where is the EP8248 patch?
Nishant Galange writes:
Nishant> Hi Yuli On 12 Dec 2004, You posted a patch for the Embedded Nishant> Planet EP8248 board. How do I download this patch?
From the GMANE archive which was mentioned many times on this list.
Nishant> Is it already included in u-boot 1.1.2?
No AFAIK. It's probably on Wolfgang's list.
Nishant> Once I have all the necessary source code (with the patch Nishant> incorporated), what command(s) do I give to compile u-boot Nishant> 1.1.2 for the EP8248 board?
Nishant> Will the following work:
Should be OK.
Nishant> $ export CROSS_COMPILE=ppc_82xx- Nishant> $ export PATH=[path_to_ELDK]:$PATH Nishant> $ make EP8248_config Nishant> $ make

In message 1120131332.25d404dcnishant.subs@myrealbox.com you wrote:
Thanks, Yuli
Why are you posting the same message twice?
When I try to use the EP8248 (with u-boot 1.1.2) as a PCI card in my PC (desktop), the PC doesn't even power up.
Well, this is probably to be expected.
How do I proceed? What changes should I make?
Have a look at the PCI init code for the PN62 board, for example.
Best regards,
Wolfgang Denk
participants (2)
-
Nishant Galange
-
Wolfgang Denk