How to porting AP6210 wifi + bt device?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to porting AP6210 wifi + bt device?

5,999 Views
fulinux
Contributor IV

Hi community,

     my board is imx6, and i am porting BSP which version is  imx_4.1.15_1.0.0_ga . i am a new hand. our custom board was made by another  company, we have no schematic circuit diagram of the board. but we have a running well kernel (version: linux-3.0). i am porting my new BSP refer to the old kernel. some modules porting have successed. i am poring wifi module on my board, it is model is ap6210, i have never porting a wifi module, and porting it on device tree file. i don't know what should i do? have you porting ap2610 wifi module?

     there are my old kernel machine board files attached. waiting for your feedback.

 

thank you,

fulinux.

Original Attachment has been moved to: board-mx6q_sabresd_piano.c.zip

Original Attachment has been moved to: board-mx6q_sabresd_piano.h.zip

Labels (2)
Tags (1)
0 Kudos
8 Replies

2,284 Views
mengliangxia
Contributor I

I also have encountered this problem on my board with imx_4.1.15 kernel.I used the kernel's own bcmdhd and I have copy the bin and vnram.txt from linux-sunxi-ap6210/firmware/ap6210 at sunxi-3.4 · armStrapTools/linux-sunxi-ap6210 · GitHub 

I have setted the files path in kernel.when kernel boot some problems have happened。

dhd_module_init in
wifi_plat_dev_drv_probe no GPIO for OOB in device tree.
wifi_plat_dev_drv_probe continue with non-OOB mode.
Power-up adapter 'DHD generic adapter'
wifi_platform_bus_enumerate device present 1
mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
mmc0: new high speed SDIO card at address 0001
F1 signature OK, socitype:0x1 chip:0xa962 rev:0x1 pkg:0x9
DHD: dongle ram size is set to 245760(orig 245760) at 0x0
wifi_platform_get_mac_addr
CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211)
wl_create_event_handler(): thread:wl_event_handler:87 started
CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0x845c143c
dhd_attach(): thread:dhd_watchdog_thread:88 started
dhd_attach(): thread:dhd_dpc:89 started
dhd_deferred_work_init: work queue initialized
Dongle Host Driver, version 1.141.92 (r)
Compiled in drivers/net/wireless/bcmdhd
Register interface [wlan0] MAC: 00:90:4c:11:22:33

CFG80211-ERROR) wl_event_handler : was terminated
wl_destroy_event_handler(): thread:wl_event_handler:87 terminated OK
dhd_prot_ioctl : bus is down. we have nothing to do

can you help me?

thank you!

0 Kudos

2,284 Views
fulinux
Contributor IV

give me you qq

0 Kudos

2,284 Views
mengliangxia
Contributor I

qq:1017621406

email:xia_mengliang@163.com

非常感谢

VFS: Mounted root (ubifs filesystem) on device 0:14.
devtmpfs: mounted
Freeing unused kernel memory: 428K (80b3f000 - 80baa000)
devpts: called with bogus options
udevd[155]: starting version 3.2.1
udevd[156]: starting eudev-3.2.1
pxp-v4l2 pxp_v4l2: failed to call pxp_set_fbinfo
IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
cdc_ether 1-1:2.0 usb0: kevent 12 may have been dropped
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

