[COMMIT] freebios2 How much have I broken?

YhLu YhLu at tyan.com
Mon Oct 13 23:09:00 CEST 2003


Reset:



LinuxBIOS-1.1.52.0_Fallback Tue Oct 14 03:16:20 EDT 2003 starting...
setting up resource map....
done.
Enabling routing table for node 00000000 done.
Enabling SMP settings
setup_remote_node
setup_remote_done
Renaming current temp node to 00000001 done.
Enabling routing table for node 00000001 done.
00000002 nodes initialized.
detect_mp_capabilities: 00000002
coherent_ht_finalize
done
setting up ht links....
done
SMBus controller enabled
Ram1.00
setting up CPU00 northbridge registers
done.
Ram1.01
setting up CPU01 northbridge registers
done.
Ram2.00
Enabling dual channel memory
166Mhz
Interleaved
RAM: 0x00400000 KB
Ram2.01
Enabling dual channel memory
disabling dimm01
disabling dimm01
166Mhz
disabling dimm01
Interleaved
RAM: 0x00600000 KB
Ram3
ECC enabled
ECC enabled
Initializing memory:  done
Clearing memory: addr 00000000-000000ff
---------------------------------------------------------------done
Initializing memory:  done
Clearing memory: addr 00000100-0000017f
++++++++++++++++++++++++++++++++done
Ram4
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
LinuxBIOS-1.1.52.0_Fallback Tue Oct 14 03:16:20 EDT 2003 booting...
Finding PCI configuration type.
PCI: Using configuration type 1
Enumerating: AMD K8 Northbridge
Enumerating: AMD K8 Northbridge
Enumerating: AMD K8
Enumerating: AMD K8
Enumerating: AMD 8111
Enumerating buses...PCI: pci_scan_bus for bus 0
PCI: 00:18.0 [1022/1100] enabled
PCI: 00:18.1 [1022/1101] enabled
PCI: 00:18.2 [1022/1102] enabled
PCI: 00:18.3 [1022/1103] ops
PCI: 00:18.3 [1022/1103] enabled
PCI: 00:19.0 [1022/1100] enabled
PCI: 00:19.1 [1022/1101] enabled
PCI: 00:19.2 [1022/1102] enabled
PCI: 00:19.3 [1022/1103] ops
PCI: 00:19.3 [1022/1103] enabled
amdk8_scan_chains max: 0 starting...
Hyper transport scan link: 2 max: 1
PCI: 01:01.0 [1022/7450] enabled next_unitid: 0003
PCI: 01:03.0 [1022/7460] enabled next_unitid: 0007
PCI: pci_scan_bus for bus 1
PCI: 01:01.0 [1022/7450] bus ops
PCI: 01:01.0 [1022/7450] enabled
PCI: 01:01.1 [1022/7451] ops
PCI: 01:01.1 [1022/7451] enabled
PCI: 01:02.0 [1022/7450] bus ops
PCI: 01:02.0 [1022/7450] enabled
PCI: 01:02.1 [1022/7451] ops
PCI: 01:02.1 [1022/7451] enabled
PCI: 01:03.0 [1022/7460] enabled
PCI: 01:04.0 [1022/7468] bus ops
PCI: 01:04.0 [1022/7468] enabled
PCI: 01:04.1 [1022/7469] ops
PCI: 01:04.1 [1022/7469] enabled
PCI: 01:04.2 [1022/746a] enabled
PCI: 01:04.3 [1022/746b] ops
PCI: 01:04.3 [1022/746b] enabled
PCI: 01:04.5 [1022/746d] enabled
amd8111_enable dev: PCI: 01:04.6 lpc_dev: PCI: 01:04.0 index: 6 reg: ffff ->
ffbf done
PCI: 01:04.6 [ffff/ffff] disabled
PCI: pci_scan_bus for bus 2
PCI: 02:09.0 [14e4/16a7] ops
PCI: 02:09.0 [14e4/16a7] enabled
PCI: pci_scan_bus returning with max=02
PCI: pci_scan_bus for bus 3
PCI: pci_scan_bus returning with max=03
PCI: pci_scan_bus for bus 4
PCI: 04:00.0 [1022/7464] ops
PCI: 04:00.0 [1022/7464] enabled
PCI: 04:00.1 [1022/7464] ops
PCI: 04:00.1 [1022/7464] enabled
PCI: 04:00.2 [1022/7463] ops
PCI: 04:00.2 [1022/7463] enabled
amd8111_enable dev: PCI: 04:01.0 lpc_dev: PCI: 01:04.0 index: 9 reg: ffbf ->
fdbf done
PCI: 04:01.0 [ffff/ffff] disabled
PCI: 04:0b.0 [1095/3114] ops
PCI: 04:0b.0 [1095/3114] enabled
PCI: 04:0c.0 [104c/8023] ops
PCI: 04:0c.0 [104c/8023] enabled
PCI: pci_scan_bus returning with max=04
PCI: pci_scan_bus returning with max=04
Hyper transport scan link: 2 new max: 4
Hypertransport scan link done
Hyper transport scan link: 0 max: 5
PCI: 05:01.0 [1022/7454] enabled next_unitid: 0004
PCI: pci_scan_bus for bus 5
PCI: 05:01.0 [1022/7454] ops
PCI: 05:01.0 [1022/7454] enabled
PCI: 05:02.0 [1022/7455] bus ops
PCI: 05:02.0 [1022/7455] enabled
PCI: pci_scan_bus for bus 6
PCI: pci_scan_bus returning with max=06
PCI: pci_scan_bus returning with max=06
Hyper transport scan link: 0 new max: 6
Hypertransport scan link done
amdk8_scan_chains max: 6 done
amdk8_scan_chains max: 6 starting...
amdk8_scan_chains max: 6 done
PCI: pci_scan_bus returning with max=06
done
Allocating resources...
PCI: 04:01.0 missing read_resources
PCI: 04:01.0 missing read_resources
PCI: 04:01.0 missing read_resources
PCI: 01:04.6 missing read_resources
PCI: 01:04.6 missing read_resources
ASSIGN RESOURCES, bus 0
PCI: 00:18.0 c8 <- [0x00003000 - 0x00002fff] node 0 link 0 io
PCI: 00:18.0 80 <- [0xe0000000 - 0xefffffff] node 0 link 0 mem
PCI: 01:04.6 missing read_resources
PCI: 00:18.0 c0 <- [0x00001000 - 0x00002fff] node 0 link 2 io
PCI: 01:04.6 missing read_resources
PCI: 00:18.0 b8 <- [0xf0000000 - 0xf02fffff] node 0 link 2 mem
ASSIGN RESOURCES, bus 5
PCI: 05:01.0 10 <- [0xe0000000 - 0xefffffff] prefmem
PCI: 05:02.0 1c <- [0x00003000 - 0x00002fff] bus 6 io
PCI: 05:02.0 24 <- [0xf0000000 - 0xefffffff] bus 6 prefmem
PCI: 05:02.0 20 <- [0xf0000000 - 0xefffffff] bus 6 mem
ASSIGNED RESOURCES, bus 5
ASSIGN RESOURCES, bus 1
PCI: 01:01.0 1c <- [0x00002000 - 0x00001fff] bus 2 io
PCI: 01:01.0 24 <- [0xf0200000 - 0xf01fffff] bus 2 prefmem
PCI: 01:01.0 20 <- [0xf0000000 - 0xf00fffff] bus 2 mem
ASSIGN RESOURCES, bus 2
PCI: 02:09.0 10 <- [0xf0000000 - 0xf000ffff] mem
ASSIGNED RESOURCES, bus 2
PCI: 01:01.1 10 <- [0xf0200000 - 0xf0200fff] mem
PCI: 01:02.0 1c <- [0x00002000 - 0x00001fff] bus 3 io
PCI: 01:02.0 24 <- [0xf0200000 - 0xf01fffff] bus 3 prefmem
PCI: 01:02.0 20 <- [0xf0200000 - 0xf01fffff] bus 3 mem
PCI: 01:02.1 10 <- [0xf0201000 - 0xf0201fff] mem
PCI: 04:01.0 missing read_resources
PCI: 01:03.0 1c <- [0x00001000 - 0x00001fff] bus 4 io
PCI: 04:01.0 missing read_resources
PCI: 01:03.0 24 <- [0xf0200000 - 0xf01fffff] bus 4 prefmem
PCI: 04:01.0 missing read_resources
PCI: 01:03.0 20 <- [0xf0100000 - 0xf01fffff] bus 4 mem
ASSIGN RESOURCES, bus 4
PCI: 04:00.0 10 <- [0xf0104000 - 0xf0104fff] mem
PCI: 04:00.1 10 <- [0xf0105000 - 0xf0105fff] mem
PCI: 04:00.2 10 <- [0xf0108000 - 0xf01080ff] mem
PCI: 04:00.2 14 <- [0xf0109000 - 0xf010901f] mem
PCI: 04:01.0 missing set_resources
PCI: 04:0b.0 10 <- [0x00001010 - 0x00001017] io
PCI: 04:0b.0 14 <- [0x00001030 - 0x00001033] io
PCI: 04:0b.0 18 <- [0x00001020 - 0x00001027] io
PCI: 04:0b.0 1c <- [0x00001040 - 0x00001043] io
PCI: 04:0b.0 20 <- [0x00001000 - 0x0000100f] io
PCI: 04:0b.0 24 <- [0xf0107000 - 0xf01073ff] mem
PCI: 04:0c.0 10 <- [0xf0106000 - 0xf01067ff] mem
PCI: 04:0c.0 14 <- [0xf0100000 - 0xf0103fff] mem
ASSIGNED RESOURCES, bus 4
PCI: 01:04.0 00 <- [0x00000000 - 0xffffffff] io
PCI: 01:04.0 00 <- [0x00000000 - 0xffffffff] mem
PCI: 01:04.1 20 <- [0x00002460 - 0x0000246f] io
PCI: 01:04.2 10 <- [0x00002440 - 0x0000245f] io
PCI: 01:04.5 10 <- [0x00002000 - 0x000020ff] io
PCI: 01:04.5 14 <- [0x00002400 - 0x0000243f] io
PCI: 01:04.6 missing set_resources
ASSIGNED RESOURCES, bus 1
ASSIGNED RESOURCES, bus 0
done.
Enabling resourcess...
PCI: 00:18.0 cmd <- 00
PCI: 05:01.0 cmd <- 06
PCI: 05:02.0 bridge ctrl <- 0000
PCI: 05:02.0 cmd <- 07
PCI: 01:01.0 bridge ctrl <- 0000
PCI: 01:01.0 cmd <- 07
PCI: 02:09.0 cmd <- 02
PCI: 01:01.1 cmd <- 02
PCI: 01:02.0 bridge ctrl <- 0000
PCI: 01:02.0 cmd <- 07
PCI: 01:02.1 cmd <- 02
PCI: 01:03.0 bridge ctrl <- 0000
PCI: 01:03.0 cmd <- 07
PCI: 04:00.0 cmd <- 02
PCI: 04:00.1 cmd <- 02
PCI: 04:00.2 cmd <- 02
PCI: 04:01.0 missing enable_resources
PCI: 04:0b.0 cmd <- 03
PCI: 04:0c.0 cmd <- 02
PCI: 01:04.0 cmd <- 0f
PCI: 01:04.1 cmd <- 01
PCI: 01:04.2 cmd <- 01
PCI: 01:04.3 cmd <- 00
PCI: 01:04.5 cmd <- 01
PCI: 01:04.6 missing enable_resources
PCI: 00:18.1 cmd <- 00
PCI: 00:18.2 cmd <- 00
PCI: 00:18.3 cmd <- 00
PCI: 00:19.0 cmd <- 00
PCI: 00:19.1 cmd <- 00
PCI: 00:19.2 cmd <- 00
PCI: 00:19.3 cmd <- 00
done.
Initializing devices...
PCI: 00:18.3 init
NB: Function 3 Misc Control.. resetting cpu


