You are on page 1of 9

Example of Loading HSYS Through Serial Port

Enable the board to start from level 1 BOOTROM by carrying out commands.
-> btrmValidOkClr
value = 0 = 0x0
-> reboot 2

Reboot with clearing memory.

The board starts from level 1 BOOTROM.


.
..
...
Booting from basic bootrom...
SDRAM controller initialized.
press 't' to start SDRAM Size and Block check:
SDRAM size read from FLASH.
SDRAM bank0 : 256MB
SDRAM bank1 : 256MB
SDRAM total size: 512MB
use fixed data scan data line:..............pass
use '1' scan each data line:................pass
use '0' scan each data line:................pass
memory address line scan:
Stuck-at check address line:...............pass
Short check address line:..................pass
Skip SDRAM Block test!

L2 cache testing............................pass

Initializing SDRAM ECC......................Done.


Decompressing...............................Done.

Board Type:HMS750
Now beginning to initialize system:
Initializing Cache Library..................Done.
Initializing Exception vectors..............Done.
Initializing PCI library....................Done.
PCI device List:
0: 0/ 0/0 41057
1: 0/12/0 56510ad
2: 0/12/1 10510ad
3: 0/14/0 12098086
4: 0/15/0 12098086
5: 0/16/0 b1548086
6: 1/14/0 12098086
7: 1/15/0 10911091
Auto Configuring PCI device.................Done.
Initializing Interrupt Controller...........Done.
Initializing serial channels................Done.
COM1 Baud Rate : 9600
COM2 Baud Rate : 9600
COM3 Baud Rate : 9600
COM4 Baud Rate : 9600
Initializing fei8255x device................Done.
Initializing Wind kernel configuration......Done.
Enabling Instruction_cache..................Done.
Enabling Data_cache.........................Done.
Initializing Memory pool....................Done.
Initializing MMU............................Done.
Initializing Serial interrupts..............Done.
Initializing L2 cache.......................Done.
Initializing TTY device.....................Done.
Initializing Exception handler..............Done.us

BootLineInit use default boot line!


Host Name: bootHost
Target Name: vxTarget

Attaching network interface fei0...


fei0 MAC addr :00-e0-fc-0a-0b-63......done.
fei0 IP addr : 175.6.1.6
Attached TCP/IP interface to fei unit 0

Attaching network interface lo0... done.


NFS client support not included.

Adding 3384 symbols for standalone.

VxWorks version 5.4


KERNEL: WIND version 2.5
Made on Aug 20 2003, 15:14:27.
CPU: HMS750A - MPC 750. Processor #0.
Memory Size: 0x2000000. BSP version 1.20.2.
Basic bootrom boot completed!
WDB: Ready.

The extended bootrom is wrong and need update!

You can use 'btrmProg "fileName"' to update!

Enter d when this prompt is displayed.

Press "D" or "d" to stop load module...


d2
Auto load is stopped.
You can use "loadObjRun" to run load module
enter the CPCI basic bootrom:

Enter the command to load the loading module.


-> loadXmodem

In HyperTerminal right click mouse to send file


Select the file name and "Xmodem" protocol

When C appears continuously, select a file and a transport protocol and send
the file as quickly as possible.
Selecione o arquivo sysbios.hdr no drive D:\SGDATA
CCCC
Down load OK !
The board will reboot!

Reboot with clearing memory.

The board restarts automatically after loading is successful.


.
..
...
Booting from basic bootrom...
SDRAM controller initialized.
press 't' to start SDRAM Size and Block check:
SDRAM size read from FLASH.
SDRAM bank0 : 256MB
SDRAM bank1 : 256MB
SDRAM total size: 512MB
use fixed data scan data line:..............pass
use '1' scan each data line:................pass
use '0' scan each data line:................pass
memory address line scan:
Stuck-at check address line:...............pass
Short check address line:..................pass
Skip SDRAM Block test!

L2 cache testing............................pass

Initializing SDRAM ECC......................Done.


Decompressing...............................Done.

Board Type:HMS750
Now beginning to initialize system:
Initializing Cache Library..................Done.
Initializing Exception vectors..............Done.
Initializing PCI library....................Done.
PCI device List:
0: 0/ 0/0 41057
1: 0/12/0 56510ad
2: 0/12/1 10510ad
3: 0/14/0 12098086
4: 0/15/0 12098086
5: 0/16/0 b1548086
6: 1/14/0 12098086
7: 1/15/0 10911091
Auto Configuring PCI device.................Done.
Initializing Interrupt Controller...........Done.
Initializing serial channels................Done.
COM1 Baud Rate : 9600
COM2 Baud Rate : 9600
COM3 Baud Rate : 9600
COM4 Baud Rate : 9600
Initializing fei8255x device................Done.
Initializing Wind kernel configuration......Done.
Enabling Instruction_cache..................Done.
Enabling Data_cache.........................Done.
Initializing Memory pool....................Done.
Initializing MMU............................Done.
Initializing Serial interrupts..............Done.
Initializing L2 cache.......................Done.
Initializing TTY device.....................Done.
Initializing Exception handler..............Done.us
r
ootLineInit use default boot line!
Host Name: bootHost
Target Name: vxTarget