Dongle Host Driver, version 1.141.92 (r)
Compiled in drivers/net/wireless/bcmdhd
wl_android_wifi_on in
mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
F1 signature OK, socitype:0x1 chip:0xa962 rev:0x1 pkg:0x9
DHD: dongle ram size is set to 245760(orig 245760) at 0x0
dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
wifi_platform_get_mac_addr
Firmware up: op_mode=0x0002, MAC=e0:76:d0:0e:ea:58
dhd_preinit_ioctls buf_key_b4_m4 set failed -23
Firmware version = wl0: Jul 15 2013 18:55:17 version 5.90.195.89.12 FWID 01-e19208a6
dhd_preinit_ioctls wl ampdu_hostreorder failed -23
dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79
dhd_wlfc_init(): wlfc_mode=0x0, ret=-23
CFG80211-ERROR) wl_update_wiphybands : error reading vhtmode (-23)
wl_create_event_handler(): thread:wl_event_handler:dd started
CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0x845c143c
CFG80211-ERROR) wl_event_handler : was terminated
wl_destroy_event_handler(): thread:wl_event_handler:dd terminated OK
wl_android_wifi_off in
dhd_wlfc_deinit():3271, ampdu_hostreorder get failed Err = -23
dhd_wlfc_deinit():3291 successfully disabled bdcv2 tlv signaling, 0
dhd_set_mac_addr_handler: interface info not available/down

Dongle Host Driver, version 1.141.92 (r)
Compiled in drivers/net/wireless/bcmdhd
wl_android_wifi_on in
mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
F1 signature OK, socitype:0x1 chip:0xa962 rev:0x1 pkg:0x9
DHD: dongle ram size is set to 245760(orig 245760) at 0x0
dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
wifi_platform_get_mac_addr
Firmware up: op_mode=0x0002, MAC=e0:76:d0:0e:ea:58
dhd_preinit_ioctls buf_key_b4_m4 set failed -23
Firmware version = wl0: Jul 15 2013 18:55:17 version 5.90.195.89.12 FWID 01-e19208a6
dhd_preinit_ioctls wl ampdu_hostreorder failed -23
dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79
dhd_wlfc_init(): wlfc_mode=0x0, ret=-23
CFG80211-ERROR) wl_update_wiphybands : error reading vhtmode (-23)
wl_create_event_handler(): thread:wl_event_handler:df started
CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0x845c143c
[root@JDT ]#

现在系统起来后,ifconfig能够找到wlan0,但是我不太确定这个wlan0是不是能够正常工作。因为我用ifconfig设置静态IP后,然后将udhcpd打开,udhcpd.conf中已经设置了wlan0和地址池,然后启动hostapd,我已经解决了启动hostapd时的random和RFKill的错误。然后手机能够搜索到wifi模块的SSID,但是手机输入hostapd中设置好的密码,结果却连接不上。

这是手机连接wifi后的信息:

