14 Replies Latest reply on Sep 5, 2019 4:50 AM by lida_4439816

    linux driver for bcm43438 chip

    lida_4439816

      Recently´╝îi just deal with a project with bcm43438 chip and i want to use it in linux kernel 3.18+,i cant find the suitable driver for the chip, does someone have idea about it?@hihyc_1175151@ScKe_1713761

        • 1. Re: linux driver for bcm43438 chip
          ZhengbaoZ_96

          hello:

           

          We supports many chips in fmac way, please take a look at link, here has a fmac release for linux solution:

          Wi-Fi/Bluetooth for Linux and Android

          • 2. Re: linux driver for bcm43438 chip
            ZhengbaoZ_96

            and  please reach out to the module Partner you are working with as they will be able to help you with the DHD driver.

            • 3. Re: linux driver for bcm43438 chip
              lida_4439816

              i have saw that information before, and that websit provide driver with kernel 4.1+, maybe i need a driver with 3.18-.last week i try to add the driver bcmdhd.1.201.59.x.cn to my kernel but i failed for many files are changed.

              • 4. Re: linux driver for bcm43438 chip
                ZhengbaoZ_96

                Hello:

                 

                     I think you need to raise cases from module partner or distributor for the specific dhd release.

                • 5. Re: linux driver for bcm43438 chip
                  RoCh_2868046

                  Hello,

                   

                  Moving to FMAC is probably the best option for you, as ZhengbaoZ_96 mentioned. You will need to backport the driver to your Linux version, but FMAC comes with backport tool incorporated and it should not be very difficult. Please refer to this guide: Getting started on Linux Driver Backporting - FMAC   for the steps. You can backport to any 3.0+ Linux kernels.

                   

                  I hope this helps.

                  1 of 1 people found this helpful
                  • 6. Re: linux driver for bcm43438 chip
                    lida_4439816

                    thank you for your help, now i have compile the kernel and the drivers modules.but something is wrong with AP6212.when i reset the borad and insmod the driver modules ,the log is below:

                    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: queuing unknown CIS tuple 0x81 (9 bytes)

                    mmc2: new high speed SDIO card at address 0001

                    brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001

                    brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

                    brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

                    brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

                    someone knows what are that information means?

                    • 7. Re: linux driver for bcm43438 chip
                      EvSt_281971

                      you use fw (brcmfmac43430-sdio.bin) and nvram (brcmfmac43430-sdio.txt) from ap6212 bsp?

                      • 8. Re: linux driver for bcm43438 chip
                        lida_4439816

                        yes i use the bsp from cypress website(cypress-firmware-v4.14.77-2019_0503),in the package i find the brcmfmac43430-sdio.bin but i cant find brcmfmac43430-sdio.txt, so i download another txt from internet and then i got the log:

                         

                        brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001

                        brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May  2 2019 02:39:18 version 7.45.98.83 (r714225 CY) FWID 01-e539531f

                         

                        and then there is no messages more , i dont know what happenned.is that means i got a wrong bin file?

                        • 9. Re: linux driver for bcm43438 chip
                          lida_4439816

                          yes i use the bsp from cypress website(cypress-firmware-v4.14.77-2019_0503),in the package i find the brcmfmac43430-sdio.bin but i cant find brcmfmac43430-sdio.txt, so i download another txt from internet and then i got the log:

                           

                          brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001

                          brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May  2 2019 02:39:18 version 7.45.98.83 (r714225 CY) FWID 01-e539531f

                           

                          and then there is no messages more , i dont know what happenned.is that means i got a wrong bin file?

                          • 10. Re: linux driver for bcm43438 chip
                            EvSt_281971

                            you have fw and nvram from bsp?

                            • 11. Re: linux driver for bcm43438 chip
                              lida_4439816

                              i get the .bin file for cypress web,but i have no nvram file, i just download a nvram file for internet but i dont sure it is right. now i can see the wlan0,

                              wlan0     Link encap:Ethernet  HWaddr 18:93:7F:36:36:0E 

                                        BROADCAST MULTICAST  MTU:1500  Metric:1

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

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

                                        collisions:0 txqueuelen:1000

                                        RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

                              but if i config it : ifcongif wlan0 up , my borad will lose power.

                              • 12. Re: linux driver for bcm43438 chip
                                lida_4439816

                                can you help me with another problen? now i insmod all the driver modules and when i ifconfig -a , i can see the wlan0:

                                wlan0     Link encap:Ethernet  HWaddr 18:93:7F:36:36:0E 

                                          BROADCAST MULTICAST  MTU:1500  Metric:1

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

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

                                          collisions:0 txqueuelen:1000

                                          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

                                 

                                but if i use ifconfig wlan0 up,something worng happened,the log is:

                                ifconfig: SIOCSIFFLAGS: Input/output error

                                 

                                do you know what is that means?

                                • 13. Re: linux driver for bcm43438 chip
                                  ZhengbaoZ_96

                                  Hello:

                                   

                                      I think you need to get the correct nvram from AP6212 vendor.

                                  second:  after first step you need to capture more logs by add debug = 0x in the insmod process.

                                  • 14. Re: linux driver for bcm43438 chip
                                    lida_4439816

                                    by now , i use the hostapd to config the wlan0, and when i config it ,i got the log:

                                    ~ # hostapd -B /etc/wireless/hostapd.conf

                                    Configuration file: /etc/wireless/hostapd.conf

                                    IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

                                    wlan0: Could not connect to kernel driver

                                    Using interface wlan0 with hwaddr 18:93:7f:36:36:0e and ssid "AP6212"

                                    IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

                                    wlan0: interface state UNINITIALIZED->ENABLED

                                    wlan0: AP-ENABLED

                                     

                                    and now i can see the wifi hotpot on my phone, but i cant connect to it.maybe i see more time to fix it.