7 Replies Latest reply on Aug 13, 2015 11:49 AM by xbolshe

    iwlwifi-7260 wifi driver on galileo gen2

    Barteks2x

      I know that thare are already a few threads for it, but they are all from 2014.

      I have Intel Galileo Gen2 board with intel 7260-MHW wifi module. It requires iwlwifi-7260 drivers. The ucode file is there on IoT image for Galileo Gen2, but it requires kernel 3.10 or higher, while the image has version 3.8.

      Is there any way to get this wifi module working?

      I don't need the arduino functionality as long as I can connect to it over ssh (only Ethernet/USB cable).

        • 1. Re: iwlwifi-7260 wifi driver on galileo gen2
          PabloM_Intel

          Hi Barteks2x,

           

          As you said, the current image still has kernel 3.8. So to make it work you’ll need to build your own kernel for the Galileo, but that would require a lot of work. Someone already did it, look at this post https://communities.intel.com/thread/47987.

           

          Regards,

          PabloM_Intel

          • 2. Re: iwlwifi-7260 wifi driver on galileo gen2
            Barteks2x

            I found this project: todorez/galileo-linux-stable · GitHub

            It has 3.18 kernel, so I will try to compile it.

            • 3. Re: iwlwifi-7260 wifi driver on galileo gen2
              Barteks2x

              I have successfully compiled this kernel.

              When using FTDI I see that it works, but networking doesn't work.

              ifconfig lists only "lo", ifup/ifdown fails with "ifup: can't open '/etc/network/interfaces': No such file or directory"

              I probably did something wrong (I did everything described here: galileo-linux-stable/README.md at master · todorez/galileo-linux-stable · GitHub, starting with IoT image for galileo gen 2 on sd card)

              And arduino programs don't start (I can upload them using Arduino IDE).

              • 4. Re: iwlwifi-7260 wifi driver on galileo gen2
                Barteks2x

                After setting kernel option "CONFIG_IWLMVM=m" I was able to enable wifi. It was disabled by rfkill by default and I had some problems enabling it, but it works. Unfortunately ethernet still doesn't work (and avahi-autoipd service). All required kernel modules are there (stmmac is normally used for ethernet), they are loaded, but lspci -k doesn't show it:

                root@galileo:~# lspci -k

                00:00.0 Host bridge: Intel Corporation Device 0958

                        Subsystem: Intel Corporation Device 095e

                        Kernel driver in use: intel_qrk_sb

                00:14.0 SD Host controller: Intel Corporation Device 08a7 (rev 10)

                        Subsystem: Intel Corporation Device 08a7

                        Kernel driver in use: sdhci-pci

                00:14.1 Serial controller: Intel Corporation Device 0936 (rev 10)

                        Subsystem: Intel Corporation Device 0936

                        Kernel driver in use: serial

                00:14.2 USB controller: Intel Corporation Device 0939 (rev 10)

                        Subsystem: Intel Corporation Device 0939

                        Kernel driver in use: pch_udc

                        Kernel modules: pch_udc

                00:14.3 USB controller: Intel Corporation Device 0939 (rev 10)

                        Subsystem: Intel Corporation Device 0939

                        Kernel driver in use: ehci-pci

                        Kernel modules: ehci_pci

                00:14.4 USB controller: Intel Corporation Device 093a (rev 10)

                        Subsystem: Intel Corporation Device 093a

                        Kernel driver in use: ohci-pci

                        Kernel modules: ohci_pci

                00:14.5 Serial controller: Intel Corporation Device 0936 (rev 10)

                        Subsystem: Intel Corporation Device 0936

                        Kernel driver in use: serial

                00:14.6 Ethernet controller: Intel Corporation Device 0937 (rev 10)

                        Subsystem: Intel Corporation Device 0937

                00:14.7 Ethernet controller: Intel Corporation Device 0937 (rev 10)

                        Subsystem: Intel Corporation Device 0937

                00:15.0 Serial bus controller [0c80]: Intel Corporation Device 0935 (rev 10)

                        Subsystem: Intel Corporation Device 0935

                        Kernel driver in use: pxa2xx_spi_pci

                        Kernel modules: spi_pxa2xx_pci

                00:15.1 Serial bus controller [0c80]: Intel Corporation Device 0935 (rev 10)

                        Subsystem: Intel Corporation Device 0935

                        Kernel driver in use: pxa2xx_spi_pci

                        Kernel modules: spi_pxa2xx_pci

                00:15.2 Serial bus controller [0c80]: Intel Corporation Device 0934 (rev 10)

                        Subsystem: Intel Corporation Device 0934

                        Kernel driver in use: intel_qrk_gip

                        Kernel modules: intel_qrk_gip

                00:17.0 PCI bridge: Intel Corporation Device 11c3

                        Kernel driver in use: pcieport

                00:17.1 PCI bridge: Intel Corporation Device 11c4

                        Kernel driver in use: pcieport

                00:1f.0 ISA bridge: Intel Corporation Device 095e

                        Subsystem: Intel Corporation Device 095e

                        Kernel driver in use: lpc_sch

                01:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)

                        Subsystem: Intel Corporation Dual Band Wireless-AC 7260

                        Kernel driver in use: iwlwifi

                        Kernel modules: iwlwifi

                 

                Does anyone have any idea why it doesn't work/how to fix it?

                Note: To compile it I had to modify file drivers/platform/x86/quark/intel_qrk_esram_test.c so that it didn't use __DATE__ and __TIME__ macros, somewhere near line 500.

                • 5. Re: iwlwifi-7260 wifi driver on galileo gen2
                  xbolshe

                  Hi,

                   

                  basic kernel stmmac driver will not work with Galileo board. Need to modify stmmac driver.

                  For example, here it works Re: How to build your own BSP without using Yocto

                   

                  Best regards,

                  xbolshe

                  • 6. Re: iwlwifi-7260 wifi driver on galileo gen2
                    Barteks2x

                    That seems weird because this version is made especially for intel galileo.

                    But thank you for information. Maybe if I try to apply patches from the original kernel manually something will work. For what I want to do I don't need GPIO support but I would be happy if it works.

                    • 7. Re: iwlwifi-7260 wifi driver on galileo gen2
                      xbolshe

                      As I see in source code, this version has no stmmac driver patches for Intel Galileo.