[root@JDT ]# ifconfig wlan0 192.168.0.1 netmask 255.255.255.0
[root@JDT ]# udhcpd wlan0
[root@JDT ]# hostapd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
device wlan0 entered promiscuous mode
CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
Using interface wlan0 with hwaddr e0:76:d0:0e:ea:58 and ssid "test"
dhd_ndo_enable: failed to enabe ndo to 0, retcode = -23
CFG80211-ERROR) wl_cfg80211_start_ap : wl_cfg80211_start_ap: Disabling NDO Failed -23
CFG80211-ERROR) wl_cfg80211_set_channel : netdev_ifidx(6), chan_type(1) target channel(11)
CFG80211-ERROR) wl_cfg80211_parse_ies : No WPSIE in beacon
CFG80211-ERROR) wl_cfg80211_parse_ies : No WPSIE in beacon
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
wlan0: STA 00:0a:f5:ad:f4:0c IEEE 802.11: associated
CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 00:0a:f5:ad:f4:0c scb_val.val 3
CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 3
Unable to handle kernel NULL pointer dereference at virtual address 000000f1
pgd = 84be4000
[000000f1] *pgd=84a68831, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 287 Comm: hostapd Not tainted 4.1.15-g121edb7-dirty #2
Hardware name: Freescale i.MX6 Ultralite (Device Tree)
task: 84294980 ti: 853de000 task.ti: 853de000
PC is at netlink_unicast+0x9c/0x20c
LR is at netlink_unicast+0x38/0x20c
pc : [<8069c1c8>] lr : [<8069c164>] psr: 20000013
sp : 853dfd88 ip : 00000000 fp : 00000000
r10: 00000000 r9 : 00000000 r8 : 853dfd8c
r7 : 84c26e40 r6 : 00000000 r5 : 8069d2dc r4 : 00000040
r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : 84c26e40
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 84be406a DAC: 00000015
Process hostapd (pid: 287, stack limit = 0x853de210)
Stack: (0x853dfd88 to 0x853e0000)
fd80: 84c26e40 00000000 00000014 84ba8200 8069d2dc 84c26e40
fda0: 84c26e40 853dfdd4 00000000 8069c8f4 80c0d348 84c26e40 84853000 8069d2cc
fdc0: 841a0000 00000030 84853000 8069c284 853dff74 7fffffff 853dff6c 853dff6c
fde0: 00000030 84853000 00000008 84c26e40 00000000 8069c6e4 00000000 802bf51c
fe00: 853dfe78 853dfe0c 00000000 853dbb00 00000000 0000011f 00000000 00000000
fe20: 00000000 853dff6c 00000000 00000000 854c0480 00000000 00000000 853dfe58
fe40: 00000000 8065e128 853dff6c 8065e8f8 7eb5d9ec 00000000 853dff6c 00000024
fe60: 00000000 7eb5d92c 00000000 8065e9b8 00000000 7eb5d9ec 000ec870 00000030
fe80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
fea0: 853dfebe 00000000 00000000 854c0300 00000122 8000f584 00000010 00000000
fec0: 00000000 a0000013 80bace38 84161680 87f9d100 80bac6bc 00000000 800e4b3c
fee0: 85308b00 00000000 84a8be58 8010dce0 852d2c8c 00000007 00000000 00000000
ff00: 87ed6e00 84982010 87ed6e00 84982010 80bab6a8 84001100 87f9ca40 80bac6bc
ff20: 00000000 800e4b3c 80bab560 84001500 87f8c160 80bac6bc 7eb5da14 00000000
ff40: 854c0480 00000128 8000f584 853de000 00000000 8065f598 00000000 800eb544
ff60: 00000020 00000000 fffffff7 853dfeb8 0000000c 00000001 00000000 00000000
ff80: 853dfe80 00000000 00000000 00000000 00000000 00000000 000ea9d0 000ebe28
ffa0: 76faa788 8000f400 000ea9d0 000ebe28 00000005 7eb5da14 00000000 00000000
ffc0: 000ea9d0 000ebe28 76faa788 00000128 7eb5da48 00000000 00000000 00000000
ffe0: 00000000 7eb5d98c 76f91014 76e42d98 60000030 00000005 f9fa7d7f 2f6bcf75
[<8069c1c8>] (netlink_unicast) from [<8069c8f4>] (netlink_rcv_skb+0xa4/0xd8)
[<8069c8f4>] (netlink_rcv_skb) from [<8069d2cc>] (genl_rcv+0x24/0x34)
[<8069d2cc>] (genl_rcv) from [<8069c284>] (netlink_unicast+0x158/0x20c)
[<8069c284>] (netlink_unicast) from [<8069c6e4>] (netlink_sendmsg+0x2e4/0x34c)
[<8069c6e4>] (netlink_sendmsg) from [<8065e128>] (sock_sendmsg+0x14/0x24)
[<8065e128>] (sock_sendmsg) from [<8065e8f8>] (___sys_sendmsg+0x1cc/0x1d4)
[<8065e8f8>] (___sys_sendmsg) from [<8065f598>] (__sys_sendmsg+0x3c/0x68)
[<8065f598>] (__sys_sendmsg) from [<8000f400>] (ret_fast_syscall+0x0/0x3c)
Code: e3500001 e1a05000 1a00004c e1a01009 (e5d600f1)
---[ end trace d46e0212927e949e ]---
Segmentation fault
[root@JDT ]#

0 Kudos

2,284 Views
igorpadykov
NXP Employee
NXP Employee

Hi fulinux

seems ap6210 is supported in mainline kernel

AP6210 - Linux Rockchip

regarding porting guidelines one can apply to vendor of