Attaching network interface fei0...


fei0 MAC addr :00-e0-fc-0a-0b-63......done.
fei0 IP addr : 175.6.1.6
Attached TCP/IP interface to fei unit 0

Attaching network interface lo0... done.


NFS client support not included.

Adding 3384 symbols for standalone.

VxWorks version 5.4


KERNEL: WIND version 2.5
Made on Aug 20 2003, 15:14:27.
CPU: HMS750A - MPC 750. Processor #0.
Memory Size: 0x2000000. BSP version 1.20.2.
Basic bootrom boot completed!
WDB: Ready.

The extended bootrom is wrong and need update!

You can use 'btrmProg "fileName"' to update!

Press "D" or "d" to stop load module...

Retrieved old volume params with %0 confidence:


Volume Parameters: FAT type: FAT32, sectors per cluster 0
0 FAT copies, 0 clusters, 0 sectors per FAT
Sectors reserved 0, hidden 0, FAT sectors 0
Root dir entries 0, sysId (null) , serial number 21a0000
Label:" " ...
Disk with 2048 sectors of 512 bytes will be formatted with:
Volume Parameters: FAT type: FAT12, sectors per cluster 1
2 FAT copies, 2021 clusters, 6 sectors per FAT
Sectors reserved 1, hidden 0, FAT sectors 12
Root dir entries 224, sysId VXDOS12 , serial number 21a0000
Label:" " ...
Load module name:sysbios.out.
Load module root function:loadBiosRun.
Load module version:1001.
File inflate 57556 bytes to Mem 0x00edc288
Allocate 81920 bytes memory for pointer array.
Memory is ready to link load module after 0 malloc.
Undefined symbol: frameNo (binding 1 type 0)
Undefined symbol: SkipSpace (binding 1 type 0)
Undefined symbol: cpciSelfSlotNumGet (binding 1 type 0)
Success to load object module to system.

Automatically load and start level 2 BOOTROM.


Download file hsys.bin to extend bootrom.finished!

Reboot with clearing memory.

.
..
...
Booting from extended bootrom...
SDRAM controller initialized.
press 't' to start SDRAM Size and Block check:
SDRAM size read from FLASH.
SDRAM bank0 : 256MB
SDRAM bank1 : 256MB
SDRAM total size: 512MB
use fixed data scan data line:..............pass
use '1' scan each data line:................pass
use '0' scan each data line:................pass
memory address line scan:
Stuck-at check address line:...............pass
Short check address line:..................pass
Skip SDRAM Block test!

L2 cache testing............................pass

Initializing SDRAM ECC......................Done.


Decompressing...............................Done.

Board Type:HMS750

Now running in SDRAM:


Initializing Cache Library..................Done.
Initializing Exception vectors .............Done.
Initializing PCI library....................Done.
Auto Configuring PCI device.................Done.
Initializing Interrupt Controller...........Done.
Initializing serial channels................Done.
COM1 Baud Rate : 9600
COM2 Baud Rate : 9600
COM3 Baud Rate : 9600
COM4 Baud Rate : 9600
Initializing fei8255x device................Done.
Initializing Wind kernel configuration......Done.
Enabling Instruction_Cache..................Done.
Enabling Data_Cache.........................Done.
Initializing Memory pool....................Done.
Initializing MMU............................Done.
Initializing Serial interrupts..............Done.
Disabling L2 cache..........................Done.
Initializing TTY device.....................Done.
Initializing Exception handler..............Done.
Attaching network interface lo0.............Done.
f

VxWorks System Boot

Copyright 1984-1998 Wind River Systems, Inc.

CPU: HMS750A - MPC 750


Version: 5.4
BSP version: 1.20.2
Creation date: Oct 14 2004, 10:00:17

Set mac address 00-e0-fc-07-01-07 Success

Press any key to stop auto-boot...


0
auto-booting...

Decompressing...

Starting at 0x400000...
.
.
.

Board Type:HMS750
Now beginning to initialize system:
Initializing Cache Library..................Done.
Initializing Exception vectors..............Done.
Initializing PCI library....................Done.
Auto Configuring PCI device.................Done.
Initializing Interrupt Controller...........Done.
Initializing serial channels................Done.
COM1 Baud Rate : 9600
COM2 Baud Rate : 9600
COM3 Baud Rate : 9600
COM4 Baud Rate : 9600
Initializing fei8255x device................Done.
Initializing Wind kernel configuration......Done.
Enabling Instruction_cache..................Done.
Enabling Data_cache.........................Done.
Initializing Memory pool....................Done.
Initializing MMU............................Done.
Initializing Serial interrupts..............Done.
Initializing L2 cache.......................Done.
Initializing TTY device.....................Done.
Initializing Exception handler..............Done.

