现在把GSPI8686.reg 导入,在platform.bib文件中打包
;------------------------------SPI wifi---------------------------
GSPI8686.dll $(_FLATRELEASEDIR)\GSPI8686.dll NK SH
giisr.dll $(_FLATRELEASEDIR)\giisr.dll NK SHK
选上如下组件
Native Wi-Fi WLAN Access Point Components
Native Wi-Fi WLAN STA
Wired Local Area Network (802.3, 802.5)
Wireless LAN (802.11) STA - Automatic Configuration and 802.1x
Domain Discovery
NDIS Packet Capturing DLL
Network Driver Architecture (NDIS)
TCP/IP
Internet Explorer 6.0 for Windows CE Components
Internet Explorer 6.0 for Windows CE - Standard Components
Message Queuing (MSMQ)
可是郁闷的是,系统启动不了,打印如下信息
=== GSPI8686_8015 Driver ===HOST_INT_STATUS_REG: 111111111111, timeout
GSPI8385-Using DMA mode
pxa_gspi_init!
USE_DEVIRQ == 1
SysIntr: 24!
MyIst-Priority : 50
irqreturn: 0!
installISR: PhysAddr: b0b00054h
SysIntr: 25!
MyIst-Priority : 50
resultdma setupInterrupt== [0]...
*********> loading agiisr.dll ok
resultdma installISR == [0]...
into EnableEINT.....
OUT ssp_init_hw.....
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
9999999 Reg(0x02)= 0xff
setup_write_dma WaitForSingleObject timeout (12)
Fail to push reg+dummy_clk[5]...
WaitForSingleObject timeout (2)
ssp_read_data_direct, Read data failed...
setup_write_dma WaitForSingleObject timeout (12)
Fail to push reg+dummy_clk[5]...
WaitForSingleObject timeout (2)
ssp_read_data_direct, Read data failed...
setup_write_dma WaitForSingleObject timeout (12)
Fail to push reg+dummy_clk[5]...
WaitForSingleObject timeout (2)
ssp_read_data_direct, Read data failed...
ssp_read_register, Read register(2h) timeout
Reg(0x02)=00ffh, exp: 0x0006
11111111111111pxa_gspi_register_isr
2222222222pxa_gspi_register_isr
spi_ReadRegister: read data is 333333333
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
lizhenjiang sbi_disable_host_init
lizhenjiang......spi_FirmwareDownload\nsetup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (12)
Fail to push reg+dummy_clk[5]...
WaitForSingleObject timeout (2)
ssp_read_data_direct, Read data failed...
setup_write_dma WaitForSingleObject timeout (12)
Fail to push reg+dummy_clk[5]...
WaitForSingleObject timeout (2)
ssp_read_data_direct, Read data failed...
setup_write_dma WaitForSingleObject timeout (12)
Fail to push reg+dummy_clk[5]...
WaitForSingleObject timeout (2)
ssp_read_data_direct, Read data failed...
ssp_read_register, Read register(5ch) timeout
setup_write_dma WaitForSingleObject timeout (66)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (66)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (66)
Not successful after sending 0 bytes.
ssp_write_data, Read data(20h) timeout
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
setup_write_dma WaitForSingleObject timeout (4)
Not successful after sending 0 bytes.
Download Helper Img success!
Fragment Tx Data (now, exp)=(65534, 65534)
Fragment Tx Data (now, exp)=(62462, 65534)
Fragment Tx Data (now, exp)=(59390, 65534)
Fragment Tx Data (now, exp)=(56318, 65534)
Fragment Tx Data (now, exp)=(53246, 65534)
Fragment Tx Data (now, exp)=(50174, 65534)
Fragment Tx Data (now, exp)=(47102, 65534)
Fragment Tx Data (now, exp)=(44030, 65534)
Fragment Tx Data (now, exp)=(40958, 65534)
Fragment Tx Data (now, exp)=(37886, 65534)
Fragment Tx Data (now, exp)=(34814, 65534)
Fragment Tx Data (now, exp)=(31742, 65534)
Fragment Tx Data (now, exp)=(28670, 65534)
Fragment Tx Data (now, exp)=(25598, 65534)
Fragment Tx Data (now, exp)=(22526, 65534)
Fragment Tx Data (now, exp)=(19454, 65534)
Fragment Tx Data (now, exp)=(16382, 65534)
Fragment Tx Data (now, exp)=(13310, 65534)
Fragment Tx Data (now, exp)=(10238, 65534)
Fragment Tx Data (now, exp)=(7166, 65534)
Fragment Tx Data (now, exp)=(4094, 65534)
Sending 65534 bytes complete
Fatal Stack Error, Terminating thread 83d97000, pexi = 0602db24
Exception 'Data Abort' Thread=83d97000 AKY=00000005 PC=01e1bd58 BVA=07e45000
R0=0000fffe R1=00000000 R2=0001f9ef R3=00000000
R4=00000306 R5=0001fffe R6=01e43c30 R7=0001f9f0
R8=0001d044 R9=01e25610 R10=0000fffe R11=00000000
R12=e3d9efdf SP=0602db74 Lr=0603d56e Psr=2000001f
Data Abort: Thread=83d97000 Proc=804b76a0 '0025ec) RA=00844d0e(