that device.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,284 Views
fulinux
Contributor IV

Hi igor,

thank you, but i want to know how to add dts node of ap6210 for fsl BSP.

i found this:

linux-3.0:

arch/arm/mach-mx6/board-mx6q_sabresd_piano.h

static iomux_v3_cfg_t mx6q_sabresd_pads[] = {

......

    /*WIFI_HOST_WAKE*/

    MX6Q_PAD_CSI0_DAT18__GPIO_6_4,

......

};

arch/arm/mach-mx6/board-mx6q_sabresd_piano.c:

#define WIFI_HOST_WAKE          IMX_GPIO_NR(6, 4)

....

int bcm_wlan_get_oob_irq(void)

{

    int host_oob_irq = 0;

    gpio_request(WIFI_HOST_WAKE, "wifi_host_wake");

    gpio_direction_input(WIFI_HOST_WAKE);

    host_oob_irq = gpio_to_irq(WIFI_HOST_WAKE);

    printk("host_oob_irq: %d \r\n", host_oob_irq);

    return host_oob_irq;

}

EXPORT_SYMBOL(bcm_wlan_get_oob_irq);

but in linux-4.1 i found WIFI_HOST_WAKE defined to GPIO1_IO27 in iomuxc dts node:

&iomuxc {                                                        

    pinctrl-names = "default";                                   

    pinctrl-0 = <&pinctrl_hog>;                                  

                                                                 

    imx6qdl-sabresd {                                            

        pinctrl_hog: hoggrp {                                    

            fsl,pins = <           

               ....                                  

                MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x80000000       /* WL_HOST_WAKE */

               ....

            >;                                                   

        };                                               

how can i defined WIFI_HOST_WAKE pin to gpio6_IO4, and where place to use WIFI_HOST_WAKE pin in linux-4.1?

if i write like this:

    imx6qdl-sabresd {                                            

        pinctrl_hog: hoggrp {                                    

            fsl,pins = <           

               ....                                  

                MX6QDL_PAD_CSI0_DAT18__GPIO6_IO04  0x80000000      

               ....

            >;                                                   

        };

should i modify code in kernel to use gpio6_io4 ? and where palce?

0 Kudos

2,284 Views
igorpadykov
NXP Employee
NXP Employee

ap6210 uses BCM43362 / BCM20710 and one can look at

BCM4339 example in attached Linux Manual sect.46.3 Device Tree Binding

~igor

0 Kudos

2,284 Views
fulinux
Contributor IV

Dear igor,

look at this log:

dhd_module_init in

Power-up adapter 'DHD generic adapter'

wifi_platform_bus_enumerate device present 1

mmc2: queuing unknown CIS tuple 0x80 (2 bytes)

mmc2: queuing unknown CIS tuple 0x80 (3 bytes)

mmc2: queuing unknown CIS tuple 0x80 (3 bytes)

mmc2: queuing unknown CIS tuple 0x80 (7 bytes)

mmc2: new high speed SDIO card at address 0001

F1 signature OK, socitype:0x1 chip:0xa962 rev:0x1 pkg:0x9

DHD: dongle ram size is set to 245760(orig 245760) at 0x0

wifi_platform_get_mac_addr

CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211)

wl_create_event_handler(): thread:wl_event_handler:332 started

CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0xd708143c

dhd_attach(): thread:dhd_watchdog_thread:333 started

dhd_attach(): thread:dhd_dpc:334 started

dhd_deferred_work_init: work queue initialized

Dongle Host Driver, version 1.141.88 (r)

Compiled from

Register interface [wlan0]  MAC: 00:90:4c:11:22:33

CFG80211-ERROR) wl_event_handler : was terminated

wl_destroy_event_handler(): thread:wl_event_handler:332 terminated OK

dhd_prot_ioctl : bus is down. we have nothing to do

root@imx6qsabresd:~/firmware#

Dongle Host Driver, version 1.141.88 (r)

Compiled from

wl_android_wifi_on in

mmc2: queuing unknown CIS tuple 0x80 (2 bytes)

mmc2: queuing unknown CIS tuple 0x80 (3 bytes)

mmc2: queuing unknown CIS tuple 0x80 (3 bytes)

mmc2: queuing unknown CIS tuple 0x80 (7 bytes)

F1 signature OK, socitype:0x1 chip:0xa962 rev:0x1 pkg:0x9

DHD: dongle ram size is set to 245760(orig 245760) at 0x0

dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

random: nonblocking pool is initialized

dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

wifi_platform_get_mac_addr

Firmware up: op_mode=0x0005, MAC=94:a1:a2:5d:d1:6e

dhd_preinit_ioctls buf_key_b4_m4 set failed -23

Firmware version = wl0: Jul  5 2013 17:55:22 version 5.90.195.89.10 FWID 01-f4d31c13

dhd_preinit_ioctls wl ampdu_hostreorder failed -23

dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79

dhd_wlfc_init(): wlfc_mode=0x0, ret=-23

CFG80211-ERROR) wl_update_wiphybands : error reading vhtmode (-23)

