Skip to contentSkip to conversation

pci bus scan in u-boot-1.0.2

U-Boot xiaoguizi007 2 participants 3 messages Jun 2, 2009 – Jun 3, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I'm tring using pci function of u-boot-1.0.2. But while the programm run into function pci_hose_scan_bus() in /drivers/pci.c, it looks like go to dead and will never run. So, I assert some debug infomation, and then get the problem,maybe it is pci_hose_##rw##_config_##size() function. Because this function will never return this time!
Can anybody help me!

Thanks a lot,
Josh Wei

#1 lore raw

Dear xiaoguizi007,

Quoted 4 lines · In message <[email protected]>…

I'm tring using pci function of u-boot-1.0.2. But while the programm run into function pci_hose_scan_bus() in /drivers/pci.c, it looks like go to dead and will never run. So, I assert some debug infomation, and then get the problem,maybe it is p
ci_hose_##rw##_config_##size() function. Because this function will never return this time!
Can anybody help me!

U-Boot 1.0.2 is extremely old. Please consider it unsupported and update to recent code.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The perversity of nature is nowhere better demonstrated by  the  fact
that,  when  exposed to the same atmosphere, bread becomes hard while
crackers become soft.
author
#2 lore raw

Tks, maybe update to recent code is the best way!

?2009-06-02?"Wolfgang Denk" <[email protected]> ???

Dear xiaoguizi007,

Quoted 4 lines · In message <[email protected]>…

I'm tring using pci function of u-boot-1.0.2. But while the programm run into function pci_hose_scan_bus() in /drivers/pci.c, it looks like go to dead and will never run. So, I assert some debug infomation, and then get the problem,maybe it is p
ci_hose_##rw##_config_##size() function. Because this function will never return this time!
Can anybody help me!

U-Boot 1.0.2 is extremely old. Please consider it unsupported and update to recent code.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The perversity of nature is nowhere better demonstrated by  the  fact
that,  when  exposed to the same atmosphere, bread becomes hard while
crackers become soft.