linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* pq2_find_bridges hangs system
@ 2005-12-02 10:51 Alex BASTOS
  2005-12-02 10:30 ` Vitaly Bordug
  0 siblings, 1 reply; 10+ messages in thread
From: Alex BASTOS @ 2005-12-02 10:51 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

I am working on a board with a MPC8248 based on ADS8272.
Until now I was working with ppc kernel 2.6.11. Now, it's
time to go up, so I am trying 2.6.15-rc2.

Unfortunately, kernel hangs at boot-up, and with a BDI2000
I have reached the pq2_find_bridges() call, more precisely,
in indirect_read_config(). Now I am a bit lost, as I have
almos any knowledge about PCI.

The board doesn't need PCI support at all, but I need it
active on kernel as it is required by USB HCD stack.

I have tested this on the ADS8272 and i doesn't happends,
so, any clue.

And, has the indirect_read_config any to do with the PCI9
workaround, which is supposed to be corrected on HIP7
devices?

Thanks in advance.

Alex BASTOS

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: pq2_find_bridges hangs system
@ 2005-12-14 10:21 Alex BASTOS
  2005-12-14 11:29 ` Vitaly Bordug
  0 siblings, 1 reply; 10+ messages in thread
From: Alex BASTOS @ 2005-12-14 10:21 UTC (permalink / raw)
  To: Alex BASTOS; +Cc: linuxppc-embedded list

Vitaly,

So, I have arrived to some conclusions.

1) With my previous kernel version (2.6.11) I had no problems
because it had CONFIG_PCI_8260 and CONFIG_PPC_INDIRECT_PCI unset.
So I think no effective read/write operation was executed, and so
that, no Machine Check.

In fact, this is the configuration I would prefer for my board. I have
to set CONFIG_PCI for enabling USB, but I don't want all the HW stuff
of the PCI. I can get these also with 2.6.15 if I modify Kconfig, to
allow me to unset PCI_8260 (and then PPC_INDIRECT_PCI) for my board.
With that, the problem dissapears and I can boot 2.6.15.

Shouldn't this (PCI_8260) be visible from xconfig for those like me
who wants USB (=> CONFIG_PCI) but don't really have any PCI device?

2) Although I am using Uboot 1.1.4, it is not top of git. I have
found your changes to support PCI on 8272ADS for u-boot are not
still applied on the version i am using. So, could this be causing
the problem? Is there any configuration done in u-boot required by
the PCI on the linux kernel to boot (BR3,OR3, EMR, ...)?

I should say that, on ADS, I have an older version of u-boot, 1.1.2,
and it boots OK.

3) I have seen that from u-boot, a reset occurs when I read Internal
Memory at offset 0x10904 (PCI CFG_DATA). From BDI, when I do the same
all PCI section on IM becomes zero. Is this a known behaviour? May this
reflect a hardware problem?

In conclusion, 1) solves my "must", a working board (without PCI).
But I still would like to know what am I doing so wrong with this.

Best regards,

Alex

Citando Alex BASTOS <alebas@televes.com>:

> Vitaly,
>
> It didn't work. So I will check pq2ads_setup_pci to check if
> some board specific issue is affected.
>
> I will say you if I find anything
>
> Thanks
>
> Alex.
>

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

end of thread, other threads:[~2005-12-14 11:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-02 10:51 pq2_find_bridges hangs system Alex BASTOS
2005-12-02 10:30 ` Vitaly Bordug
2005-12-02 13:56   ` Alex BASTOS
2005-12-02 14:49     ` Alex BASTOS
2005-12-02 14:55       ` Vitaly Bordug
2005-12-03 17:36         ` Alex BASTOS
2005-12-13  8:24         ` Alex BASTOS
     [not found]   ` <0IQV004GGIH0UG@mailstore1.hut-mail>
2005-12-02 14:09     ` Kalle Pokki
  -- strict thread matches above, loose matches on Subject: below --
2005-12-14 10:21 Alex BASTOS
2005-12-14 11:29 ` Vitaly Bordug

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).