wl_create_event_handler(): thread:wl_event_handler:344 started

CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0xd708143c

skbuff: skb_under_panic: text:7f054774 len:12 put:12 head:d66b151c data:d66b1510 tail:0xd66b1514 end:0xd66b1514 dev:<NULL>

------------[ cut here ]------------

Kernel BUG at 805f08ac [verbose debug info unavailable]

Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM

Modules linked in: bcmdhd

CPU: 0 PID: 820 Comm: dhd_dpc Not tainted 4.1.15+gd5d7c02 #15

Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)

task: d6f22f80 ti: d6820000 task.ti: d6820000

PC is at skb_panic+0x60/0x64

LR is at skb_panic+0x60/0x64

pc : [<805f08ac>]    lr : [<805f08ac>]    psr: 600b0013

sp : d6821c98  ip : 00000000  fp : 00000001

r10: d6790000  r9 : 0000000c  r8 : d6d67460

r7 : 80832c84  r6 : d66b1510  r5 : d66b1514  r4 : 809f5cdc

r3 : 00000000  r2 : 00000000  r1 : 809b84a0  r0 : 0000007a

Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel

Control: 10c53c7d  Table: 6691404a  DAC: 00000015

Process dhd_dpc (pid: 820, stack limit = 0xd6820210)

Stack: (0xd6821c98 to 0xd6822000)

1c80:                                                       0000000c d66b151c

1ca0: d66b1510 d66b1514 d66b1514 809f5cdc 00000000 805f292c 00000000 d6d67400

1cc0: d66b1480 7f054774 00000000 00000002 00000000 d6821df8 0000004e 0000000c

1ce0: 00000000 00000000 00000000 d65e4080 7f075dd0 00000000 00000001 00000000

1d00: 00000200 d65e4080 d6821df4 80aeb5ea d6821df8 d65e4100 00000000 80ae52f8

1d20: 80ae8800 00000000 00000001 d603cc50 d6821d68 80ae8800 00000000 8005d014

1d40: 00008800 00000000 80aec6c0 d603cc40 00000000 00000400 00000000 00000001

1d60: 00000000 80aec100 00000000 00000000 00000000 00000000 00000400 00000000

1d80: 00000000 00000001 00000001 00000000 00000000 d603cb40 d603cc40 00000002

1da0: d8f9fc00 d6790000 00000201 00000000 00000001 80037c00 d6790000 00000000

1dc0: 00000001 d6d67400 d6821df8 d6d67460 00000000 d6790000 00000001 7f055260

1de0: 000000ff 00000014 18002000 7f075dd0 00000007 80aec594 d66b1480 ef6fe840

1e00: d60db488 d60db440 80aec6c0 d6f23228 80aec594 00000000 ef6fe800 8005e760

1e20: ef6fe8a8 ef6fe800 d6f23038 d6790000 00000201 00000000 00000000 80037c00