Host Name: bootHost


Target Name: vxTarget
Attaching network interface fei0...
fei0 MAC addr :00-e0-fc-0a-0b-63......done.
fei0 IP addr : 175.6.1.6
Attached TCP/IP interface to fei unit 0

Attaching network interface lo0... done.


NFS client support not included.

Adding 10532 symbols for standalone.


->
Print Item9
"y-m-d": 2005-6-14 hr:10 min:10 sec:13 tik:6506594
Exception:0x3002, It's SYS EXC reboot FUNC!
TaskID:4294967295, PID:4294967295, CpuID:7

Register contents when exception occur(only the values not equal to


0).
Reg: r1, Val = 0x02236658 ; Reg: vector, Val = 0x00003002 ;
Exception Instruction Address is saved in SRR0 Register!

Dump stack when exception occurs,total 512Bytes,16Bytes/line.


0x02236658: 02 23 67 20 00 43 db dc 00 00 00 00 00 00 00 00
0x02236668: 00 00 00 00 00 00 00 00 00 00 00 00 02 23 66 58
0x02236678: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02236688: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02236698: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x022366a8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x022366b8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x022366c8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x022366d8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x022366e8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x022366f8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02236708: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 02
0x02236718: 00 00 00 02 02 0e a2 28 02 23 67 30 00 69 be e0
0x02236728: 02 0c 48 10 02 0c 47 f0 02 23 67 a0 00 6e 64 60
0x02236738: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02236748: 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00
0x02236758: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02236768: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02236778: 00 00 00 01 00 00 00 03 00 00 00 96 02 0c 48 10
0x02236788: 00 00 00 96 02 0c 47 e0 00 00 00 03 00 00 00 03
0x02236798: 02 0c 45 80 02 0c 48 20 02 23 67 e0 00 6e 83 a0
0x022367a8: 00 00 00 00 00 00 00 08 0a ee ee ee 00 78 00 00
0x022367b8: 00 00 00 00 02 23 68 08 02 23 67 d8 02 23 67 e8
0x022367c8: 00 00 00 00 00 78 00 00 00 00 00 00 00 00 00 03
0x022367d8: 00 00 00 03 02 23 68 08 02 23 68 00 00 6a 99 f4
0x022367e8: ff ff ff ff ff ff ff ff 02 23 68 00 02 23 68 08
0x022367f8: 02 23 68 08 00 00 00 00 02 23 68 a8 00 6a 98 70
0x02236808: 72 65 62 6f 6f 74 20 32 00 00 00 00 00 00 00 00
0x02236818: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02236828: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02236838: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x02236848: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Print layers of stack when exception:
stack collapsed, can't show!

Show CallStack failed!


High Precise CpuTickBase = 0x28807
PerformanceBase = 0x1813c0

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

g_ulLocalCpuID = 7

base system init ...

Base system init done!

Mnode Adapter: 2.0

Minimal system task init ...

Minimal system task init done!


SYS BOAR
Loader/Mt/Dm module init ...
SYS BOARD LOAD TASK 1.10
sD LOAD TASK 1.10
start
: ../../app/srtart
: ../../app/src/sys_comm/Comm2sys.c/sys_comm/Comm2sys.cc,L240
Try connect to
fei ioc:1175.6.0.6 !
MAC addr :SYS BOA0Connect ioc success0!: ../../app/src/io-
c_comm/Comm2IOC.c,Le05
36
-
[MT] currefcnt_link=0 line=0 l-ink_state=0
0curre7nt_link=0 line-01-07HSYS PMC NO:......
Board is NUM = 6
[DM] DmMaxDbFilesLen=1b8b06

[DM] DmTimlyDBChkTime at 02:00:00

[DM] prog's scope : size 0x149b87, Blk 8-> 18


[DM] db file s
[DM] db file start addr: 0xfda61c3f, BlysLoad.c,rt addr
[ilt udp link success
: ../../app/src/sys_comm/CoInfo:add snInfo:add snode[0,3,17] success
ode[0,3,Info:add snode[0,3,18] success
18] succ
Minimal system tas
An error occurred. k init done!
file:.
Advance system ini./../vos/SRC/kernel/t ...
v_queue.C, line:921, module:536872192, Error:32
statCpciTaskId = 76835582536

SDM init done! return=0

The board enters the shell state after initialization.


Advance system init done!

start pat restore:Logic_NO = 0


restore patch successfully!

You might also like