SDIO设备驱动的疑问:

jhon   2009-8-21 20:10 楼主
各位高手好呀,帮我分析一下我的SDIO接口的WIFI驱动加载失败了是什么回事呀?谢谢了哦,打印信息如下我使用的是MARVELL8686的WIFI驱动:

Load Ok!Jump to 0x20500000=0xEA00Windows CE Kernel for ARM (Thumb Enabled) Built on Aug  4 2008 at 18:38:38

ProcessorType=0926  Revision=5

sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 8050688c

DCache: 128 sets, 4 ways, 32 line size, 16384 size

INFO:OALLogSetZones: g_oalLogMask: 0xb1cf7ffd

-OEMInit

Sp=ffffc7cc

-OALIoCtlHalInitRTC(rc = 0)

+TCC_I2C_Init
-TCC_I2C_Init
+ BKL_Init()
- BKL_Init()
+WAV_Init
-WAV_Init
IOCTL_CKC_SET_PERICLOCK
WAVEDEV:HardwareContext::MapDMABuffers() @ 200c0000

CMMB port process attach

CMB_Init ++++++

+ADC INIT v1.01

+BATT INIT

-BATT INIT

SDBusDriver: PROCESS_ATTACH
SDBusDriver: PROCESS_DETACH


interruptuse is not used!!

SDBusDriver: PROCESS_ATTACH
INIT - Enter DriverEntry
*** Driver version 38.p45 ***
*** Built on Aug 16 2009 18:44:11 ***
<== DriverEntry: register miniport success
<== DriverEntry: register miniport successINIT - Enter MrvDrvInitialize
[WiFi]: Driver Version: 38.p45
pAssoInfo = 0x1a1d68, pAssoInfo->Length = 0x1a1d68
********sdio_Initialization**********

********SDNdisGetSDDeviceHandle**********

SDNdis: Failed to get active path key (0xC0000001)
*** SDNdisGetSDDeviveHandleFailed -1073741823
*** SDIOInitialization FAILED! ***
[TT] SDIO initialization is failed! Quit initialization process

SDBusDriver: PROCESS_DETACH
SetOutputGain(39321)
Load Key Base Drivers\BuiltIn\Serial1
Read Register Value[3:3]
CRegUart::CRegUart init dwSysintr=50[29]

m_pRegVirtualAddr : [b0055300]
Load Key Base Drivers\BuiltIn\Serial2
Read Register Value[1:1]
CRegUart::CRegUart init dwSysintr=52[7]

m_pRegVirtualAddr : [b0055100]
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.
:::FMM_Init

