From: robinpv <robinpv@aiware.co.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] u-boot crashing while searching PCI device
Date: Tue, 11 Jul 2006 10:29:51 +0900 [thread overview]
Message-ID: <44B2FF0F.4080507@aiware.co.jp> (raw)
Hi,
I have a MPC5200 based board, with PCI 2250 PCI-PCI bridge and
2 RTL8110S ethernet controller on the PCI Bridge. I have set the
CONFIG_PCI_PNP option.
Bus Dev VID DID
00 12 104C AC23 Bridge
01 02 10EC 8169 Ethernet Chip
01 03 10EC 8169 Ethernet Chip
u-boot is able to detect the Bridge controller. But when it searching
for the ethernet devices
before the device and function number for the ethernet chip is reached
the u-boot is crashing.
It is crashing when it trying to read the header type [
pci_hose_scan_bus() in pci.c ]
of the device which is not present. Instead of getting data as 0xFF,
u-boot is crashing.
I tried the same in linux, The bridge and the ethernet device is
detected and mem,mmio and io
regions are allocated for the ethernet. But when i try to access
ethernet registers, all the values
are 0xFF.
I checked the values of the PCI Bridge registers in u-boot and linux.
All the registers are same
but the memory and io base , limit are differnet. I guess that should
not the problem.
Can some point out why the u-boot is crashing when searching device??
Thanks in advance,
Robin
next reply other threads:[~2006-07-11 1:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-11 1:29 robinpv [this message]
2006-07-11 6:38 ` [U-Boot-Users] u-boot crashing while searching PCI device Wolfgang Denk
2006-07-11 6:57 ` robinpv
2006-07-11 7:08 ` Wolfgang Denk
2006-07-13 2:34 ` robinpv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44B2FF0F.4080507@aiware.co.jp \
--to=robinpv@aiware.co.jp \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.