migrate VIA vt5426 to PCChip M787CL(not M787CL+)

riskin at esinosoft.com riskin at esinosoft.com
Tue Nov 4 20:10:01 CET 2003


Hello ron,

After I migrated VIA vt5426 to new mainboard(PCChips M787CL,not M787CL+: NB is  VT8601,SB is VT82C686B),when probing PCI devices,the kernel halted.So is there any option in LinuxBIOS need to be configed to avoid the kernel halt? But the kernel can work well on PCChips M/B bios.

I used freebios 1.x,not 2.x because I knew about 1.x more than 2.x.

Could you help me?thanks!

riskin

The boot messages:

LinuxBIOS-1.0.0 Tue Nov 4 17:39:15 CST 2003 starting...
Enabled first bank of RAM: 0x04000000 bytes
Copying LinuxBIOS to ram.
Jumping to LinuxBIOS.
VGA not ready yet.
POST: 0x39
LinuxBIOS-1.0.0 Tue Nov 4 17:39:15 CST 2003 booting...
POST: 0x40
Finding PCI configuration type.
PCI: Using configuration type 1
POST: 0x5f
Scanning PCI bus...PCI: pci_scan_bus for bus 0
POST: 0x24
PCI: 00:00.0 [1106/0601]
PCI: 00:01.0 [1106/8601]
PCI: 00:07.0 [1106/0686]
PCI: 00:07.2 [1106/3038]
PCI: 00:07.3 [1106/3038]
PCI: 00:07.4 [1106/3057]
PCI: 00:07.5 [1106/3058]
PCI: 00:07.6 [1106/3068]
PCI: 00:0e.0 [10ec/8139]
POST: 0x25
PCI: pci_scan_bus for bus 1
POST: 0x24
PCI: 01:00.0 [1023/8500]
POST: 0x25
PCI: pci_scan_bus returning with max=01
POST: 0x55
PCI: pci_scan_bus returning with max=01
POST: 0x55
done
POST: 0x66
Allocating PCI resources...
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
PCI: 00:00.0 register 10(00000008), read-only ignoring it
ASSIGN RESOURCES, bus 0
PCI: 00:01.0 1c <- [0x00001000 - 0x00000fff] bus 1 io
PCI: 00:01.0 24 <- [0xfe900000 - 0xfe8fffff] bus 1 prefmem
PCI: 00:01.0 20 <- [0xfd800000 - 0xfe8fffff] bus 1 mem
ASSIGN RESOURCES, bus 1
PCI: 01:00.0 10 <- [0xfd800000 - 0xfdffffff] mem
PCI: 01:00.0 14 <- [0xfe800000 - 0xfe81ffff] mem
PCI: 01:00.0 18 <- [0xfe000000 - 0xfe7fffff] mem
ASSIGNED RESOURCES, bus 1
PCI: 00:07.2 20 <- [0x00001c00 - 0x00001c1f] io
PCI: 00:07.3 20 <- [0x00001c20 - 0x00001c3f] io
PCI: 00:07.5 10 <- [0x00001000 - 0x000010ff] io
PCI: 00:07.5 14 <- [0x00001c40 - 0x00001c43] io
PCI: 00:07.5 18 <- [0x00001c50 - 0x00001c53] io
PCI: 00:07.6 10 <- [0x00001400 - 0x000014ff] io
PCI: 00:0e.0 10 <- [0x00001800 - 0x000018ff] io
PCI: 00:0e.0 14 <- [0xfe900000 - 0xfe9000ff] mem
ASSIGNED RESOURCES, bus 0
Allocating VGA resource
done.
POST: 0x88
Enabling PCI resourcess...PCI: 00:00.0 cmd <- 06
PCI: 00:01.0 cmd <- 07
PCI: 00:07.0 cmd <- 87
PCI: 00:07.2 cmd <- 01
PCI: 00:07.3 cmd <- 01
PCI: 00:07.4 cmd <- 00
PCI: 00:07.5 cmd <- 01
PCI: 00:07.6 cmd <- 01
PCI: 00:0e.0 cmd <- 03
PCI: 01:00.0 cmd <- 03
done.
Initializing PCI devices...
PCI devices initialized
POST: 0x89
Disable Cache
Bank2 64MB (MA type 0x8)
bank 4 MA 0x0: 0 bytes
bank 4 MA 0x8: 0 bytes
bank 4 MA 0xe: 0 bytes
Enable Cache
Total 56MB + frame buffer 8MB
Enabling shadow DRAM at 0xC0000-0xFFFFF: done
POST: 0x70
totalram: 56M
Initializing CPU #0
POST: 0x60
Enabling cache...
Setting fixed MTRRs(0-88) type: UC
Setting fixed MTRRs(0-16) type: WB
Setting fixed MTRRs(24-88) type: WB
DONE fixed MTRRs
Setting variable MTRR 0, base:    0MB, range:   32MB, type WB
Setting variable MTRR 1, base:   32MB, range:   16MB, type WB
Setting variable MTRR 2, base:   48MB, range:    8MB, type WB
DONE variable MTRRs
Clear out the extra MTRR's
call intel_enable_fixed_mtrr()
call intel_enable_var_mtrr()
Leave setup_mtrrs
POST: 0x6a
done.

