1. 22 6月, 2018 17 次提交
  2. 21 6月, 2018 11 次提交
    • F
      mt76: update to the latest version · b72bced2
      Felix Fietkau 提交于
      072fdac mt76x2: mac: consider multicast/broadcast frames in ewma rssi estimation
      f450659 mt76x2: improve gain adjustment in noisy environments
      1d4ca10 mt76x2: track rssi for gain adjustment per station
      Signed-off-by: NFelix Fietkau <nbd@nbd.name>
      b72bced2
    • A
      ar71xx: add support for TP-LINK Archer C7 v5 · 4e9fa569
      Arvid E. Picciani 提交于
      TP-Link Archer C7 v5 is a dual-band AC1750 router, based on Qualcomm/Atheros
      QCA9563+QCA9880.
      
      Specification:
      
      - 750/400/250 MHz (CPU/DDR/AHB
      - 128 MB of RAM (DDR2)
      - 16 MB of FLASH (SPI NOR)
      - 3T3R 2.4 GHz
      - 3T3R 5 GHz
      - 5x 10/100/1000 Mbps Ethernet
      - 10x LED, 2x button
      - UART header on PCB
      
      Flash instruction:
      1. Upload lede-ar71xx-generic-archer-c7-v5-squashfs-factory.bin via Web interface
      
      Flash instruction using TFTP recovery:
      1. Set PC to fixed ip address 192.168.0.66
      2. Download lede-ar71xx-generic-archer-c7-v5-squashfs-factory.bin
      and rename it to ArcherC7v5_tp_recovery.bin
      3. Start a tftp server with the file tp_recovery.bin in its root directory
      4. Turn off the router
      5. Press and hold Reset button
      6. Turn on router with the reset button pressed and wait ~15 seconds
      7. Release the reset button and after a short time
      the firmware should be transferred from the tftp server
      8. Wait ~30 second to complete recovery.
      Signed-off-by: NArvid E. Picciani <aep@exys.org>
      (cherry picked from commit bf39d559)
      4e9fa569
    • D
      ar71xx: add support for Fritz!WLAN Repeater 450E · 29934e5f
      David Bauer 提交于
      This commit adds support for the AVM Fritz!WLAN Repeater 450E
      
      SOC:    Qualcomm QCA9556 (Scorpion) 560MHz MIPS74Kc
      RAM:    64MB Zentel A3R12E40CBF DDR2
      FLASH:  16MiB Winbond W25Q128 SPI NOR
      WLAN1:  QCA9556 2.4 GHz 802.11b/g/n 3x3
      INPUT:  WPS button
      LED:    Power, WiFi, LAN, RSSI indicator
      Serial: Header Next to Black metal shield
              Pinout is 3.3V - RX - TX - GND (Square Pad is 3.3V)
              The Serial setting is 115200-8-N-1.
      
      Tested and working:
       - Ethernet
       - 2.4GHz WiFi (correct MAC)
       - Installation via EVA bootloader
       - OpenWRT sysupgrade
       - Buttons
       - Most LEDs
      
      Not working:
       - 2 RSSI LEDs
         AVM used for RSSI{0,1} two of the Ethernet PHYs LEDs which they
         control over MDIO. Our driver doesn't expose these LEDs as GPIOs.
         While it is possible to implement this feature, it would require an
         additional kernel patch for a minor functionality.
      
      Installation via EVA:
      In the first seconds after Power is connected, the bootloader will
      listen for FTP connections on 192.168.178.1. Firmware can be uploaded
      like following:
      
        ftp> quote USER adam2
        ftp> quote PASS adam2
        ftp> binary
        ftp> debug
        ftp> passive
        ftp> quote MEDIA FLSH
        ftp> put openwrt-sysupgrade.bin mtd1
      
      Note that this procedure might take up to two minutes.
      You need to powercycle the Device afterwards to boot OpenWRT.
      Signed-off-by: NDavid Bauer <mail@david-bauer.net>
      (cherry picked from commit b4bf43c6)
      29934e5f
    • M
      ipq40xx: add support for ZyXEL WRE6606 · 36234df9
      Magnus Frühling 提交于
      Specifications:
      SOC:	Qualcomm IPQ4018 (DAKOTA) ARM Quad-Core
      RAM:	128 MB Nanya NT5CC64M16GP-DI
      FLASH:	16 MiB Macronix MX25L12845EMI-12G
      ETH:	Qualcomm QCA8072
      WLAN1:  Qualcomm Atheros QCA4018 2.4GHz 802.11b/g/n 2x2
      WLAN2:  Qualcomm Atheros QCA4018 5GHz 802.11n/ac W2 2x2
      INPUT:  WPS, Mode-toggle-switch
      LED:	Power, WLAN 2.4GHz, WLAN 5GHz, LAN, WPS
              (LAN not controllable by software)
              (WLAN each green / red)
      SERIAL:	Header next to eth-phy.
              VCC, TX, GND, RX (Square hole is VCC)
              The Serial setting is 115200-8-N-1.
      
      Tested and working:
       - Ethernet (Correct MAC-address)
       - 2.4 GHz WiFi (Correct MAC-address)
       - 5 GHz WiFi (Correct MAC-address)
       - Factory installation from tftp
       - OpenWRT sysupgrade
       - LEDs
       - WPS Button
      
      Not Working:
       - Mode-toggle-switch
      
      Install via TFTP:
      
      Connect to the devices serial. Hit Enter-Key in bootloader to stop
      autobooting. Command `tftpboot` will pull an initramfs image named
      `C0A86302.img` from a tftp server at `192.168.99.08/24`.
      After successfull transfer, boot the image with `bootm`.
      
      To persistently write the firmware, flash an openwrt sysupgrade image
      from inside the initramfs, for example transfer
      via `scp <sysupgrade> root@192.168.1.1:/tmp` and flash on the device
      with `sysupgrade -n /tmp/<sysupgrade>`.
      
      append-cmdline patch taken from chunkeeys work on the NBG6617.
      Signed-off-by: NMagnus Frühling <skorpy@frankfurt.ccc.de>
      Co-authored-by: NDavid Bauer <mail@david-bauer.net>
      Co-authored-by: NChristian Lamparter <chunkeey@googlemail.com>
      (cherry picked from commit 4b280ad9)
      36234df9
    • D
      ar71xx: add support for OCEDO Koala · 0c4f658d
      David Bauer 提交于
      This commit adds support for the OCEDO Koala
      
      SOC:	Qualcomm QCA9558 (Scorpion)
      RAM:    128MB
      FLASH:  16MiB
      WLAN1:  QCA9558 2.4 GHz 802.11bgn 3x3
      WLAN2:  QCA9880 5 GHz 802.11nac 3x3
      INPUT:  RESET button
      LED:    Power, LAN, WiFi 2.4, WiFi 5, SYS
      Serial: Header Next to Black metal shield
              Pinout is 3.3V - GND - TX - RX (Arrow Pad is 3.3V)
              The Serial setting is 115200-8-N-1.
      
      Tested and working:
       - Ethernet
       - 2.4 GHz WiFi
       - 5 GHz WiFi
       - TFTP boot from ramdisk image
       - Installation via ramdisk image
       - OpenWRT sysupgrade
       - Buttons
       - LEDs
      
      Installation seems to be possible only through booting an OpenWRT
      ramdisk image.
      
      Hold down the reset button while powering on the device. It will load a
      ramdisk image named 'koala-uImage-initramfs-lzma.bin' from 192.168.100.8.
      
      Note: depending on the present software, the device might also try to
      pull a file called 'koala-uimage-factory'. Only the name differs, it
      is still used as a ramdisk image.
      
      Wait for the ramdisk image to boot. OpenWRT can be written to the flash
      via sysupgrade or mtd.
      
      Due to the flip-flop bootloader which we not (yet) support, you need to
      set the partition the bootloader is selecting. It is possible from the
      initramfs image with
      
       > fw_setenv bootcmd run bootcmd_1
      
      Afterwards you can reboot the device.
      Signed-off-by: NDavid Bauer <mail@david-bauer.net>
      (cherry picked from commit e36f8b3f)
      0c4f658d
    • D
      ar71xx: fix incorrect speed setting on QCA9556 · 9178dc28
      David Bauer 提交于
      The QCA9556 only has a SGMII interface. However the speed on the
      ethernet link is set for the non-existant xMII interface.
      
      This commit fixes this behavior.
      Signed-off-by: NDavid Bauer <mail@david-bauer.net>
      (cherry picked from commit abb4ab07)
      9178dc28
    • T
      ramips: Add support for Mikrotik RouterBOARD RBM33g · 1863c386
      Tobias Schramm 提交于
      This commit adds support for the Mikrotik RouterBOARD RBM33g.
      
      =Hardware=
      
      The RBM33g is a mt7621 based device featuring three gigabit ports, 2
      miniPCIe slots with sim card sockets, 1 M.2 slot, 1 USB 3.0 port and a male
      onboard RS-232 serial port. Additionally there are a lot of accessible
      GPIO ports and additional buses like i2c, mdio, spi and uart.
      
      ==Switch==
      
      The three Ethernet ports are all connected to the internal switch of the
      mt7621 SoC:
      
      port 0: Ethernet Port next to barrel jack with PoE printed on it
      port 1: Innermost Ethernet Port on opposite side of RS-232 port
      port 2: Outermost Ethernet Port on opposite side of RS-232 port
      port 6: CPU
      
      ==Flash==
      
      The device has two spi flash chips. The first flash chips is rather small
      (512 kB), connected to CS0 by default and contains only the RouterBOOT
      bootloader and some factory information (e.g. mac address).
      The second chip has a size of 16 MB, is by default connected to CS1 and
      contains the firmware image.
      
      ==PCIe==
      
      The board features three PCIe-enabled slots. Two of them are miniPCIe
      slots (PCIe0, PCIe1) and one is a M.2 (Key M) slot (PCIe2).
      Each of the miniPCIe slots is connected to a dedicated mini SIM socket
      on the back of the board.
      
      Power to all three PCIe-enabled slots is controlled via GPIOs on the
      mt7621 SoC:
      
      PCIe0: GPIO9
      PCIe1: GPIO10
      PCIe2: GPIO11
      
      ==USB==
      
      The board has one external USB 3.0 port at the rear. Additionally PCIe
      port 0 has a permanently enabled USB interface. PCIe slot 1 shares its
      USB interface with the rear USB port. Thus only either the rear USB port
      or the USB interface of PCIe slot 1 can be active at the same time. The
      jumper next to the rear USB port controls which one is active:
      
      open: USB on PCIe 1 is active
      closed: USB on rear USB port is active
      
      ==Power==
      
      The board can accept both, passive PoE and external power via a 2.1 mm
      barrel jack. The input voltage range is 11-32 V.
      
      =Installation=
      
      ==Prerequisites==
      
      A USB -> RS-232 Adapter and a null modem cable are required for
      installation.
      
      To install an OpenWRT image to the device two components must be built:
      
      1. A openwrt initramfs image
      2. A openwrt sysupgrade image
      
      ===initramfs & sysupgrade image===
      
      Select target devices "Mikrotik RBM33G" in
      openwrt menuconfig and build the images. This will create the images
      "openwrt-ramips-mt7621-mikrotik_rbm33g-initramfs-kernel.bin" and
      "openwrt-ramips-mt7621-mikrotik_rbm33g-squashfs-sysupgrade.bin" in the output
      directory.
      
      ==Installing==
      
      **Make sure to back up your RouterOS license in case you do ever want to
      go back to RouterOS using "/system license output" and back up the created
      license file.**
      
      Serial settings: 115200 8N1
      
      The installation is a two-step process. First the
      "openwrt-ramips-mt7621-mikrotik_rbm33g-initramfs-kernel.bin" must be booted
      via tftp:
      
      1. Set up a dhcp server that points the bootfile to tftp server serving
         the "openwrt-ramips-mt7621-mikrotik_rbm33g-initramfs-kernel.bin"
         initramfs image
      2. Connect to WAN port (left side, next to sys-LED and power indicator)
      3. Connect to serial port of board
      4. Power on board and enter RouterBOOT setup menu
      5. Set boot device to "boot over ethernet"
      6. Set boot protocol to "dhcp protocol" (can be omitted if DHCP server
         allows dynamic bootp)
      6. Save config
      7. Wait for board to boot via Ethernet
      
      On the serial port you should now be presented with the OpenWRT boot log.
      The next steps will install OpenWRT persistently.
      
      1. Copy "openwrt-ramips-mt7621-mikrotik_rbm33g-squashfs-sysupgrade.bin" to the device
         using scp.
      2. Write openwrt to flash using "sysupgrade
         openwrt-ramips-mt7621-mikrotik_rbm33g-squashfs-sysupgrade.bin"
      
      Once the flashing completes reboot the router and let it boot from flash.
      It should boot straight to OpenWRT.
      Signed-off-by: NTobias Schramm <tobleminer@gmail.com>
      1863c386
    • T
      ramips: Add lzma-loader targets · 7381ed3d
      Tobias Schramm 提交于
      Signed-off-by: NTobias Schramm <tobleminer@gmail.com>
      7381ed3d
    • T
      5529e713
    • D
      ramips: fix Newifi D1 mtd partition · 615186d4
      Deng Qingfang 提交于
      Newifi D1 has 32 MiB flash, so the firmware partition size should be 0x1fb0000
      Signed-off-by: NDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
      615186d4
    • K
      wireguard: bump to 0.0.20180620 · 0daff7fe
      Kevin Darbyshire-Bryant 提交于
      0bc4230 version: bump snapshot
      ed04799 poly1305: add missing string.h header
      cbd4e34 compat: use stabler lkml links
      caa718c ratelimiter: do not allow concurrent init and uninit
      894ddae ratelimiter: mitigate reference underflow
      0a8a62c receive: drop handshake packets if rng is not initialized
      cad9e52 noise: wait for crng before taking locks
      83c0690 netlink: maintain static_identity lock over entire private key update
      0913f1c noise: take locks for ss precomputation
      073f31a qemu: bump default kernel
      bec4c48 wg-quick: android: don't forget to free compiled regexes
      7ce2ef3 wg-quick: android: disable roaming to v6 networks when v4 is specified
      9132be4 dns-hatchet: apply resolv.conf's selinux context to new resolv.conf
      41a5747 simd: no need to restore fpu state when no preemption
      6d7f0b0 simd: encapsulate fpu amortization into nice functions
      f8b57d5 queueing: re-enable preemption periodically to lower latency
      b7b193f queueing: remove useless spinlocks on sc
      5bb62fe tools: getentropy requires 10.12
      4e9f120 chacha20poly1305: use slow crypto on -rt kernels on arm too
      
      Compiled-for: ar71xx, lantiq
      Run-tested-on: ar71xx Archer C7 v2 & lantiq HH5a
      Signed-off-by: NKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
      0daff7fe
  3. 20 6月, 2018 5 次提交
    • H
      dnsmasq: fix dnsmasq startup issue · eb568e0a
      Hans Dedecker 提交于
      Commit ecd954d5 installs specific interface triggers which rewrites the dnsmasq config
      file and restarts dnsmasq if the network interface becomes active for which a trigger
      has been installed.
      In case no dhcp sections are specified or ignore is set to 1 dnsmasq will not be started
      at startup which breaks DNS resolving.
      Fix this by ditching the BOOT check in start_service and always start dnsmasq at startup.
      Signed-off-by: NHans Dedecker <dedeckeh@gmail.com>
      eb568e0a
    • I
      ramips: add support for ELECOM WRC-1167GHBK2-S · da318f35
      INAGAKI Hiroshi 提交于
      ELECOM WRC-1167GHBK2-S is a 2.4/5 GHz band 11ac router, based on
      MediaTek MT7621A.
      
      Specification:
      
      - MT7621A (2-Cores, 4-Threads)
      - 128 MB of RAM (DDR3)
      - 16 MB of Flash (SPI)
      - 2T2R 2.4/5 GHz
        - MediaTek MT7615D
      - 5x 10/100/1000 Mbps Ethernet
      - 6x LEDs, 2x keys
      - UART header on PCB
        - Vcc, GND, TX, RX from ethernet port side
        - baudrate: 57600 bps
      
      Flash instruction using factory image:
      
      1. Rename the factory image to "wrc-1167ghbk2-s_v0.00.bin"
      2. Connect the computer to the LAN port of WRC-1167GHBK2-S
      3. Connect power cable to WRC-1167GHBK2-S and turn on it
      4. Access to "http://192.168.2.1/details.html" and open firmware
      update page ("手動更新(アップデート)")
      5. Select the factory image and click apply ("適用") button
      6. Wait ~150 seconds to complete flashing
      Signed-off-by: NINAGAKI Hiroshi <musashino.open@gmail.com>
      da318f35
    • I
      ramips: add support for I-O DATA WN-GX300GR · afe0320f
      INAGAKI Hiroshi 提交于
      I-O DATA WN-GX300GR is a 2.4 GHz band 11n router, based on MediaTek
      MT7621S.
      
      Specification:
      
      - MT7621S (1-Core, 2-Threads)
      - 64 MB of RAM
      - 8 MB of Flash (SPI)
      - 2T2R 2.4 GHz
      - 5x 10/100/1000 Mbps Ethernet
      - 2x LEDs, 4x keys (2x buttons, 1x slide switch)
      - UART header on PCB
        - Vcc, GND, TX, RX from ethernet port side
        - baudrate: 115200 bps (U-Boot, OpenWrt)
      
      Flash instruction using initramfs image:
      
      1. Connect serial cable to UART header
      2. Rename OpenWrt initramfs image for WN-GX300GR to "uImageWN-GX300GR"
      and place it in the TFTP directory
      3. Set the IP address of the computer to 192.168.99.8, connect to the
      LAN port of WN-GX300GR, and start the TFTP server on the computer
      4. Connect power cable to WN-GX300GR and turn on the router
      5. Press "1" key on the serial console to interrupt boot process on
      U-Boot, press Enter key 3 times and start firmware download via TFTP
      6. WN-GX300GR downloads initramfs image and boot with it
      7. On the initramfs image, execute "mtd erase firmware" to erase stock
      firmware and execute sysupgrade with sysupgrade image for WN-GX300GR
      8. Wait ~150 seconds to complete flasing
      Signed-off-by: NINAGAKI Hiroshi <musashino.open@gmail.com>
      afe0320f
    • I
      ipq806x: add support for NEC Aterm WG2600HP · a1373bc6
      INAGAKI Hiroshi 提交于
      NEC Aterm WG2600HP is a 2.4/5 GHz band 11ac router, based on Qualcomm
      IPQ8064.
      
      Specification:
      
      - IPQ8064 (384 - 1,400 MHz)
      - 512 MB of RAM
      - 32 MB of Flash (SPI)
      - 4T4R 2.4/5 GHz
      - 5x 10/100/1000 Mbps Ethernet
      - 12x LEDs, 4x keys
      - 1x USB 3.0 Type-A
      - UART header on PCB
        - RX, TX, NC, GND, Vcc from power connector side
        - baudrate: 115200 bps
      
      Flash instruction using initramfs image:
      1. Connect serial cable to UART header
      2. Connect power cable and turn on the router
      3. When the "Press the [f] key and hit [enter] to enter failsafe mode"
      message is displayed on the console, press the "f" key and Enter key
      sequentially to enter the failsafe mode
      4. create fw_env.config file with following contents on failsafe mode:
        /dev/mtd9 0x0 0x10000 0x10000
      5. Execute following commands to add and change the environment
      variables of U-Boot
        fw_setenv ipaddr "192.168.0.1"
        fw_setenv serverip "192.168.0.2"
        fw_setenv autostart "yes"
        fw_setenv bootcmd "tftpboot 0x44000000 wg2600hp-initramfs.bin;
        bootipq"
      6. Set the IP address of the computer to 192.168.0.2, connect to the LAN
      port of WG2600HP, and start the TFTP server on the computer
      7. Rename OpenWrt initramfs image for WG2600HP to
      "wg2600hp-initramfs.bin" and place it in the TFTP directory
      8. Remove power cable from WG2600HP, reconnect it and restart WG2600HP
      9. WG2600HP downloads initramfs image from TFTP server on the computer,
      loads it and boot with initramfs image
      10. On the initramfs image, execute "mtd erase firmware" to erase stock
      firmware and execute sysupgrade with the sysupgrade image
      11. Wait ~180 seconds to complete flashing
      Signed-off-by: NINAGAKI Hiroshi <musashino.open@gmail.com>
      a1373bc6
    • M
      ramips: mt7621: fix wireless package selection · 3a99b278
      Mathias Kresin 提交于
      Add wpad-mini if wireless drivers are included. Drop the mt76 package if
      both of the provided drivers are included with their own packages.
      Signed-off-by: NMathias Kresin <dev@kresin.me>
      3a99b278
  4. 19 6月, 2018 7 次提交
    • H
      ds-lite: make tunnel encapsulation limit support configurable (FS#1501) · 2af5cfe9
      Hans Dedecker 提交于
      Be compatible with ISPs which don't support the destination option header containing
      the tunnel encapsulation limit as reported in FS#1501.
      Setting the uci parameter encaplimit to ignore; allows to disable the insertion
      of the destination option header in the ds-lite packets.
      Otherwise the tunnel encapsulation limit value can be set to a value from 0 till 255
      by setting the encaplimit uci parameter accordingly.
      If no encaplimit value is specified the default value is 4 as before.
      Signed-off-by: NHans Dedecker <dedeckeh@gmail.com>
      2af5cfe9
    • H
      odhcp6c: make ds-lite/map tunnel encapsulation limit support configurable (FS#1501) · 3c4cf92f
      Hans Dedecker 提交于
      Be compatible with ISPs which don't support the destination option header containing
      the tunnel encapsulation limit as reported in FS#1501 for dynamic created ds-lite/map
      interfaces.
      Setting the uci parameter encaplimit_dslite/map to ignore; allows to disable the insertion
      of the destination option header for the dynamic created ds-lite/map interface.
      Otherwise the tunnel encapsulation limit value can be set to a value from 0 till 255
      by setting the encaplimit_dslite/map uci parameter accordingly.
      Signed-off-by: NHans Dedecker <dedeckeh@gmail.com>
      3c4cf92f
    • H
      netifd: update to latest git HEAD (FS#1501) · 192866d2
      Hans Dedecker 提交于
      a580028 system-linux: make encaplimit configurable for ip6 tunnels (FS#1501)
      Signed-off-by: NHans Dedecker <dedeckeh@gmail.com>
      192866d2
    • H
      map: make tunnel encapsulation limit support configurable (FS#1501) · 2369c89b
      Hans Dedecker 提交于
      Be compatible with ISPs which don't support the destination option header containing
      the tunnel encapsulation limit as reported in FS#1501.
      Setting the uci parameter encaplimit to ignore; allows to disable the insertion
      of the destination option header in the map-e packets.
      Otherwise the tunnel encapsulation limit value can be set to a value from 0 till 255
      by setting the encaplimit uci parameter accordingly.
      If no encaplimit value is specified the default value is 4 as before.
      Signed-off-by: NHans Dedecker <dedeckeh@gmail.com>
      2369c89b
    • T
      mvebu: reduce speed to gen1 for espressobin pcie · a21210fb
      Tomasz Maciej Nowak 提交于
      Since the beginning there's been an issue with initializing the Atheros
      based MiniPCIe wireless cards. Here's an example of kerenel log:
      
       OF: PCI: host bridge /soc/pcie@d0070000 ranges:
       OF: PCI:   MEM 0xe8000000..0xe8ffffff -> 0xe8000000
       OF: PCI:    IO 0xe9000000..0xe900ffff -> 0xe9000000
       advk-pcie d0070000.pcie: link up
       advk-pcie d0070000.pcie: PCI host bridge to bus 0000:00
       pci_bus 0000:00: root bus resource [bus 00-ff]
       pci_bus 0000:00: root bus resource [mem0xe8000000-0xe8ffffff]
       pci_bus 0000:00: root bus resource [io  0x0000-0xffff](bus address[0xe9000000-0xe900ffff])
       pci 0000:00:00.0: BAR 0: assigned [mem0xe8000000-0xe801ffff 64bit]
       pci 0000:00:00.0: BAR 6: assigned [mem0xe8020000-0xe802ffff pref]
       [...]
       advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x3c
       advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x44
       advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x4
       ath9k 0000:00:00.0: enabling device (0000 -> 0002)
       advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x3c
       advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0xc
       advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x4
       advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x40
       ath9k 0000:00:00.0: request_irq failed
       advk-pcie d0070000.pcie: Posted PIO Response Status: CA,0xe00 @ 0x4
       ath9k: probe of 0000:00:00.0 failed with error -22
      
      The same happens for ath5k cards, while ath10k card didn't appear at
      all (not detected):
      
       OF: PCI: host bridge /soc/pcie@d0070000 ranges:
       OF: PCI:   MEM 0xe8000000..0xe8ffffff -> 0xe8000000
       OF: PCI:    IO 0xe9000000..0xe900ffff -> 0xe9000000
       advk-pcie d0070000.pcie: link never came up
       advk-pcie d0070000.pcie: PCI host bridge to bus 0000:00
       pci_bus 0000:00: root bus resource [bus 00-ff]
       pci_bus 0000:00: root bus resource [mem0xe8000000-0xe8ffffff]
       pci_bus 0000:00: root bus resource [io  0x0000-0xffff](bus address[0xe9000000-0xe900ffff])
       advk-pcie d0070000.pcie: config read/write timed out
      
      Following the issue on esppressobin.net forum [1] the workaround seems
      to be limiting the speed of PCIe bridge to 1st generation. This fixed
      the initialisation of all tested Atheros wireless cards.
      
      The change shouldn't affect the performance for wireless cards,
      it could reduce the performance of storage controller cards but since
      OpenWrt focuses on wireless connectivity, fixing compatibility with
      wireless cards should be a priority.
      
      For the record, the iwlwifi and mt76 cards were not affected by this
      issue.
      
      1. http://espressobin.net/forums/topic/which-pcie-wlan-cards-are-supportedSigned-off-by: NTomasz Maciej Nowak <tomek_n@o2.pl>
      (cherry picked from commit 77225804)
      a21210fb
    • T
      mvebu: add fix for armada 37xx cpufreq driver · 637d10d9
      Tomasz Maciej Nowak 提交于
      Backport from stable kernel tree fixing clock leak.
      Signed-off-by: NTomasz Maciej Nowak <tomek_n@o2.pl>
      (cherry picked from commit 4ec8c8c2)
      637d10d9
    • J
      kernel: add missing softdog symbol · 747600e9
      John Crispin 提交于
      Signed-off-by: NJohn Crispin <john@phrozen.org>
      (cherry picked from commit 9c409cb4)
      747600e9