pci on ppc
Hi,
my kernel does not boot with the kernel option "CONFIG_PCI". (System MPC8270 (PQ2FADS), 2.4.25 denx kernel, eldk 3.0). Without the pci option it can boot without problems.
UBoot supports my pci. It shows the bridge and the cards i put in.
What i have to attend in the kernel for the 82xx?
Where the function "m8260_setup_arch()" (m8260_setup.c) is called ?? With the pci option the kernel does not call this function.
Thanks a lot
Marco
---------
Marco Schramel
R&D
Bartec GmbH
Schulstr. 30
94239 Gotteszell, Germany
www.bartec.de
[email protected]
Phone: +49 (0)9929/301332 Fax: +49 (0)9929/301112
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 2 lines · Marco Schramel
Where the function "
m8260_setup_arch()" (m8260_setup.c) is called ?? With the pci option the kernel does not call this function.
I don't know If I understand you right or this is helpful to you, but these functions are never called directly, but instead in platform_init() function pointers are stored in the ppc_md struct variable, and this holds true for m8260_setup_arch() as well (in arch/ppc/kernel/m8260_setup.c):
ppc_md.setup_arch = m8260_setup_arch;
There's always only one platform_init() due to the linking process, so there's no name clash.
Could you elaborate a bit on your PCI problem anyway? Is your board standard or custom?
With kind regards,
Oliver Korpilla
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Marco Schramel
Hi,
my kernel does not boot with the kernel option "
CONFIG_PCI". (System MPC8270 (PQ2FADS), 2.4.25 denx kernel, eldk 3.0). Without the pci option it can boot without problems.
UBoot supports my pci. It shows the bridge and the cards i put in.
What i have to attend in the kernel for the 82xx?
Try it in the 2.6 kernel and I'll actually try to care. IF you haven't _already_ got 2.4 working, why in $DEITY's name would you be starting to use it now?
--
dwmw2
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/