LinuxBIOS-1.1.52.0_Fallback Tue Oct 14 03:16:20 EDT 2003 starting...
setting up resource map....
done.
Enabling routing table for node 00000000 done.
Enabling SMP settings
setup_remote_node
setup_remote_done
Renaming current temp node to 00000001 done.
Enabling routing table for node 00000001 done.
00000002 nodes initialized.
detect_mp_capabilities: 00000002
coherent_ht_finalize
done
setting up ht links....
done
SMBus controller enabled
Ram1.00
setting up CPU00 northbridge registers
done.
Ram1.01
setting up CPU01 northbridge registers
done.
Ram2.00
Enabling dual channel memory
166Mhz
Interleaved
RAM: 0x00400000 KB
Ram2.01
Enabling dual channel memory
disabling dimm01
disabling dimm01
166Mhz
disabling dimm01
Interleaved
RAM: 0x00600000 KB
Ram3
ECC enabled
ECC enabled
Initializing memory:  done
Clearing memory: addr 00000000-000000ff
---------------------------------------------------------------done
Initializing memory:  done
Clearing memory: addr 00000100-0000017f
++++++++++++++++++++++++++++++++done
Ram4
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
LinuxBIOS-1.1.52.0_Fallback Tue Oct 14 03:16:20 EDT 2003 booting...
Finding PCI configuration type.
PCI: Using configuration type 1
Enumerating: AMD K8 Northbridge
Enumerating: AMD K8 Northbridge
Enumerating: AMD K8
Enumerating: AMD K8
Enumerating: AMD 8111
Enumerating buses...PCI: pci_scan_bus for bus 0
PCI: 00:18.0 [1022/1100] enabled
PCI: 00:18.1 [1022/1101] enabled
PCI: 00:18.2 [1022/1102] enabled
PCI: 00:18.3 [1022/1103] ops
PCI: 00:18.3 [1022/1103] enabled
PCI: 00:19.0 [1022/1100] enabled
PCI: 00:19.1 [1022/1101] enabled
PCI: 00:19.2 [1022/1102] enabled
PCI: 00:19.3 [1022/1103] ops
PCI: 00:19.3 [1022/1103] enabled
amdk8_scan_chains max: 0 starting...
Hyper transport scan link: 2 max: 1
PCI: 01:01.0 [1022/7450] enabled next_unitid: 0003
PCI: 01:03.0 [1022/7460] enabled next_unitid: 0007
PCI: pci_scan_bus for bus 1
PCI: 01:01.0 [1022/7450] bus ops
PCI: 01:01.0 [1022/7450] enabled
PCI: 01:01.1 [1022/7451] ops
PCI: 01:01.1 [1022/7451] enabled
PCI: 01:02.0 [1022/7450] bus ops
PCI: 01:02.0 [1022/7450] enabled
PCI: 01:02.1 [1022/7451] ops
PCI: 01:02.1 [1022/7451] enabled
PCI: 01:03.0 [1022/7460] enabled
PCI: 01:04.0 [1022/7468] bus ops
PCI: 01:04.0 [1022/7468] enabled
PCI: 01:04.1 [1022/7469] ops
PCI: 01:04.1 [1022/7469] enabled
PCI: 01:04.2 [1022/746a] enabled
PCI: 01:04.3 [1022/746b] ops
PCI: 01:04.3 [1022/746b] enabled
PCI: 01:04.5 [1022/746d] enabled
amd8111_enable dev: PCI: 01:04.6 lpc_dev: PCI: 01:04.0 index: 6 reg: ffff ->
ffbf done
PCI: 01:04.6 [ffff/ffff] disabled
PCI: pci_scan_bus for bus 2
PCI: 02:09.0 [14e4/16a7] ops
PCI: 02:09.0 [14e4/16a7] enabled
PCI: pci_scan_bus returning with max=02
PCI: pci_scan_bus for bus 3
PCI: pci_scan_bus returning with max=03
PCI: pci_scan_bus for bus 4
PCI: 04:00.0 [1022/7464] ops
PCI: 04:00.0 [1022/7464] enabled
PCI: 04:00.1 [1022/7464] ops
PCI: 04:00.1 [1022/7464] enabled
PCI: 04:00.2 [1022/7463] ops
PCI: 04:00.2 [1022/7463] enabled
amd8111_enable dev: PCI: 04:01.0 lpc_dev: PCI: 01:04.0 index: 9 reg: ffbf ->
fdbf done
PCI: 04:01.0 [ffff/ffff] disabled
PCI: 04:0b.0 [1095/3114] ops
PCI: 04:0b.0 [1095/3114] enabled
PCI: 04:0c.0 [104c/8023] ops
PCI: 04:0c.0 [104c/8023] enabled
PCI: pci_scan_bus returning with max=04
PCI: pci_scan_bus returning with max=04
Hyper transport scan link: 2 new max: 4
Hypertransport scan link done
Hyper transport scan link: 0 max: 5 <---- Hang here