SDBusDriver: PROCESS_ATTACH
SDBusDriver: +SDC_Init
!!!!!!!!!!SDBusDriver: +SDC_Init
SDBusDriver: Bus Driver instance created : 0x0004D6D0 ! -SDC_Init
SDHCDGetHCFunctions: +Init
SDHCDGetHCFunctions: -Init
SDHC +Init
SDHC Active RegPath : "Drivers\Active\28"
SDHC_dll="tcc_sdhc.dll"
wini.dwNumIoWindows 0
wini.dwNumMemWindows 1
wini.memWindows[0].dwBase B0090000
wini.memWindows[0].dwLen 100
InitializeHardware +
IOCTL_CKC_SET_PERICLOCK
IOCTL_CKC_SET_PERIBUSCLKCTL
CSDHCBase::InitializeHardware: ISR installation is skipped.(it's ok)

CSDHCBase::InitializeHardware: IRQ 27 mapped to SYS_INTR 0x12

InitializeHardware -
SDHC Will use DMA for slot 0
+DumpStdHCRegs - Slot 0 -------------------------
SystemAddressLo:    0x0000
SystemAddressHi:    0x0000
BlockSize:  0x0000
BlockCount: 0x0000
Argument0:  0x0000
Argument1:  0x0000
TransferMode:   0x0000
Command:    0x0000
R0: 0x0000
R1: 0x0000
R2: 0x0000
R3: 0x0000
R4: 0x0000
R5: 0x0000
R6: 0x0000
R7: 0x0000
BufferDataPort0:    0x0000
BufferDataPort1:    0x0000
PresentState:   0x1FF80000
HostControl:    0x0000
PowerControl:   0x0000
BlockGapControl:    0x0000
WakeUpControl:  0x0000
ClockControl:   0x0000
TimeOutControl: 0x0000
SoftReset:  0x0000
NormalIntStatus:    0x0000
ErrorIntStatus: 0x0000
NormalIntStatusEnable:  0x0000
ErrorIntStatusEnable:   0x0000
NormalIntSignalEnable:  0x0000
ErrorIntSignalEnable:   0x0000
AutoCMD12ErrorStatus:   0x0000
Capabilities:   0x69EF30B0
MaxCurrentCapabilites:  0x0001
SlotInterruptStatus:    0x0000
HostControllerVersion:  0x0002
-DumpStdHCRegs-------------------------
SDHC Priority 100
CSDHCBase::SlotOptionHandler(slot=0,option=11)
SDHCSetRate - Clock Control Reg = 101
SDHCSetRate - Actual clock rate = 25000000
SDHCInitialize++
SDHCInitialize--
SDHC -Init
+NAND: DRIVER INIT!

CSDHCBase::IST: Thread Starting
CSDHCBase::HandleInterrupt: Slot Interrupt_Status=0x0
SDHCControllerIst - Card is Removed!
CSDHCBase::CardDetect: Thread Start
NAND: INITIALIZE SUCCESS

-NAND: DRIVER INIT!

+USB FUNCTION Driver

TCCxxxUSBFn!UfnPdd_Init: Using IO Base b0010000

TCCxxxUSBFn!UfnPdd_Init: Using SysIntr 19

TCCxxxUSBFn!UfnPdd_Init: Using IST priority 224

-InitDevice

+ValidateContext

-USB FUNCTION Driver

+OALIoCtlHalDisableWake(sysIntr = 19)

+OALIoCtlHalDisableWake(rc = 1)

CSDHCBase::HandleInterrupt: Slot Interrupt_Status=0x1
HandleInterrupt (0) - Normal Interrupt_Status=0x40
SDHCControllerIst - Card is Inserted!
SDHCControllerIst - Card is HandleInsertion!
CSDHCSlotBase::SetVoltage: Set SDHC_POWER_CONTROL reg = 0x0f
TCCxxxUSBFn!DetectUsbAttachThread: start .
+TCC::TCC_DISP

++TCC LCD::InitializeHardware

LCD Size is 480 X 272 read from Registry

dwLCDPhysicalFrameBase:20000000, Size(261120)

-TCC::TCC_DISP

Touchpanel DRV :LCD Size = 480X272,I2C Channel Num(1)

SDHCSetRate - Clock Control Reg = 8001
SDHCSetRate - Actual clock rate = 195312
SDHCControllerIst IndicateSlotStateChange!
!!!!!!!!!!!!!!!CSDHostContainer SDHCDIndicateSlotStateChange__X!
!!!!!!!!!!!CSDSlot: ---SlotStateChange
CSDSlot: SlotStatusChange  Slot Event : 2
!!!!!!!!!!CSDSlot: ---InsertDevice
CSDHCBase::SlotOptionHandler(slot=0,option=1)
CSDHCSlotBase::SlotOptionHandler: Clock Setting: 100000
SHCSDSlotOptionHandler - Setting Host Control Register 0
SDHCSetRate - Clock Control Reg = 8001
SDHCSetRate - Actual clock rate = 195312
SDSetCardInterfaceForSlot - HC ClockRate differs desired setting: desired: 100000 Hz, Actual : 195312 Hz
!!!!!!!!!!CSDDevice: SD_API_STATUS_DEVICE_2222222 OK
!!!!!!!!!!CSDDevice: +GetDeviceHandle
!!!!!!!!!!CSDDevice: +GetDeviceHandle OK
AllocateBusRequest Changed From 0, to 140!!!!!!!!!!CSDDevice: +GetDeviceHandle
!!!!!!!!!!CSDDevice: +GetDeviceHandle OK
SubmitRequestToHC(53a70)
CSDHCSlotBase::BusRequestHandler: CMD:5
CSDHCSlotBase::SubmitBusRequestHandler: CMD:5
Sending command register 0x0502

Sending command Argument 0x00000000

HandleInterrupt (0) - Normal Interrupt_Status=0x8000
SDHCGetAndLockCurrentRequest_I,m_curHCOwned=53a70
HandleErrors - ERROR INT STATUS=0x03
HandleErrors - Command line error (0x3). Resetting CMD line.

CSDHCBase::HandleInterrupt: Slot Interrupt_Status=0x0
SDSynchronousBusRequest_I: queue request failed(0xc0000016),TransferClass(2), CommandCode(5),CommandArgument(0)

!!!!!!!!!!CSDDevice: +GetDeviceHandle
!!!!!!!!!!CSDDevice: +GetDeviceHandle OK
!!!!!!!!!!CSDSlot: ---HandleAddDevice
MSIM: IM_ReadRegistry read KB 5

send attach message!!
TCCxxxUSBFn!DetectUsbAttachThread: UFN_ATTACH.

Explorer(V2.0) taskbar thread started.

AUTORAS:: Dialer notifies: [1] [Dialer Start]

Posting WM_NETCONNECT(TRUE) message

AUTORAS:: Dialer notifies: [4] [Dialer Connected]

回复评论 (4)

Telechips的平台?
点赞  2009-8-27 17:00
嗯,是的呀!
点赞  2009-8-31 10:37
我现在也在用这个平台,可以交流下.msn:lhl8502@tom.com
点赞  2009-8-31 11:09
从 SDNdis: Failed to get active path key (0xC0000001) 看:系统启动时,驱动没加载进来,看看注册表有没有加进来
点赞  2009-8-31 11:14
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复