Max cpuid index    : 1
Vendor ID          : CentaurHauls
Processor Type     : 0x00
Processor Family   : 0x06
Processor Model    : 0x07
Processor Mask     : 0x00
Processor Stepping : 0x03
Feature flags      : 0x00803035

POST: 0x92

MTRR check
Fixed MTRRs   : Enabled
Variable MTRRs: Enabled

POST: 0x93
Disabling local apic...done.
POST: 0x9b
CPU #0 Initialized
Mainboard fixup
IDE enable in reg. 48 is 0x3
set IDE reg. 48 to 0x1
IRQs in reg. 4a are 0x4
setting reg. 4a to 0x44
enables in reg 0x42 0xc9
enables in reg 0x42 read back as 0x9
IDE enable in reg.1-40 is 0x8
set IDE reg.1-40 to 0xb
IDE enable in reg.1-40 read back is 0xb
enables in reg 0x9 0x8f
enables in reg 0x9 read back as 0x8a
command in reg 0x4 0x80
command in reg 0x4 reads back as 0x7
POST: 0x75
POST: 0x77
POST: 0x91
POST: 0x92
keyboard_on
POST: 0x05
POST: 0x05
POST: 0x05
POST: 0x05
POST: 0x05
POST: 0x95
Final mainboard fixup
Southbridge fixup
keyboard_on
POST: 0x05
POST: 0x05
POST: 0x05
POST: 0x05
IDE enable in reg. 48 is 0x5
set IDE reg. 48 to 0x5
IRQs in reg. 4a are 0x4
setting reg. 4a to 0x44
enables in reg 0x42 0x9
enables in reg 0x42 read back as 0x9
IDE enable in reg.1-40 is 0xb
set IDE reg.1-40 to 0xb
IDE enable in reg.1-40 read back is 0xb
enables in reg 0x9 0x8a
enables in reg 0x9 read back as 0x8a
command in reg 0x4 0x7
command in reg 0x4 reads back as 0x7
Initializing vt8601 vga...POST: 0xa0
done.
Setting graphics mode...
pcx file at fffe0004 length 0
vga_load_pcx: not a compatible .pcx file.
clocks_per_usec: 911
alpha mode set.
POST: 0xa1
POST: 0xec
POST: 0x9a
Checking IRQ routing tables...
/home/chenyq/linuxbios/NOW/freebios/src/arch/i386/lib/pirq_routing.c:    30:check_pirq_routing_table() - irq_routing_table located at: 0x0000c240
done.
Copying IRQ routing tables to 0xf0000...done.
Verifing priq routing tables copy at 0xf0000...succeed
POST: 0x96
Wrote linuxbios table at: 00000500 - 00000688  checksum 871a
Jumping to linuxbiosmain()...
POST: 0xed

Welcome to start32, the open sourced starter.
This space will eventually hold more diagnostic information.

January 2000, James Hendricks, Dale Webster, and Ron Minnich.
Version 0.1

