2853|0

84

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

LAN9118移植问题 [复制链接]

移植LAN9118问题:
1)当KITL Enabled选项选中时build出来的image,板子启动后能够ping通,但停在PB与板子attach的时刻,Log如下:
Download successful!  Jumping to image at 0x0 (phys)适=镺ALLogSetZones: g_oalLogMask: 0xb
INFO:  First section...
INFO:  Sel = 2
INFO:  PBC Version = 0x0
Windows CE Kernel for ARM (Thumb Enabled) Built on Apr 22 2008 at 09:58:42
ProcessorType=0b36  Revision=4
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 8810148c
enter OEMinit
Before g_SERV
OEMInit:  SREV = 0x28
After g_SERV
port:DBG_UART1
NOT PLAT_PMC
PBC debug switch settings:  0x10
BSP System Configuration:
    L2 CACHE ENABLED
    MCU PLL  = 399000000 Hz
    USB PLL  = 240000000 Hz
    SER PLL  = 399360000 Hz
    ARM CLOCK  = 399000000 Hz
    IPU CLOCK  = 133000000 Hz
    AHB CLOCK  = 133000000 Hz
    IPG CLOCK  = 66500000 Hz
    NFC CLOCK  = 19000000 Hz
    GACC CLOCK = 66500000 Hz
    PER CLOCK = 66500000 Hz
    SSI1 CLOCK = 3120000 Hz
    SSI2 CLOCK = 3120000 Hz
    FIRI CLOCK = 1875000 Hz
    CSI CLOCK = 780000 Hz
    USB CLOCK = 60000000 Hz
    SIM CLOCK = 66500000 Hz
OEMInit:  L2 cache is enabled (AUXCR = 0x20fff)
SWITCHING TO HIGH SPEED ARM CLOCK  = 399000000 Hz
DeviceId................. MX3117493
pArgs->flags............. 0x9
pArgs->devLoc.IfcType.... 0
pArgs->devLoc.LogicalLoc. 0xa8000000
pArgs->devLoc.PhysicalLoc 0xa4000000
pArgs->devLoc.Pin........ 0
pArgs->ip4address........ 169.254.34.234
pDevice->Name............ LAN9118
pDevice->ifcType......... 0
pDevice->id.............. 0xa8000000
pDevice->resource........ 0
pDevice->type............ 2
pDevice->pDriver......... 0x88b26438
enter LAN911xInit
+LAN911xInit(0xa4000000, 0xa8000000, 0x88b3f0e8, EPIT(0x88b6e5c8, 0xbff94000))
g_pLAN911x = 0xa4000000
g_pWEIM4_UP = 0x0000d843
g_pWEIM4_DOWN = 0x22252521
g_pWEIM4_ADD = 0x22220a00
g_pWEIM1_UP = 0x0000d843
g_pWEIM1_DOWN = 0x22252521
g_pWEIM1_ADD = 0x00221000
g_pWCR = 0x00000000
g_pSRX0 = 0x01000112
g_pGPIO3_0 = 0x01120101
bsp_args = 0xa8000000
g_pGPIO2->GDIR = 0x00000004
g_pGPIO2->PSR = 0xfc51ff7b
g_pGPIO3->GDIR = 0x00000000
g_pGPIO3->DR = 0xfff5212f
g_pGPIO3->PSR = 0xfff5212f
g_pGPIO3->IMR = 0x00000011
g_pGPIO3->ICR1 = 0x00000103
g_pGPIO3->ISR = 0x000adec0
OALStall 750us (6144Khz, 0xfe68a384, 0xfe67b381)
11111111
22222222
44444444
dwTemp = 0x00050000
g_chipRevision = 0x01180001
55555555
LAN9118: Chip Id 118 Revision 1
66666666Auto Negotiation done
Auto Negotiation done LINK_100MPS_FULL
-LAN91CInit(mac = 00:11:22:33:44:55, rc = 1)
KITL: *** Device Name MX3117493 ***
VBridge:: built on [Jun 18 2008] time [11:19:37]

-- Rx = [16384] bytes

: NK add MAC: [0-11-22-33-44-55]


2)当KITL Enabled选项不选中时build出来的image,板子启动虽然经过了LAN部分,但ping不通. Log如下:
Download successful!  Jumping to image at 0x0,适=镺ALLogSetZones: g_oalLogMask: 0xb
INFO:  First section...
INFO:  Sel = 2
INFO:  PBC Version = 0x0
Windows CE Kernel for ARM (Thumb Enabled) Built on Apr 22 2008 at 09:58:42
ProcessorType=0b36  Revision=4
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 8810148c
enter OEMinit
Before g_SERV
OEMInit:  SREV = 0x28
After g_SERV
port:DBG_UART1
NOT PLAT_PMC
PBC debug switch settings:  0x10
BSP System Configuration:
    L2 CACHE ENABLED
    MCU PLL  = 399000000 Hz
    USB PLL  = 240000000 Hz
    SER PLL  = 399360000 Hz
    ARM CLOCK  = 399000000 Hz
    IPU CLOCK  = 133000000 Hz
    AHB CLOCK  = 133000000 Hz
    IPG CLOCK  = 66500000 Hz
    NFC CLOCK  = 19000000 Hz
    GACC CLOCK = 66500000 Hz
    PER CLOCK = 66500000 Hz
    SSI1 CLOCK = 3120000 Hz
    SSI2 CLOCK = 3120000 Hz
    FIRI CLOCK = 1875000 Hz
    CSI CLOCK = 780000 Hz
    USB CLOCK = 60000000 Hz
    SIM CLOCK = 66500000 Hz
OEMInit:  L2 cache is enabled (AUXCR = 0x20fff)
SWITCHING TO HIGH SPEED ARM CLOCK  = 399000000 Hz
Error Reporting Memory Reserved, dump size = 00020000
Booting Windows CE version 5.00 for (ARM)

Old or invalid version stamp in kernel structures - starting clean!
Configuring: Primary pages: 13474, Secondary pages: 0, Filesystem pages = 6737

Booting kernel with clean memory configuration:
Memory Sections:
[0] : start: 88b3a000, extension: 00004000, length: 034a2000
Sp=ffffc7cc
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
DRIVER_VERSION : 108, DATECODE : 082506
Rx PIO
Tx PIO
16Bit Mode
Lan9118 identified. ID_REV = 0x01180001
Use IntPhy
ucStationAddress=0 80 f 11 70 0
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.HCD PDD SREV register = 28HCD PDD SREV register = 28SREV register = 28

点赞 关注

回复
举报
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/7 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表