Sesh
|
Re: Starting Wilink 8 driver on i.Mx6 Processor
|
Sesh
11/18/2015 5:20 PM
post115062
|
Re: Starting Wilink 8 driver on i.Mx6 Processor
Here is an example from use file
# use -a /lib/dll/devnp-ti18xx_imx6x.so
%C Driver for TI18xx Wireless controllers
Supported devices:
TI18xx
Syntax:
io-pkt-v4-hc -d ti18xx_imx6x [option[,option ...]] ... &
Options
firmdir=dir Directory for firmware
bindir=dir Directory for configuration bin files. (tiwlan.bin,roleAp.bin,roleSta.bin,roleP2pCl.bin)
nvram Set nvram option
sdio=[0|1|2] Select SDIO port to use
dmatx=N DMA channel for transmit
dmarx=N DMA channel for receive
irq=N IRQ to be used
gpio=N GPIO to be used for enable
thr_prio=N Priority to run driver thread.
irq_gpio=N IRQ to be used for OOB interrupt
irq_cfg_dflt=[1] Select default BSP GPIO configuration for the OOB irq (disabled by default)
Examples:
# Start io-pkt using the devnp-ti18xx_imx6x.so driver on SDIO port 1:
io-pkt-v4-hc -dti18xx_imx6x sdio=1
# Start io-pkt using the devnp-ti18xx_imx6x.so driver on SDIO port 2 - DMA 26 & 27
io-pkt-v4-hc -dti18xx_imx6x sdio=2,dmatx=26,dmarx=27
According to this example SDIO2 is associated with DMA events 26,27. This is not true as these events are associated
with UART1 (Tx) & UART 2 (Rx). Usage of the word channel further confuses this as channel had a different meaning for
DMA in i.MX6 reference.
For eg: we use SDIO3 what will be my parameters for dmatx/rx?
|
|
|