QE in MPC8360MDS

mike zheng mail4mz at gmail.com
Sat Nov 1 00:47:18 EST 2008


Hi All,

Anyone know the difference of QE between MPC8360 and MPC8568?

I am using the QE code working for MPC8568 on a MPC8360MDS board.
However there is no interrupt generated by UCC0. I set the QE working
under loopback mode. The flag of TxBD got changed, but the UCCE
remains the same value. Here is the logs and register value.

Thanks,

Mike


===========>ucc_geth_start_xmit: Set status queue=0
TxBD[cf48a488].status=9800002a ucce=10001 uccm=7f010001

!!!!ucc_geth_start_xmit: Different value for TxBD after Xmit
TxBD[cf48a488].status=1800002a






ase address: 0xfdf02000
gumr  : addr - 0xfdf02000, val - 0x4000000c
upsmr : addr - 0xfdf02004, val - 0x00002000
utodr : addr - 0xfdf02008, val - 0x0000
udsr  : addr - 0xfdf0200c, val - 0x7e7e
ucce  : addr - 0xfdf02010, val - 0x00000000
uccm  : addr - 0xfdf02014, val - 0x7f010001
uccs  : addr - 0xfdf02018, val - 0x00
urfb  : addr - 0xfdf02020, val - 0x00003488
urfs  : addr - 0xfdf02024, val - 0x1000
urfet : addr - 0xfdf02028, val - 0x0800
urfset: addr - 0xfdf0202a, val - 0x0c00
utfb  : addr - 0xfdf0202c, val - 0x00001480
utfs  : addr - 0xfdf02030, val - 0x2000
utfet : addr - 0xfdf02034, val - 0x1000
utftt : addr - 0xfdf02038, val - 0x0400
utpt  : addr - 0xfdf0203c, val - 0x0100
urtry : addr - 0xfdf02040, val - 0x00000000
guemr : addr - 0xfdf02090, val - 0x13
UCC0 Geth registers:
Base address: 0xfdf02000
maccfg1    : addr - 0xfdf02100, val - 0x00000035
maccfg2    : addr - 0xfdf02104, val - 0x00000020
ipgifg     : addr - 0xfdf02108, val - 0x40605060
hafdup     : addr - 0xfdf0210c, val - 0x00a1f037
ifctl      : addr - 0xfdf02138, val - 0x01000000
ifstat     : addr - 0xfdf0213c, val - 0x00000000
macstnaddr1: addr - 0xfdf02140, val - 0x00000000
macstnaddr2: addr - 0xfdf02144, val - 0x00000000
uempr      : addr - 0xfdf02150, val - 0x00000000
utbipar    : addr - 0xfdf02154, val - 0x00000010
uescr      : addr - 0xfdf02158, val - 0x0804
tx64       : addr - 0xfdf02180, val - 0x00000000
tx127      : addr - 0xfdf02184, val - 0x00000000
tx255      : addr - 0xfdf02188, val - 0x00000000
rx64       : addr - 0xfdf0218c, val - 0x00000000
rx127      : addr - 0xfdf02190, val - 0x00000000
rx255      : addr - 0xfdf02194, val - 0x00000000
txok       : addr - 0xfdf02198, val - 0x00000000
txcf       : addr - 0xfdf0219c, val - 0x0000
tmca       : addr - 0xfdf021a0, val - 0x00000000
tbca       : addr - 0xfdf021a4, val - 0x00000000
rxfok      : addr - 0xfdf021a8, val - 0x00000000
rxbok      : addr - 0xfdf021ac, val - 0x00000000
rbyt       : addr - 0xfdf021b0, val - 0x00000000
rmca       : addr - 0xfdf021b4, val - 0x00000000
rbca       : addr - 0xfdf021b8, val - 0x00000000
scar       : addr - 0xfdf021bc, val - 0x00000000
scam       : addr - 0xfdf021c0, val - 0xffff0000
Thread data TXs:
Base address: 0xfdf14600
Thread data TX[0]:
Base address: 0xfdf14600
0xfdf14600: 38000000 3880002a 18000000 1880002a
0xfdf14610: 18000000 1880002a 18000000 1880002a
0xfdf14620: 18000000 1880002a 18000000 1880002a
0xfdf14630: 18000000 1880002a 18000000 1880002a
0xfdf14640: 800017c8 3a00002a 0f48a4f8 0c094242
0xfdf14650: 80001678 1a00002a 0f48a4c8 0c0b4e22
0xfdf14660: 800016e8 1a00002a
Thread data TX[1]:
Base address: 0xfdf14668
0xfdf14668: 0f48a4d8 0c0b4f22 80001758 1a00002a
0xfdf14678: 0f48a4e8 0c094142 80001790 1a00002a
0xfdf14688: 0f48a4f0 0c0941c2 80001640 1a00002a
0xfdf14698: 0f48a4c0 0c0b4da2 800016b0 1a00002a
0xfdf146a8: 0f48a4d0 0c0b4ea2 80001720 1a00002a
0xfdf146b8: 0f48a4e0 0c0940c2 0d004dc0 00000000
0xfdf146c8: 14004e40 00000001
Thread data RX:
Base address: 0xfdf14a00
Thread data RX[0]:
Base address: 0xfdf14a00
0xfdf14a00: 00000000 00000000 00000000 00000000
0xfdf14a10: 00000000 00000000 00000000 00000000
0xfdf14a20: 00000000 00000000
Thread data RX[1]:
Base address: 0xfdf14a28
0xfdf14a28: 00000000 00000000 00000000 00000000
0xfdf14a38: 00000000 00000000 00004c00 00000005
0xfdf14a48: 00004d00 0000000c
TX global param:
Base address: 0xfdf14500
temoder      : addr - 0xfdf14500, val - 0xc000
sqptr        : addr - 0xfdf14538, val - 0x00004780
schedulerbasepointer: addr - 0xfdf1453c, val - 0x00000000
txrmonbaseptr: addr - 0xfdf14540, val - 0x00000000
tstate       : addr - 0xfdf14544, val - 0x30000000
iphoffset[0] : addr - 0xfdf14548, val - 0x00
iphoffset[1] : addr - 0xfdf14549, val - 0x00
iphoffset[2] : addr - 0xfdf1454a, val - 0x00
iphoffset[3] : addr - 0xfdf1454b, val - 0x00
iphoffset[4] : addr - 0xfdf1454c, val - 0x00
iphoffset[5] : addr - 0xfdf1454d, val - 0x00
iphoffset[6] : addr - 0xfdf1454e, val - 0x00
iphoffset[7] : addr - 0xfdf1454f, val - 0x00
vtagtable[0] : addr - 0xfdf14550, val - 0x00000000
vtagtable[1] : addr - 0xfdf14554, val - 0x00000000
vtagtable[2] : addr - 0xfdf14558, val - 0x00000000
vtagtable[3] : addr - 0xfdf1455c, val - 0x00000000
vtagtable[4] : addr - 0xfdf14560, val - 0x00000000
vtagtable[5] : addr - 0xfdf14564, val - 0x00000000
vtagtable[6] : addr - 0xfdf14568, val - 0x00000000
vtagtable[7] : addr - 0xfdf1456c, val - 0x00000000
tqptr        : addr - 0xfdf14570, val - 0x00004600
RX global param:
Base address: 0xfdf14800
remoder         : addr - 0xfdf14800, val - 0x00000000
rqptr           : addr - 0xfdf14804, val - 0x00004a00
typeorlen       : addr - 0xfdf14820, val - 0x0c00
rxgstpack       : addr - 0xfdf14823, val - 0x00
rxrmonbaseptr   : addr - 0xfdf14824, val - 0x00000000
intcoalescingptr: addr - 0xfdf14830, val - 0x00004b70
rstate          : addr - 0xfdf14836, val - 0x30
mrblr           : addr - 0xfdf14846, val - 0x0600
rbdqptr         : addr - 0xfdf14848, val - 0x00004b80
mflr            : addr - 0xfdf1484c, val - 0x05ee
minflr          : addr - 0xfdf1484e, val - 0x0040
maxd1           : addr - 0xfdf14850, val - 0x05f0
maxd2           : addr - 0xfdf14852, val - 0x05f0
ecamptr         : addr - 0xfdf14854, val - 0x00000000
l2qt            : addr - 0xfdf14858, val - 0x00000000
l3qt[0]         : addr - 0xfdf1485c, val - 0x00000000
l3qt[1]         : addr - 0xfdf14860, val - 0x00000000
l3qt[2]         : addr - 0xfdf14864, val - 0x00000000
l3qt[3]         : addr - 0xfdf14868, val - 0x00000000
l3qt[4]         : addr - 0xfdf1486c, val - 0x00000000
l3qt[5]         : addr - 0xfdf14870, val - 0x00000000
l3qt[6]         : addr - 0xfdf14874, val - 0x00000000
l3qt[7]         : addr - 0xfdf14878, val - 0x00000000
vlantype        : addr - 0xfdf1487c, val - 0x8100
vlantci         : addr - 0xfdf1487e, val - 0x0000
addressfiltering[0]: addr - 0xfdf14880, val - 0x00
addressfiltering[1]: addr - 0xfdf14881, val - 0x00
addressfiltering[2]: addr - 0xfdf14882, val - 0x00
addressfiltering[3]: addr - 0xfdf14883, val - 0x00
addressfiltering[4]: addr - 0xfdf14884, val - 0x00
addressfiltering[5]: addr - 0xfdf14885, val - 0x00
addressfiltering[6]: addr - 0xfdf14886, val - 0x00
addressfiltering[7]: addr - 0xfdf14887, val - 0x00
addressfiltering[8]: addr - 0xfdf14888, val - 0x00
addressfiltering[9]: addr - 0xfdf14889, val - 0x00
addressfiltering[10]: addr - 0xfdf1488a, val - 0x00
addressfiltering[11]: addr - 0xfdf1488b, val - 0x00
addressfiltering[12]: addr - 0xfdf1488c, val - 0x00
addressfiltering[13]: addr - 0xfdf1488d, val - 0x00
addressfiltering[14]: addr - 0xfdf1488e, val - 0x00
addressfiltering[15]: addr - 0xfdf1488f, val - 0x00
addressfiltering[16]: addr - 0xfdf14890, val - 0x00
addressfiltering[17]: addr - 0xfdf14891, val - 0x00
addressfiltering[18]: addr - 0xfdf14892, val - 0x00
addressfiltering[19]: addr - 0xfdf14893, val - 0x00
addressfiltering[20]: addr - 0xfdf14894, val - 0x00
addressfiltering[21]: addr - 0xfdf14895, val - 0x00
addressfiltering[22]: addr - 0xfdf14896, val - 0x00
addressfiltering[23]: addr - 0xfdf14897, val - 0x00
addressfiltering[24]: addr - 0xfdf14898, val - 0x00
addressfiltering[25]: addr - 0xfdf14899, val - 0x00
addressfiltering[26]: addr - 0xfdf1489a, val - 0xff
addressfiltering[27]: addr - 0xfdf1489b, val - 0xff
addressfiltering[28]: addr - 0xfdf1489c, val - 0xff
addressfiltering[29]: addr - 0xfdf1489d, val - 0xff
addressfiltering[30]: addr - 0xfdf1489e, val - 0xff
addressfiltering[31]: addr - 0xfdf1489f, val - 0xff
addressfiltering[32]: addr - 0xfdf148a0, val - 0x00
addressfiltering[33]: addr - 0xfdf148a1, val - 0x00
addressfiltering[34]: addr - 0xfdf148a2, val - 0xff
addressfiltering[35]: addr - 0xfdf148a3, val - 0xff
addressfiltering[36]: addr - 0xfdf148a4, val - 0xff
addressfiltering[37]: addr - 0xfdf148a5, val - 0xff
addressfiltering[38]: addr - 0xfdf148a6, val - 0xff
addressfiltering[39]: addr - 0xfdf148a7, val - 0xff
addressfiltering[40]: addr - 0xfdf148a8, val - 0x00
addressfiltering[41]: addr - 0xfdf148a9, val - 0x00
addressfiltering[42]: addr - 0xfdf148aa, val - 0xff
addressfiltering[43]: addr - 0xfdf148ab, val - 0xff
addressfiltering[44]: addr - 0xfdf148ac, val - 0xff
addressfiltering[45]: addr - 0xfdf148ad, val - 0xff
addressfiltering[46]: addr - 0xfdf148ae, val - 0xff
addressfiltering[47]: addr - 0xfdf148af, val - 0xff
addressfiltering[48]: addr - 0xfdf148b0, val - 0x00
addressfiltering[49]: addr - 0xfdf148b1, val - 0x00
addressfiltering[50]: addr - 0xfdf148b2, val - 0xff
addressfiltering[51]: addr - 0xfdf148b3, val - 0xff
addressfiltering[52]: addr - 0xfdf148b4, val - 0xff
addressfiltering[53]: addr - 0xfdf148b5, val - 0xff
addressfiltering[54]: addr - 0xfdf148b6, val - 0xff
addressfiltering[55]: addr - 0xfdf148b7, val - 0xff
addressfiltering[56]: addr - 0xfdf148b8, val - 0x81
addressfiltering[57]: addr - 0xfdf148b9, val - 0x00
addressfiltering[58]: addr - 0xfdf148ba, val - 0x00
addressfiltering[59]: addr - 0xfdf148bb, val - 0x00
addressfiltering[60]: addr - 0xfdf148bc, val - 0x00
addressfiltering[61]: addr - 0xfdf148bd, val - 0x00
addressfiltering[62]: addr - 0xfdf148be, val - 0x00
addressfiltering[63]: addr - 0xfdf148bf, val - 0x00
exfGlobalParam  : addr - 0xfdf148c0, val - 0x00000000
Send Q memory registers:
Base address: 0xfdf14780
SQQD[0]:
Base address: 0xfdf14780
0xfdf14780: 0f48a380 000047a0 0f48a380 0f48a3f8
0xfdf14790: a0d8c3b3 0f48a4f8 0f48a380 0f48a3f8
0xfdf147a0: 00000000 00000000 00000000 00000000
0xfdf147b0: 00000000 00000000 00000000 00000000
RX IRQ coalescing tables:
Base address: 0xfdf14b70
RX IRQ coalescing table entry[0]:
Base address: 0xfdf14b70
interruptcoalescingmaxvalue: addr - 0xfdf14b70, val - 0x00000001
interruptcoalescingcounter : addr - 0xfdf14b74, val - 0x00000001
RX BD QS tables:
Base address: 0xfdf14b80
RX BD QS table[0]:
Base address: 0xfdf14b80
bdbaseptr        : addr - 0xfdf14b80, val - 0x00004b90
bdptr            : addr - 0xfdf14b84, val - 0x00004b90
externalbdbaseptr: addr - 0xfdf14b88, val - 0x0f48a480
externalbdptr    : addr - 0xfdf14b8c, val - 0x0f48a480
ucode RX Prefetched BDs:
Base address: 0xfdf14b90
0xfdf14b90: 90000000 0c0a8840 90000000 0c0a8040
0xfdf14ba0: 90000000 0c0a9840 90000000 0c0a9040
Init enet param shadow:
Base address: 0xcffa8640
0xcffa8640: 0630ff00 04000000 22004803 04000003
0xcffa8650: 05004c03 0c004d03 00000000 00000000
0xcffa8660: 00000000 00000000 00000000 00000000
0xcffa8670: 00000000 00000000 00004503 0d004dc3
0xcffa8680: 14004e43 00000000 00000000 00000000
0xcffa8690: 00000000 00000000 00000000 00
Init enet entry 0:
Base address: 0xfdf14dc0
0xfdf14dc0: 00004500 86004670 00000000 0000000d
0xfdf14dd0: b93f6801 4f3d654d f35d9f13 416911ec
0xfdf14de0: e9575887 00000000 06004640 06004640
0xfdf14df0: ba3ef374 4067d84f e3dbc7c2 798c5c48
Init enet entry 1:
Base address: 0xfdf14e40
0xfdf14e40: 40004500 860046b0 00000000 00010014
0xfdf14e50: f3c702d5 37593862 cc8f13c8 28791e2b
0xfdf14e60: bccd9fa0 00000000 06004680 06004680
0xfdf14e70: 53d9a2d1 445f5679 7936e39b 971b0756
Init enet entry 1:
Base address: 0xfdf14c00
0xfdf14c00: 00004800 00000000 ec62ed9b 30000000
0xfdf14c10: f03bcead 0e004bc0 0fa02677 9bb5da57
0xfdf14c20: 822f70fb 43df246e 0ed50bbf ed1abb70
0xfdf14c30: acefab3a 002bde1e c44e4310 8292e71c
0xfdf14c40: 53aaf37b 23e765df 2ed73aae 1b097736
0xfdf14c50: 3a354a9d 93cd6977 00000005 0000000c
0xfdf14c60: 00001000 81000000 02000049 08009031
0xfdf14c70: b635677a d918cc11 c86a2d3c a4b5ad70
Init enet entry 2:
Base address: 0xfdf14d00
0xfdf14d00: 00004800 00000000 f549f9e9 30000000
0xfdf14d10: 7b67b740 49004cc0 000031fe 08c0103f
0xfdf14d20: 3cc00040 0c0a8840 05f00000 00004b80
0xfdf14d30: 02000049 0000807f 00000000 e9ffa4b3
0xfdf14d40: 4d8be61c 29a820ae 5eb59197 47b8de74
0xfdf14d50: 582d84fa 0f48a3f8 0000000c 00000005
0xfdf14d60: 00001000 81000000 31b2c5ec 14be039e
0xfdf14d70: 19a78ce8 948b94d6 d5047af3 00000040



More information about the Linuxppc-dev mailing list