POST: 0xf1
Trying polled ide
Waiting for ide disks to spin up
This is a hard coded delay and longer than necessary.
..
init_controller 0 at (1f0, 3f4)
Testing for disk 0
Probing for disk 0
disk0 31296k cap: 200
Gunzip setup
gunzip_setup
output data is 0x00100000
Gunzipping boot code
................flush 0x00100000 count 0x00008000
...................................flush 0x00108000 count 0x00008000
.....................................flush 0x00110000 count 0x00008000
..................................flush 0x00118000 count 0x00008000
....................................flush 0x00120000 count 0x00008000
.....................................flush 0x00128000 count 0x00008000
.....................................flush 0x00130000 count 0x00008000
....................................flush 0x00138000 count 0x00008000
..................................flush 0x00140000 count 0x00008000
......................................flush 0x00148000 count 0x00008000
.....................................flush 0x00150000 count 0x00008000
...................................flush 0x00158000 count 0x00008000
.....................................flush 0x00160000 count 0x00008000
.................................flush 0x00168000 count 0x00008000
.................................flush 0x00170000 count 0x00008000
........................flush 0x00178000 count 0x00008000
....................................flush 0x00180000 count 0x00008000
....................................flush 0x00188000 count 0x00008000
..................................flush 0x00190000 count 0x00008000
.....................................flush 0x00198000 count 0x00008000
.....................................flush 0x001a0000 count 0x00008000
................................flush 0x001a8000 count 0x00008000
...............................flush 0x001b0000 count 0x00008000
................................flush 0x001b8000 count 0x00008000
..............................flush 0x001c0000 count 0x00008000
....................................flush 0x001c8000 count 0x00008000
....................................flush 0x001d0000 count 0x00008000
.....................................flush 0x001d8000 count 0x00008000
..................................flush 0x001e0000 count 0x00008000
......................................flush 0x001e8000 count 0x00008000
...................................flush 0x001f0000 count 0x00008000
...............................flush 0x001f8000 count 0x00008000
.......................................flush 0x00200000 count 0x00008000
......................................flush 0x00208000 count 0x00008000
....................................flush 0x00210000 count 0x00008000
......................................flush 0x00218000 count 0x00008000
....................................flush 0x00220000 count 0x00008000
....................................flush 0x00228000 count 0x00008000
....................................flush 0x00230000 count 0x00008000
....................................flush 0x00238000 count 0x00008000
..................................flush 0x00240000 count 0x00008000
..................................flush 0x00248000 count 0x00008000
.....................................flush 0x00250000 count 0x00008000
.....................................flush 0x00258000 count 0x00008000
....................................flush 0x00260000 count 0x00008000
...................................flush 0x00268000 count 0x00008000
....................................flush 0x00270000 count 0x00008000
...................................flush 0x00278000 count 0x00008000
.................................flush 0x00280000 count 0x00008000
...................................flush 0x00288000 count 0x00008000
.................................flush 0x00290000 count 0x00008000
.............................flush 0x00298000 count 0x00008000
.......................flush 0x002a0000 count 0x00008000
................flush 0x002a8000 count 0x00008000
......................flush 0x002b0000 count 0x00008000
...........flush 0x002b8000 count 0x00008000
....................flush 0x002c0000 count 0x00008000
..................flush 0x002c8000 count 0x00008000
........................flush 0x002d0000 count 0x00008000
...................flush 0x002d8000 count 0x00008000
.................flush 0x002e0000 count 0x00008000
...............flush 0x002e8000 count 0x00008000
............flush 0x002f0000 count 0x00008000
............................flush 0x002f8000 count 0x00008000
................................flush 0x00300000 count 0x00008000
....................flush 0x00308000 count 0x00008000
..............flush 0x00310000 count 0x00008000
......................flush 0x00318000 count 0x00008000
........................flush 0x00320000 count 0x00008000
.........................flush 0x00328000 count 0x00008000
....................flush 0x00330000 count 0x00008000
................................flush 0x00338000 count 0x00008000
....................flush 0x00340000 count 0x00008000
.................flush 0x00348000 count 0x00008000
.......................................flush 0x00350000 count 0x00008000
....................................flush 0x00358000 count 0x00008000
...............................flush 0x00360000 count 0x00008000
.....flush 0x00368000 count 0x00002c10
<1029> POST: 0xf8
POST: 0xf9
POST: 0xfa

command line - [root=/dev/hda2 rw console=ttyS0,115200n8 init=/linuxrc]
Jumping to boot code
POST: 0xfe
Linux version 2.4.20 (root at SETI) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #19 Tue Sep 9 18:04:04 CST 2003
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000003700000 (usable)
55MB LOWMEM available.
On node 0 totalpages: 14080
zone(0): 4096 pages.
zone(1): 9984 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda2 rw console=ttyS0,115200n8 init=/linuxrc
Initializing CPU#0
Detected 800.049 MHz processor.
Calibrating delay loop... 1595.80 BogoMIPS
Memory: 52592k/56320k available (1656k kernel code, 3340k reserved, 690k data, 112k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: Centaur VIA Samuel 2 stepping 03
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
PCI: Using configuration type 1
PCI: Probing PCI hardware



More information about the coreboot mailing list