1e40: d6790000 00000000 00000000 7f0096f0 d6790000 7f04c5e4 d67939a0 a00b0093

1e60: 00000014 80796be8 00000014 80796f68 d6790000 a00b0013 d6793000 000007d0

1e80: d65e4100 7f00f378 7f075dd0 00000003 00000014 80796f68 7f075dd0 d6d67400

1ea0: 7f075dd0 7f07a684 00000000 d65e4100 00000000 00000000 00000014 7f0574cc

1ec0: 00000000 60010013 d67938bc 00000032 ffff9a9d d6793000 80b9c140 80ae8800

1ee0: 01000000 6ec16000 80b9c140 80052b38 d6793858 ffff9a9d 00000000 80796f68

1f00: d6793858 8007a8dc 00000000 a00b0093 d6790000 a00b0013 d6793000 d6790000

1f20: d67938a8 d67938e0 00000000 600b0013 d67938bc 00000000 00000000 7f00f528

1f40: d67938a8 00000001 00000000 00000000 d65e44c0 d67938a8 7f00f440 00000000

1f60: 00000000 8004ce08 00000000 00000000 d62fc678 d67938a8 00000000 00000000

1f80: d6821f80 d6821f80 00000000 00000000 d6821f90 d6821f90 d6821fac d65e44c0

1fa0: 8004cd2c 00000000 00000000 8000f528 00000000 00000000 00000000 00000000

1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 7f759811 7f759c11

[<805f08ac>] (skb_panic) from [<805f292c>] (skb_push+0x40/0x44)

[<805f292c>] (skb_push) from [<7f054774>] (dhdsdio_txpkt.constprop.8+0xdc/0xa60 [bcmdhd])

[<7f054774>] (dhdsdio_txpkt.constprop.8 [bcmdhd]) from [<7f055260>] (dhdsdio_sendfromq+0x168/0x3e4 [bcmdhd])

[<7f055260>] (dhdsdio_sendfromq [bcmdhd]) from [<7f0574cc>] (dhdsdio_dpc+0x2d4/0x1024 [bcmdhd])

[<7f0574cc>] (dhdsdio_dpc [bcmdhd]) from [<7f00f528>] (dhd_dpc_thread+0xe8/0x130 [bcmdhd])

[<7f00f528>] (dhd_dpc_thread [bcmdhd]) from [<8004ce08>] (kthread+0xdc/0xf4)

[<8004ce08>] (kthread) from [<8000f528>] (ret_from_fork+0x14/0x2c)

Code: e58de014 e58d500c e58dc010 eb06798d (e7f001f2)

---[ end trace f5a16a9b3eefbf7a ]---

root@imx6qsabresd:~/firmware# lsmod

Module                  Size  Used by

bcmdhd                638540  0

root@imx6qsabresd:~/firmware# ifconfig

eth0      Link encap:Ethernet  HWaddr CC:85:6C:04:E3:32 

          inet addr:192.168.0.106  Bcast:192.168.0.255  Mask:255.255.255.0

          inet6 addr: fe80::ce85:6cff:fe04:e332/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:315 errors:0 dropped:0 overruns:0 frame:0

          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:35870 (35.0 KiB)  TX bytes:5743 (5.6 KiB)

lo        Link encap:Local Loopback 

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:10 errors:0 dropped:0 overruns:0 frame:0

          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:700 (700.0 B)  TX bytes:700 (700.0 B)

wlan0     Link encap:Ethernet  HWaddr 94:A1:A2:5D:D1:6E 

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:879 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:299862 (292.8 KiB)

what's wrong? i need help, i am a new hand.

thank you,

fulinux

0 Kudos

2,284 Views
fulinux
Contributor IV

Hi igor,

     thank you for you replay, it has not mention WL_HOST_WAKE irq pin, how should i add host wake pin define and use the pin?

refer to imx6qdl-sabresd-btwifi.dtsi.

thank you very mach.

fulinux.

0 Kudos