-----邮件原件-----
发件人: YhLu 
发送时间: 2003年10月13日 20:25
收件人: ebiederman at lnxi.com
抄送: LinuxBIOS
主题: Re: [COMMIT] freebios2 How much have I broken?

Eric,

The same.

One Clue: Even I do the reverse scan, if I enable the hard_reset in the
misc_control.c. After the reset and successful scan the 8131/8111, it will
hang when scan the 8151.

Regards

YH

-----邮件原件-----
发件人: YhLu 
发送时间: 2003年10月13日 20:00
收件人: ebiederman at lnxi.com
抄送: LinuxBIOS
主题: Re: [COMMIT] freebios2 How much have I broken?

One minute.

-----邮件原件-----
发件人: ebiederman at lnxi.com [mailto:ebiederman at lnxi.com] 
发送时间: 2003年10月13日 20:07
收件人: YhLu
抄送: LinuxBIOS
主题: Re: 答复: [COMMIT] freebios2 How much have I broken?

YhLu <YhLu at tyan.com> writes:

> I think Stephan will have trouble on it too.
> 
> For me, If I reverse scan in northbridge.c, and it will be OK. 

A) the reverse scan works and that is good.

> It seems that 8131/8111 need to initialize before others.

Why?  This is what I am trying to understand.  It doesn't make sense
especially as I already did that, earlier.  The resets to get the
hypertransport settings to take effect.  I can see those depending on
the amd8111.

Have you tried the small subroutine change I sent?

Eric
_______________________________________________
Linuxbios mailing list
Linuxbios at clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios
_______________________________________________
Linuxbios mailing list
Linuxbios at clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios



More information about the coreboot mailing list