CAC 2017-01-08

gload_ debugging

pbm >system_library_tools>bound_mpc_tools_

dump_mpc                             0   4152      0      0    100    240
dump_mpc_                         4152   1344      0      0    340    126
trace_mpc_                        5516  12170      0      0    466    124
stat_mpc_                        17706   5670      0    162    612    236
char_mpc_                        25576    770    162      0   1050    144
load_mpc                         26566   6252    162      0   1214    300
load_mpc_fw_info_                35040   3630    162      0   1514    210
poll_mpc                         40670  13056    162    110   1724    370
attach_mpc_                      53746   2650    272      0   2314    214
patch_firmware                   56616   4674    272      0   2530    110
mpc_data_summary                 63512   5026    272      0   2640    202
print_mpc_summary                70540   5006    272      0   3042    166
display_mpc_data_                75546   4764    272      0   3230    166
decode_mpc_stats_               102532   1462    272      0   3416    150
gload_                          104214   6654    272      0   3566    134
gload_cksum_                    113070     20    272      0   3722    104

DBG(7651919026)> CPU0 TRACE: 00325:105123 4 002740627000 (EAX7 002740) 002740 627(0) 0 0 0 00

105123-104214 = 707

gload_.list
000707  aa   002740 6270 00   eax7      1504

Good.
ENTRY TO DO_ABS                                             STATEMENT 1 ON LINE 498
DO_ABS: proc;

003164  aa  6 01636 6501 00   spri4     pr6|926
                                                            STATEMENT 1 ON LINE 500
      lcwp = addr (abs_card.cw);

3164+104214 = 107400
DBG(7651955236)> CPU0 TRACE: 00325:107400 4 600144653500 (SPRI7 PR6|144) 600144 653(1) 1 0 0 00

         ld_offset = lcw.l_addr;

003222  aa  003 100 060 500   csl       (pr),(pr),fill(0),bool(move)

3222+104214 = 107436

00325:107405 is the go to absc (lcw.type); with type in Q/  seems to always be 1"

003250  aa  6 00100 2521 00   spri2     pr6|64              core_ptr
00325:107462 4 600100252100 (SPRI2 PR6|100) 600100 252(0) 1 0 0 00

DBG(7651955292)> CPU0 APPENDING: Write(Actual) Write: iefpFinalAddress=60471261 writeData=014003000000

         l = lcw.count * 4;   

003251  aa  003 100 060 500   csl       (pr),(pr),fill(0),bool(move)

DBG(7652965734)> CPU0 APPENDING: Read (Actual) Read:  iefpFinalAddress=57774743  readData=100526041531

      137 dcl  1 lcw unaligned based (lcwp),                          /* template for loader control word */
      138        (2 type fixed bin (3),                               /* 1 = abs, 2 = reloc, 0 = xfer, 4 = preface */
      139        2 rel_sym fixed bin (6),                             /* if reloc, symbol to which card to be loaded */
      140        2 mb5 fixed bin (3),                                 /* must be 5 for binary card */
      141        2 count fixed bin (6),                               /* count of data words on this card */
      142        2 l_addr fixed bin (18)) unsigned;                   /* load address */

count is 026.

DBG(7652965740)> CPU0 TRACE: 00325:107470 4 602177756100 (STQ PR6|2177) 602177 756(0) 1 0 0 00
DBG(7652965740)> CPU0 REGDUMPAQI: A=000000000000 Q=000000000026 IR:~BAR

026*4-0139 bytes

DBG(7652965746)> CPU0 TRACE: 00325:107473 4 040140100540 (MLR PR0|40140,F1) 040140 100(1) 0 0 0 00
DBG(7652965746)> CPU0 TRACEEXT: N1 130

DBG(7652965746)> CPU0 APPENDING: Write(Actual) Write: iefpFinalAddress=61345545 writeData=041544755000

Weird.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License