启动过程:
PMON2000 MIPS Initializing. Standby... /*CPU Initializing*/
0xbfe00190 : 00008062f0f8f0f0
CPU CLK SEL : 00000002
CPU clk frequency = SYSCLK x 0x00000020 / 1 /×CPU的频率×/
MEM CLK SEL : 00000003
DDR clk frequency = MEMCLK x 0x00000021 / 3 /*DDR的频率×/
CPU 1 READ TEST... CPU 1 READ TEST OK./×CPU 读测试×/ HT0 frequency reconfig /×总线时钟重新设置×/ Fix L1xbar illegal access at NODE 0 Fix L1xbar illegal access at NODE 1 /×修复节点的一级缓存×/
Fix L2xbar in NODE 0 Fix L2xbar in NODE 1 /×修复节点的二级缓存×/ Init tlb... /×初始化TLB×/ Init htpcitlb.../×初始化PCI总线TLB×/ godson2 caches found /×初始化缓存×/ Jump to 9fc /×跳转到9fc/ scache init done /×chache 初始化完成/
Start Init Memory, wait a while...... NODE 0 MEMORY CONFIG BEGIN/*开始初始化内存,首先是节点0的内存×/
Open SMBUS controller/*开启SMBUS控制器×/
Probing DDR MC1 SLOT: /侦测 DDR控制器MC1 插槽/ Probe MC1 slot 0. /*侦测到MC1 slot0 内存颗粒×/ Probe MC1 slot 1. NO DIMM in this slot. /×MC1 slot 1 没有内存颗粒×/
Probing DDR MC0 SLOT: Probe MC0 slot 0. Probe MC0 slot 1. NO DIMM in this slot./×MC0同MC1*/
s1 = 0xf0a10400__f0a10400 /*
new s1 = 0xf0a10400__f0a10400 Disable cpu buffered read /*关闭CPU缓存读×/ Disable read buffer
Enable register space of MEMORY /×设置内存寄存器模块使能×/
The MC param is: 00000100 00000100 00000001 00010001 ...
/×写入内存参数×/
Disable register space of MEMORY /关闭内存的寄存器模块/
NODE ID:00000000 Lock Scache Node x--9800?01000000000~4K... Lock Scache Done.
Start ARB Leveling.... /启动ARB训练/
Start Write Leveling. Wait a while... Min value: 0x0000000000000000 Max value: 0x4e46443c44484e50 Cal Mid value: 0x120a0800080c1214 /×写入练习×/
Start read leveling..
Level slice: 0x00000007 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002222 RDLVL_DELAYP_GD_MIN: 0x00000808 RDLVL_DELAYP_GD_MAX: 0x00003a3c RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003a3a This Slice level success, use first value. /*这一级片训练成功,采用第一个值×/
Level slice: 0x00000006 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002222 RDLVL_DELAYP_GD_MIN: 0x00000808 RDLVL_DELAYP_GD_MAX: 0x00003a3a RDLVL_DELAYN_GD_MIN: 0x00000808 RDLVL_DELAYN_GD_MAX: 0x00003c3c This Slice level success, use second value. /*这一级片训练成功,采用第二个值×/
Level slice: 0x00000005 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002222 RDLVL_DELAYP_GD_MIN: 0x00000808 RDLVL_DELAYP_GD_MAX: 0x00003a3a RDLVL_DELAYN_GD_MIN: 0x00000808 RDLVL_DELAYN_GD_MAX: 0x00003c3c This Slice level success, use second value. /*这一级片训练成功,采用第二个值×/
Level slice: 0x00000004 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002222 RDLVL_DELAYP_GD_MIN: 0x00000808 RDLVL_DELAYP_GD_MAX: 0x00003a3a RDLVL_DELAYN_GD_MIN: 0x00000808 RDLVL_DELAYN_GD_MAX: 0x00003c3c This Slice level success, use second value. /*这一级片训练成功,采用第二个值×/
Level slice: 0x00000003 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002222 RDLVL_DELAYP_GD_MIN: 0x00000404 RDLVL_DELAYP_GD_MAX: 0x00003c3c RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003c3c This Slice level success, use second value. /*这一级片训练成功,采用第二个值×/
Level slice: 0x00000002 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002222 RDLVL_DELAYP_GD_MIN: 0x00000404 RDLVL_DELAYP_GD_MAX: 0x00003e3e RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003e3e This Slice level success, use second value. /*这一级片训练成功,采用第二个值×/
Level slice: 0x00000001 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002222 RDLVL_DELAYP_GD_MIN: 0x00000404 RDLVL_DELAYP_GD_MAX: 0x00003e3e RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003c3c This Slice level success, use second value. /*这一级片训练成功,采用第二个值×/
Level slice: 0x00000000 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002222 RDLVL_DELAYP_GD_MIN: 0x00000404 RDLVL_DELAYP_GD_MAX: 0x00003e3e RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003c3c This Slice level success, use second value. /*这一级片训练成功,采用第二个值×/
ARB Leveling Finished./ARB训练完成,MC设置如下:/
After ARB level. The MC configuration is:
...
00000c2d 00000c2d
Unlock Scache Node x--9800?01000000000~4K... Unlock Scache Done.
Disable register space of MEMORY
MC0 Config DONE
Enable register space of MEMORY
The MC param is: 00000100 00000100
00000000 00000000
... Disable register space of MEMORY
NODE ID:00000000 Lock Scache Node x--9800?01000000000~4K... Lock Scache Done.
Start ARB Leveling....
Start Write Leveling. Wait a while... Wrlvl Error: This Byte Window not found. Failed byte is byte: 00000006 Try another pad compensation.
Start Write Leveling. Wait a while... Wrlvl Error: This Byte Window not found. Failed byte is byte: 00000006 Try another pad compensation.
Start Write Leveling. Wait a while... Wrlvl Error: This Byte Window not found. Failed byte is byte: 00000006 Try another pad compensation.
Write level failed. Write default value(0x30).
/*写训练失败×/
Start read leveling..
Level slice: 0x00000007 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002222 RDLVL_DELAYP_GD_MIN: 0x00000404 RDLVL_DELAYP_GD_MAX: 0x0000383a RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003c3c This Slice level success, use first value.
Level slice: 0x00000006 Wait a while... RDLVL_FAIL_MARK: 0x00000003 RDLVL_GATE_CFG: 0x00000000 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00000000 RDLVL_DELAYP_GD_MIN: 0x00000000 RDLVL_DELAYP_GD_MAX: 0x00000000 RDLVL_DELAYN_GD_MIN: 0x00000000 RDLVL_DELAYN_GD_MAX: 0x00000000 Try another pad compensation.
ERROR: This Slice level failed, write default value.
/×读训练失败×/
Level slice: 0x00000005 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00001c1c RDLVL_DELAYP_GD_MIN: 0x00000808 RDLVL_DELAYP_GD_MAX: 0x00003a3a RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003e3e This Slice level success, use second value.
Level slice: 0x00000004 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00001818 RDLVL_DELAYP_GD_MIN: 0x00000808 RDLVL_DELAYP_GD_MAX: 0x00003a3a RDLVL_DELAYN_GD_MIN: 0x00000808 RDLVL_DELAYN_GD_MAX: 0x00003c3c This Slice level success, use second value.
Level slice: 0x00000003 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00001a1a RDLVL_DELAYP_GD_MIN: 0x00000808 RDLVL_DELAYP_GD_MAX: 0x00003e3e RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003e3e This Slice level success, use second value.
Level slice: 0x00000002 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00001e1e RDLVL_DELAYP_GD_MIN: 0x00000404 RDLVL_DELAYP_GD_MAX: 0x00003e3e RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003c3c This Slice level success, use second value.
Level slice: 0x00000001 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002020 RDLVL_DELAYP_GD_MIN: 0x00000404 RDLVL_DELAYP_GD_MAX: 0x00004040 RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003e3e This Slice level success, use second value.
Level slice: 0x00000000 Wait a while... RDLVL_FAIL_MARK: 0x00000000 RDLVL_GATE_CFG: 0x00000101 RDLVL_GATE_GD_MIN: 0x00000000 RDLVL_GATE_GD_MAX: 0x00002222 RDLVL_DELAYP_GD_MIN: 0x00000404 RDLVL_DELAYP_GD_MAX: 0x00003c3c RDLVL_DELAYN_GD_MIN: 0x00000404 RDLVL_DELAYN_GD_MAX: 0x00003e3e This Slice level success, use second value.
ERROR!!!: ARB Leveling Fail
/*内存训练失败×/
RW Diff 0x0010000000000000 RD Diff 0x0010000000000000 Unlock Scache Node x--9800?01000000000~4K... Unlock Scache Done.
Disable register space of MEMORY
MC1 Config DONE
msize = 0x00000008 !!!MEM is at NO_INTERLEAVE mode. If this is not the expected setting, please check whether the two MC_MEMSIZE is equal DDR space open : 0x00000000 - 0x0FFFFFFF PCI space open: 0x80000000 - 0x8FFFFFFF MC0 space open : 0x80000000 - 0xFFFFFFFF MC1 space open : 0x100000000 - 0x17FFFFFFF DDR space open : 0x080000000 - 0x17FFFFFFF Full PCI space opened as cpu. NODE 1 MEMORY CONFIG BEGIN /节点1 开始内存训练×/
Open SMBUS controller
Probing DDR MC1 SLOT: Probe MC1 slot 0. Probe MC1 slot 1. NO DIMM in this slot.
Probing DDR MC0 SLOT: Probe MC0 slot 0. Probe MC0 slot 1. NO DIMM in this slot.
s1 = 0xf0a10400__f0a10401
new s1 = 0xf0a10400__f0a10401 Disable cpu buffered read Disable read buffer
MC1 Config DONE
msize = 0x00000800 !!!MEM is at NO_INTERLEAVE mode. If this is not the expected setting, /×内存未启用交错模式×/ please check whether the two MC_MEMSIZE is equal DDR space open : 0x00000000 - 0x0FFFFFFF PCI space open: 0x80000000 - 0x8FFFFFFF MC0 space open : 0x80000000 - 0xFFFFFFFF MC1 space open : 0x100000000 - 0x17FFFFFFF DDR space open : 0x080000000 - 0x17FFFFFFF Full PCI space opened as cpu.
system msize = 0x00000808 system s3 = 0x0003030f76543210 Init Memory done.
store DIMM info of MC0
store DIMM info of MC1 32 bit PCI space translate to 64 bit HT space Waiting HyperTransport bus to be up.> 00110020 HT RX DMA address ENABLE HT RX DMA address ENABLE done 1 HT RX DMA address ENABLE done 2 Setting HyperTransport Controller to be 8-bit width 00110020 Setting HyperTransport Controller to be 800Mhz 80258523 SET HT as HOST 2001000820010008 Setting HyperTransport Southbridge to be 8-bit width 00110020 Setting HyperTransport Southbridge to be 800M 1c750060 Setting Watch Dog to make a WARM RESET Watch dog Enable
Watch dog decode enable 00000000 Watch dog control value 00000000 00000000 Set Watch dog control value Waiting HyperTransport bus to be down.> 00110010 Waiting HyperTransport bus to be up.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>= 00110020 Setting HyperTransport Southbridge back to be 8-bit width and 200Mhz for next RESET 1c750560 Checking HyperTransport bus CRC error bit. Checking HyperTransport SouthBridge CRC error bit. Done Read HT Channel priority 00904321
======This is cww's world:1
enable rs780 dev8...
test GPPSB
Enabled GPPSB success...
sb700 lpc init...
set boottimerdisable
enable lpc controller
enable port 80 LPC decode
Decode port 0x3f8-0x3ff
Decode port 0x60-0x66
SuperIO RTC
======This is cww's world:2
======X1 core0 map windows: 900000003ff02000: 0000000018000000 900000003ff02008: 00000e0000000000 900000003ff02010: 0000000000000000 900000003ff02018: 0000000040000000 900000003ff02020: 000000001e000000 900000003ff02028: 00000c0000000000 900000003ff02030: 0000200000000000 900000003ff02038: 000000fdfe000000 900000003ff02040: fffffffffc000000 900000003ff02048: ffffff0000000000 900000003ff02050: 0000000000000000 900000003ff02058: ffffffffc0000000 900000003ff02060: ffffffffff000000 900000003ff02068: 00000c0000000000 900000003ff02070: 0000200000000000 900000003ff02078: 000000fffe000000 900000003ff02080: 00000efdfc0000f7 900000003ff02088: 00000e00000000f7 900000003ff02090: 0000000000000000 900000003ff02098: 00000e00400000f7 900000003ff020a0: 00000e00000000f7 900000003ff020a8: 00000c00000000f7 900000003ff020b0: 00002000000000f7 900000003ff020b8: 000000fdfe0000f7
======X2 cpu map windows: 900000003ff00000: 000000001fc00000 900000003ff00008: 0000000010000000 900000003ff00010: 0000000000000000 900000003ff00018: 0000000000000000 900000003ff00020: 0000000080000000 900000003ff00028: 0000000100000000 900000003ff00030: 0000000000000000 900000003ff00038: 0000000000000000 900000003ff00040: fffffffffff00000 900000003ff00048: fffffffff0000000 900000003ff00050: fffffffff0000000 900000003ff00058: 0000000000000000 900000003ff00060: ffffffff80000000 900000003ff00068: ffffffff80000000 900000003ff00070: 0000000000000000 900000003ff00078: 0000000000000000 900000003ff00080: 000000001fc000f2 900000003ff00088: 0000000010000082 900000003ff00090: 00000000000000f0 900000003ff00098: 0000000000000000 900000003ff000a0: 00000000000000f0 900000003ff000a8: 00000000000000f1 900000003ff000b0: 0000000000000000 900000003ff000b8: 0000000000000000
======X2 pci map windows: 900000003ff00100: 0000000080000000 900000003ff00108: 0000000000000000 900000003ff00110: 0000000080000000 900000003ff00118: 0000000080000000 900000003ff00120: 0000000080000000 900000003ff00128: 0000000100000000 900000003ff00130: 0000000000000000 900000003ff00138: 0000000000000000 900000003ff00140: ffffffff80000000 900000003ff00148: 0000000000000000 900000003ff00150: fffffffff0000000 900000003ff00158: 0000000000000000 900000003ff00160: ffffffff80000000 900000003ff00168: ffffffff80000000 900000003ff00170: 0000000000000000 900000003ff00178: 0000000000000000 900000003ff00180: 0000000000000000 900000003ff00188: 0000000000000000 900000003ff00190: 00000000000000f0 900000003ff00198: 0000000000000000 900000003ff001a0: 00000000000000f0 900000003ff001a8: 00000000000000f1 900000003ff001b0: 0000000000000000 900000003ff001b8: 0000000000000000
======read HT config reg: 90000efdfb000000: 0000000000000000 90000efdfb000060: 0080fff0c0000000 90000efdfb000068: 00008000c0000000 90000efdfb000070: 0000000000000000
======X1 core0 map windows: 900010003ff02000: 0000000000000000 900010003ff02008: 0000000000000000 900010003ff02010: 0000000000000000 900010003ff02018: 0000000000000000 900010003ff02020: 0000000000000000 900010003ff02028: 00001c0000000000 900010003ff02030: 0000200000000000 900010003ff02038: 00000efdfe000000 900010003ff02040: 0000000000000000 900010003ff02048: 0000000000000000 900010003ff02050: 0000000000000000 900010003ff02058: 0000000000000000 900010003ff02060: 0000000000000000 900010003ff02068: 00001c0000000000 900010003ff02070: 0000200000000000 900010003ff02078: 0000fffffe000000 900010003ff02080: 0000000000000000 900010003ff02088: 0000000000000000 900010003ff02090: 0000000000000000 900010003ff02098: 0000000000000000 900010003ff020a0: 0000000000000000 900010003ff020a8: 00001c00000000f7 900010003ff020b0: 00002000000000f7 900010003ff020b8: 000000fdfe0000f6
======X2 cpu map windows: 900010003ff00000: 0000000000000000 900010003ff00008: 0000100010000000 900010003ff00010: 0000100000000000 900010003ff00018: 0000000000000000 900010003ff00020: 0000100080000000 900010003ff00028: 0000100100000000 900010003ff00030: 0000000000000000 900010003ff00038: 0000000000000000 900010003ff00040: fffffffff0000000 900010003ff00048: fffffffff0000000 900010003ff00050: fffffffff0000000 900010003ff00058: 0000000000000000 900010003ff00060: ffffffff80000000 900010003ff00068: ffffffff80000000 900010003ff00070: 0000000000000000 900010003ff00078: 0000000000000000 900010003ff00080: 0000000000000000 900010003ff00088: 0000000010000082 900010003ff00090: 00000000000000f0 900010003ff00098: 0000000000000000 900010003ff000a0: 00000000000000f0 900010003ff000a8: 00000000000000f1 900010003ff000b0: 0000000000000000 900010003ff000b8: 0000000000000000
======X2 pci map windows: 900010003ff00100: 0000000080000000 900010003ff00108: 0000000000000000 900010003ff00110: 0000100080000000 900010003ff00118: 0000000080000000 900010003ff00120: 0000100080000000 900010003ff00128: 0000100100000000 900010003ff00130: 0000000000000000 900010003ff00138: 0000000000000000 900010003ff00140: ffffffff80000000 900010003ff00148: 0000000000000000 900010003ff00150: fffffffff0000000 900010003ff00158: 0000000000000000 900010003ff00160: ffffffff80000000 900010003ff00168: ffffffff80000000 900010003ff00170: 0000000000000000 900010003ff00178: 0000000000000000 900010003ff00180: 0000000000000000 900010003ff00188: 0000000000000000 900010003ff00190: 00000000000000f0 900010003ff00198: 0000000000000000 900010003ff001a0: 00000000000000f0 900010003ff001a8: 00000000000000f1 900010003ff001b0: 0000000000000000 900010003ff001b8: 0000000000000000
======read HT config reg: 90001efdfb000000: 0000000000000000 90001efdfb000060: 0080fff0c0000000 90001efdfb000068: 00008000c0000000 90001efdfb000070: 0000000000000000
spd_info_store begain.
spd_info_store done. Copy PMON to execute location... start = 0x81000000 s0 = 0x3ec00000 81000000 81010000 81020000 81030000 81040000 81050000 81060000 81070000 81080000 81090000 810a0000 810b0000 copy text section done. Copy PMON to execute location done. sp=80ffc000 Uncompressing Bios..................................................................................OK,Booting Bios memorysize_high_n1 0xf0000000 FREQ RTC: 12-15-03 08:40:12 FREI cpu fre 799980000 DONE DEVI ENVI MAPV in envinit nvram=bfc00000 NVRAM@bfcfd800 STDV 80100000: memory between 82fff000-83000000 is already been allocated,heap is already above this point SBDD rs780_early_setup sb700_early_setup rs780_before_pci_fixup sb700_before_pci_fixup rs780_enable sb700_enable disable bus0 device pcie bridges disable OHCI and EHCI controller enable OHCI controller P12PCIH PCIH pcie-slot device: vendor:ffff product:ffff PCIS PCIR PCIW vga_dev =:0 pcie_dev :0 vga_dev ==:82fff348 vga_dev =:82fff348 pcie_dev :0 vga_dev ==:82fff348 sb700_after_pci_fixup NETI RTCL PCID VGAI memorysize=b000000,base=82efe4f0,sysMem=82eee4e8,vram=be0a0000 in setup_int_vect!done!USE inter-graphic device: vendor:1002, device=0x:9615 vgarom romaddress:0x8014a940 Rom base addr: 8014a940 VGA bios found rom size is 59k PCI data structure at offset 1c0 video bios address: c7f00000 lock vga starting bios emu... ax=0,bx=0,cx=0,dx=0 just before emu done ax(0x128) bios emu done
- vesa_mode : 0x0
- ax 4f02 bx 4114
- run_bios_int,intno=10,ret=1
- VESA
- VESA FB init complete.
- fbaddress 0x40000000 ioaddress 0x48000000
- fbaddress = c0000000
- begin fb_init
- cfb_console init,fb=c0000000
- CONSOLE_SIZE 960000
- after fb_init
- in configure
- mainbus0 (root)
- localbus0 at mainbus0
- loopdev0 at mainbus0pcibr0 at mainbus0
- pci0 at pcibr0 bus 0
- ppb0 at pci0 dev 1 function 0 vendor/product: 0x1022/0x9602 (bridge, PCI)
- pci1 at ppb0 bus 1
- vendor/product: 0x1002/0x9615 (display, VGA) at pci1 dev 5 function 0 not configured
- ppb1 at pci0 dev 2 function 0 vendor/product: 0x1022/0x9603 (bridge, PCI)
- pci2 at ppb1 bus 2
- ppb2 at pci0 dev 3 function 0 vendor/product: 0x1022/0x960b (bridge, PCI)
- pci3 at ppb2 bus 3
- ppb3 at pci0 dev 4 function 0 vendor/product: 0x1022/0x9604 (bridge, PCI)
- pci4 at ppb3 bus 4
- ppb4 at pci0 dev 9 function 0 vendor/product: 0x1022/0x9608 (bridge, PCI)
- pci5 at ppb4 bus 5
- em0 at pci5 dev 0 function 0 vendor/product: 0x8086/0x10d3 (network, ethernet)ent->driver_data is 0x3
- em_probe done!
-
- generic poll, address 00:23:90:10:96:93
- in if attach
- ppb5 at pci0 dev 10 function 0 vendor/product: 0x1022/0x9609 (bridge, PCI)
- pci6 at ppb5 bus 6
- em1 at pci6 dev 0 function 0 vendor/product: 0x8086/0x10d3 (network, ethernet)ent->driver_data is 0x3
- em_probe done!
- generic poll, address 00:23:90:10:20:59
in if attach
pciide0 at pci0 dev 17 function 0 vendor/product: 0x1002/0x4390 (mass storage, IDE): DMA, (partial support), ch 0 cfg to native-PCI, ch 1 cfg to native-PCI
pciide0: using generic poll for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0:
wd0: can use 16-bit, PIO mode 4, DMA mode 2 wd0: 16-sector PIO, LBA, 131071MB, 16383 cyl, 16 head, 63 sec, 268435455 sectors wd1 at pciide0 channel 1 drive 0: wd1: can use 16-bit, PIO mode 4, DMA mode 2 wd1: 16-sector PIO, LBA, 131071MB, 16383 cyl, 16 head, 63 sec, 268435455 sectors pciide0:0:0: using DMA data transfers pciide0:1:0: using DMA data transfers ohci0 at pci0 dev 18 function 0 vendor/product: 0x1002/0x4397 (serialbus, USB)usb base addr : 0xc8708000, bus_base is : 0xc0000000 OHCI revision: 0x00000110 RH: a: 0x02000b03 b: 0x00000000 early period(0x0) OHCI 8b01f000 initialized ok drive at ohci0 devnum 1, Product OHCI Root Hub not configured ohci1 at pci0 dev 18 function 1 vendor/product: 0x1002/0x4398 (serialbus, USB)usb base addr : 0xc8707000, bus_base is : 0xc0000000 OHCI revision: 0x00000110 RH: a: 0x02000b03 b: 0x00000000 early period(0x0) OHCI 8b026c00 initialized ok drive at ohci1 devnum 3, Product Wired Keyboard 600 not configured Read Capacity returns: 0xff17ef00, 0x20000 Capacity = 0xef1800, blocksz = 0x200 usb0 at ohci1 devnum 4, Product OnlyDisk
drive at ohci1 devnum 2, Product OHCI Root Hub not configured vendor/product: 0x1002/0x4396 (serialbus, USB) at pci0 dev 18 function 2 not configured vendor/product: 0x1002/0x4397 (serialbus, USB) at pci0 dev 19 function 0 not configured vendor/product: 0x1002/0x4398 (serialbus, USB) at pci0 dev 19 function 1 not configured vendor/product: 0x1002/0x4396 (serialbus, USB) at pci0 dev 19 function 2 not configured vendor/product: 0x1002/0x4385 (serialbus, subclass: 0x05) at pci0 dev 20 function 0 not configured pciide1 at pci0 dev 20 function 1 vendor/product: 0x1002/0x439c (mass storage, IDE): DMA, (partial support), ch 0 cfg to compat, ch 1 cfg to compat vendor/product: 0x1002/0x4383 (multimedia, subclass: 0x03) at pci0 dev 20 function 2 not configured vendor/product: 0x1002/0x439d (bridge, ISA) at pci0 dev 20 function 3 not configured ppb6 at pci0 dev 20 function 4 vendor/product: 0x1002/0x4384 (bridge, PCI) pci7 at ppb6 bus 7 vendor/product: 0x1002/0x4399 (serialbus, USB) at pci0 dev 20 function 5 not configured out configure Self test cmd failed,ignored! KBD_TEST cmd failed,ignored! Keyboard succesfully initialized. Pressto set BIOS,waiting for 3 seconds here..... devconfig done.
-----------------godson3a_smbus_fixup---------------
set smbus reg (0xbe) :1212 (usb intr map)
set smbus reg (0xaf) :1c (sata intr map)
SB700 interrupt PIC set begin,
set pic_5 pass
set pic_5 pass
set pic_6 pass
set pic_5 pass
set pic_5 pass
set pic_a pass
set pic_9 pass
set pic_5 pass
PIC control bit: 00007d37
original int mode: 0x00000000
<1> now int mode: 0x00000078
waiting....
<1> now int mode: 0x00007878
SB700 interrupt PIC set done
SB700 device interrupt route begin
rte0 fixup: em0 ---------------> int5 SB700 device route em0: int5 SB700 device route em1: int6
godson3a_sata_fixup: sata ---------------> int5 -----------------tset sata------------------ sata pci_config 0x40 (14) godson3a_sata: fix sata mode==:5 godson3a_ide_fixup: fix ide mode godson3a fixup: usb ------> int6 godson3a fixup: usb ------> int6 godson3a fixup: usb ------> int6 godson3a fixup: usb ------> int6 godson3a fixup: usb ------> int6 godson3a fixup: usb ------> int6 godson3a fixup: usb ------> int6 godson3a fixup: usb ------> int6 godson3a fixup: VGA ------> int6 godson3a fixup: VGA ------> int6 05:00:00 interrupt line : Error 06:00:00 interrupt line : Error ifinit done. domaininit done. init_proc.... HSTI SYMI SBDE
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[ [[[[[[[[[ [[[[[ [[[[ [[[[[ [[[[[ [[[[[ [[[[[ [[[[ [[[[[ [[ [[ [[[[[[[[ [[[[ [[[ [[[[ [[[ [[[[ [[[[ [[[[ [[[ [[[[ [[[ [[[[ [[[ [[[[ [[ [[ [[[[[[[[ [[[[[[ [[[ [[[[[[ [[[ [ [[[ [[[ [[[[[[[[[[[[ [[[[[[[ [[[[[[ [[[ [ [[[ [[ [[ [[[[[[[[ [[[[[[ [[[ [[[[[[ [[[ [[ [[ [[[ [[[ [[[[[[[ [[[[ [[[[[[ [[[ [[ [[ [[ [[ [[[[[[[[ [[[[[[ [[[ [[[[[[ [[[ [[[ [ [[[ [[[[[ [[[[[[[[[[ [[[ [[[[[[ [[[ [[[ [ [[ [[ [[[[[[[[ [[[[ [[[ [[[[ [[[ [[[[ [[[ [[[[ [[[ [[[ [[[[ [[[[ [[[ [[[[ [[ [[ [[[[ [[[[[ [[[[ [[[[[ [[[[ [[[[[ [[[[[[ [[[[ [[[[[ [[ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[2011 Loongson][[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
Configuration [Bonito,EL,NET,SCSI,IDE] Version: PMON2013 V3.1R052B0053D0201 (Bonito) #1: Fri Feb 1 09:22:13 CST 2013 commit 39e53a7fafbe17ff77b63e61c49f1794f1907570 Author: Chen Xinke chenxinke@ict.ac.cn Date: Sun Jan 27 15:20:17 2013 +0800 . Supported loaders [txt, srec, elf, bin] Supported filesystems [net, fat, fs, disk, iso9660, socket, tty, ram] This software may be redistributed under the BSD copyright. Copyright 2000-2002, Opsycon AB, Sweden. Copyright 2005, ICT CAS. CPU GODSON3 @ 799.98 MHz/ Bus @ 275 MHz Memory size 8192 MB . Primary Instruction cache size 64kb (32 line, 4 way) Primary Data cache size 64kb (32 line, 4 way) Secondary cache size 4096kb
BEV1 BEV0 BEV in SR set to zero. Token is correct! flag is 0x0003030f76543210 Store MC info of Node 0 MC 0 Now enable ddr config windows
Now Read out DDR parameter from DDR MC0 controler after DDR training Read out DDR MC0 config Done. Programming flash 8000b888:5c8 into bfc0d000 Disable all space write protection of 49LF008A. Erasing FLASH block 13 | Done. Enable all space write protection of 49LF008A. Programming FLASH. Disable all space write protection of 49LF008A. / Done. Enable all space write protection of 49LF008A. Verifying FLASH. No Errors found. Store MC info of Node 0 MC 1 Now enable ddr config windows
Now Read out DDR parameter from DDR MC1 controler after DDR training Read out DDR MC1 config Done. Programming flash 8000b888:5c8 into bfc0e000 Disable all space write protection of 49LF008A. Erasing FLASH block 14 Done. Enable all space write protection of 49LF008A. Programming FLASH. Disable all space write protection of 49LF008A. -\ Done. Enable all space write protection of 49LF008A. Verifying FLASH. No Errors found. Store MC info of Node 1 MC 0 Now enable ddr config windows
Now Read out DDR parameter from DDR MC0 controler after DDR training Read out DDR MC0 config Done. Programming flash 8000b888:5c8 into bfc0f000 Disable all space write protection of 49LF008A. Erasing FLASH block 15 Done. Enable all space write protection of 49LF008A. Programming FLASH. Disable all space write protection of 49LF008A. | Done. Enable all space write protection of 49LF008A. Verifying FLASH. / No Errors found. Store MC info of Node 1 MC 1 Now enable ddr config windows
Now Read out DDR parameter from DDR MC1 controler after DDR training
Read out DDR MC1 config Done.
Programming flash 8000b888:5c8 into bfc10000
Disable all space write protection of 49LF008A.
Erasing FLASH block 16 Done.
Enable all space write protection of 49LF008A. Programming FLASH. Disable all space write protection of 49LF008A. - Done.
Enable all space write protection of 49LF008A. Verifying FLASH. No Errors found.
There is no 1 linux partion
we can't locate root directory in super block!
usage: bl -d cdrom/ide boot_config_file
\|usage: bl -d cdrom/ide boot_config_file
usage: bl -d cdrom/ide boot_config_file
Now booting the LoongsonLinuxSystem
Loading file: /dev/fs/ext2@wd0/boot/vmlinux20130419.numa (elf)
(elf)
0x80300000/11711552 + 0x80e2b440/17428768(z) + 19271 syms /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/
Entry address is 80305bf0
Boot with parameters: console=tty root=/dev/sda1
/home/TMP/wanghongmei/28/pmon-loongson3/pmon/common/env.c:length of boot_param is 00000090
ac = 00000003, nsp @ 8a7fff00, env @ 8a7fff30, en @ 801453d0
vsp = 08xffffffff8a7fff10, ssp @ 08xffffffff8a7fff30
board_name:Loongson-3A-780E-2w-V1.02-demo ---0x80142730 10
Shutdown:0x80074b68 reset:0x80074cb4
zero at v0 v1 a0 a1 a2 a3
00000000 00000000 00000000 00000000 00000003 8a7fff00 8a7fff30 801453d0
t0 t1 t2 t3 t4 t5 t6 t7
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
s0 s1 s2 s3 s4 s5 s6 s7
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
t8 t9 k0 k1 gp sp s8 ra
00000000 00000000 00000000 00000000 00000000 8a7ffee0 00000000 800aa3f0
CP0_Config3: CP0 16.3 (0xa0)
CP0_PageGrain: CP0 5.1 (0x20000000)
Caller cpu 0
NUMA: Discovered 8 cpus on 2 nodes
Debug: node_id:0, mem_type:1, mem_start:0x1000000, mem_size:0xf0 MB
start_pfn:0x0, end_pfn:0x4000, num_physpages:0x4000
Debug: node_id:0, mem_type:2, mem_start:0x90000000, mem_size:0xf00 MB
start_pfn:0x24000, end_pfn:0x60000, num_physpages:0x40000
smbios_addr : 0xfffe000
node0's addrspace_offset is 0x0
node0's start_pfn is 0x0, end_pfn is 0x60000, freepfn is 0x7b3
Debug: node_id:0, mem_type:3, mem_start:0xfffe000, mem_size:0x0 MB
Mengxf: total_memsize :0x1000 MB
Debug: node_id:1, mem_type:1, mem_start:0x1000000, mem_size:0xf0 MB
start_pfn:0x40000000, end_pfn:0x40004000, num_physpages:0x44000
Debug: node_id:1, mem_type:2, mem_start:0x90000000, mem_size:0xf00 MB
start_pfn:0x40024000, end_pfn:0x40060000, num_physpages:0x80000
node1's addrspace_offset is 0x100000000000
node1's start_pfn is 0x40000000, end_pfn is 0x40060000, freepfn is 0x40000000
Mengxf: total_memsize :0x1000 MB
NUMA: set cpumask cpu 0 on node 0
NUMA: set cpumask cpu 1 on node 0
NUMA: set cpumask cpu 2 on node 0
NUMA: set cpumask cpu 3 on node 0
NUMA: set cpumask cpu 4 on node 1
NUMA: set cpumask cpu 5 on node 1
NUMA: set cpumask cpu 6 on node 1
NUMA: set cpumask cpu 7 on node 1
SET HT_DMA CACHED
[ 0.000000] Linux version 2.6.36.3+ (git@ubuntu) (gcc version 4.4.0 (GCC) ) #18 SMP Fri Apr 19 15:23:35 CST 2013
[ 0.000000] shutdown:0xffffffff80074b68 reset:0xffffffff80074cb4
[ 0.000000] vbios locate in ffffffff8014a940
[ 0.000000] Version:1 PMON_Version_V3.1R052B0053D0201
[ 0.000000] Board name:Loongson-3A-780E-2w-V1.02-demo ffffffff80142730 10
[ 0.000000] Board type:0(RS780E)
[ 0.000000] cpu_clock:799980000, cputye:2, nr_cpus:8, ccnuma_smp:65536,single_double_way:131072
[ 0.000000] lp:ffffffff8a7fff58, irq_source:ffffffff80142698, offset:-174840000, ht_int_bit:1000000,ht_enable:d17b
[ 0.000000] pci_mem_start:40000000, pci_mem_end:7fffffff
[ 0.000000] Caller cpu 0
[ 0.000000] NUMA: Discovered 8 cpus on 2 nodes
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00006305 (ICT Loongson-3A5)
[ 0.000000] FPU revision is: 00770501
[ 0.000000] Checking for the multiply/shift bug... no.
[ 0.000000] Checking for the daddiu bug... no.
[ 0.000000] Determined physical RAM map:
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] swiotlb:restricted 32bit dma!
[ 0.000000] SWIOTLB: swiotlbsize = 0x4000000
[ 0.000000] Placing 64MB software IO TLB between 98000000026dc000 - 98000000066dc000
[ 0.000000] software IO TLB at phys 0x26dc000 - 0x66dc000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA32 0x00000000 -> 0x00040000
[ 0.000000] Normal 0x00040000 -> 0x40060000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[4] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00004000
[ 0.000000] 0: 0x00024000 -> 0x00060000
[ 0.000000] 1: 0x40000000 -> 0x40004000
[ 0.000000] 1: 0x40024000 -> 0x40060000
[ 0.000000] sizhiying--nr_node_ids:2,highest:3 FILE:mm/page_alloc.c,func:setup_nr_node_ids
[ 0.000000] Detected 7 available secondary CPU(s)
[ 0.000000] PERCPU: Embedded 3 pages/cpu @9800000006758000 s13376 r8192 d27584 u65536
[ 0.000000] pcpu-alloc: s13376 r8192 d27584 u65536 alloc=4*16384
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
[ 0.000000] Built 2 zonelists in Zone order, mobility grouping on. Total pages: 521600
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: console=tty root=/dev/sda1
[ 0.000000] PID hash table entries: 4096 (order: 1, 32768 bytes)
[ 0.000000] c0_config1 = fffffffffee37193
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 64kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] c0_config2 = ffffffff80001743
[ 0.000000] Unified secondary cache 4096kB 4-way, linesize 32 bytes, waybit=0.
total ram pages initialed 0
[ 0.000000] BUG: Bad page state in process swapper pfn:007b7
[ 0.000000] page:980000010001b008 count:0 mapcount:-1048576 mapping:(null) index:0x0
[ 0.000000] page flags: 0x0()
[ 0.000000] Call Trace:
[ 0.000000] [