Skip to content
Branch: musashino
Commits on Jul 16, 2019
  1. ramips: add support for ELECOM WRC-1167GHBK2-I

    musashino205 committed Jan 30, 2019
    There is no plan to submit a PR to openwrt/openwrt.
    WRC-1167GHBK2-I does not have a device specific MAC address in the
    eeprom for MT7612E in "Factory" partition.
  2. ramips: Add support for I-O DATA WN-G300DGR

    musashino205 committed Nov 23, 2017
    IODATA WN-G300DGR is a 2.4GHz band 11n router, based on Ralink RT3052F.
    - RT3052F (384 MHz)
    - 32 MB of RAM (SDRAM)
    - 4 MB of FLASH (CFI)
    - 2T2R 2.4 GHz
    - 4x 10/100/1000 Mbps Ethernet (Realtek RTL8366RB)
    - 5x LED, 3x button
    - UART header on PCB
    Flash instruction using U-Boot TFTP:
    1. Connect the UART pin on WN-G300DGR (CN1, Vcc/GND/TX/RX from caret) with PC
    2. Set PC to fixed ip address
    3. Download lede-ramips-rt305x-wn-g300dgr-squashfs-sysupgrade.bin and
    rename it to uImageWN-G300DGR
    4. Start a tftp server with the file uImageWN-G300DGR in its root
    5. Turn off the router
    6. Turn on router and repeatedly press "2" key on the UART console
    7. When entering tftp mode, press keys "y", "Enter", "Enter", "Enter"
    8. After a short time, the firmware should be transferred from the tftp
    9. Wait ~60 second to complete flash
    Signed-off-by: INAGAKI Hiroshi <>
  3. general: add

    musashino205 committed Mar 18, 2018
  4. ramips: Remove left-over mistyped device string from 02_network

    adrianschmutzler authored and 981213 committed Jul 15, 2019
    In 2011 (!), network setup for nexaira,bc2 was moved to network
    defaults script with a typo so it became b2c:
    295e040 ("ramips: setup bc2 mac addresses from the generic network script")
    This patch just removes the useless entry without replacement,
    since it seems to have worked for 8 years anyway.
    Signed-off-by: Adrian Schmutzler <>
  5. ath79: add wmac migration for all ar93xx/qca95xx SoCs

    981213 committed Jun 21, 2019
    Add migration for all ar71xx device path as well as previously
    incorrect ath79 path.
    Signed-off-by: Chuanhong Guo <>
  6. ath79: ar93xx/qca95xx: move gmac/wmac/pcie node out of apb bus

    981213 committed Jun 21, 2019
    according to functional block diagram in datasheet, these devices
    don't belong to apb bus.
    Move these nodes out to match datasheet description.
    Signed-off-by: Chuanhong Guo <>
  7. ath79: add support for Qihoo C301

    981213 committed Jul 15, 2019
    - SoC: AR9344
    - RAM: 128MB
    - Flash: 2 * 16MB (MX25L12845)
    - Ethernet: 2 * FE LAN & 1 * FE WAN
    - WiFi: 2.4G: AR9344 5G: QCA9882
    Flash instruction:
    1. Hold reset and power up the router
    2. Set your IP to 192.168.1.x
    3. Open and upload the generated *factory* firmware
    Signed-off-by: Chuanhong Guo <>
  8. ramips: mtk-mmc: mt76x8: check ESD_MODE before applying AGPIO_CFG

    981213 committed Jul 13, 2019
    Since mt76x8an ver1 eco2, SDXC pins can be switched to the
    following pinmap:
    sd_d1  -> PAD_I2S_SDI
    sd_d0  -> PAD_I2S_WS
    sd_cmd -> PAD_I2S_CLK
    sd_d3  -> PAD_I2C_SCLK
    sd_d2  -> PAD_I2C_SD
    sd_clk -> PAD_GPIO0
    sd_wp  -> PAD_TXD1
    sd_cd  -> PAD_RXD1
    To use this pinmap, one would need to set ESD_MODE bit (bit 15)
    to 1 in GPIO1_MODE and switch other used pads into GPIO mode.
    In this mode, we don't need to switch ethernet pins to digital
    Check ESD_MODE bit before applying AGPIO_CFG and use rt_sysc_m32
    to set it.
    Signed-off-by: Chuanhong Guo <>
Commits on Jul 15, 2019
  1. mpc85xx: split up DEVICE_TITLE

    mwarning authored and blocktrron committed Jul 14, 2019
    Signed-off-by: Moritz Warning <>
  2. libroxml: bump to the 3.0.2 version

    Rafał Miłecki
    Rafał Miłecki committed Jul 14, 2019
    * Fix for memory leak regression
    * Support for (un)escaping
    Signed-off-by: Rafał Miłecki <>
  3. target/toolchain/files/ simplify 'case'

    cotequeiroz authored and dangowrt committed Jul 15, 2019
    Removed an eglibc remnant, and while at it, grouped all of the
    TOOLCHAIN_PLATFORMs using the same FLAGS together.
    Signed-off-by: Eneas U de Queiroz <>
  4. libs/toolchain: remove eglibc remnant file

    cotequeiroz authored and dangowrt committed Jul 15, 2019
    This removes package/libs/toolchain/eglibc-files/etc/nsswitch.conf.
    Signed-off-by: Eneas U de Queiroz <>
  5. tegra: split up DEVICE_TITLE

    mwarning authored and dangowrt committed Jul 14, 2019
    Signed-off-by: Moritz Warning <>
  6. ubox: implement service_running() in log init.d script

    Rafał Miłecki
    Rafał Miłecki committed Jul 3, 2019
    It allows checking if service is running.
    Signed-off-by: Rafał Miłecki <>
  7. rpcd: implement service_running() in init.d script

    Rafał Miłecki
    Rafał Miłecki committed Jul 3, 2019
    It allows checking if service is running.
    Signed-off-by: Rafał Miłecki <>
Commits on Jul 14, 2019
  1. fstools: add direct dependencies on libblobmsg-json and libjson-c

    ynezz committed Jul 14, 2019
    The OpenWrt buildroot ABI version rebuild tracker does not handle
    transient dependencies, therefore add all libraries linked by
    block-mount and blockd as direct dependencies to the corresponding
    binary package definition.
    This ensures that block-mount and blockd is automatically rebuilt and
    relinked if any of these libraries has its ABI_VERSION updated in the
    Fixes: FS#2373
    [jow: similar fix for procd and 98.42% of commit message]
    Signed-off-by: Jo-Philip Wich <>
    Signed-off-by: Petr Štetiar <>
  2. ath79: add support for devolo WiFi pro 1750x

    blocktrron committed Jun 11, 2019
    CPU:   Qualcomm Atheros QCA9558
    RAM:   128M DDR2
    FLASH: 16MiB
    ETH:   1x Atheros AR8035 (PoE in)
    WiFi2: QCA9558 3T3R
    WiFi5: QCA9880 3T3R
    BTN:   1x Reset
    LED:   1x LED Power (non-controllable)
           1x LED Status (internal)
           1x LED LAN (controlled by PHY)
           1x LED WLAN
    BEEP:  1x GPIO attached piezo beeper
    UART:  3.3V GND TX RX (115200-N-8) (3.3V is square pad)
           Header is located next to external-LED header.
    Make sure you set a password for the root user as prompted on first
    1. Upload OpenWRT sysupgrade image via SSH to the device.
    Use /tmp as the destination folder on the device.
    User is root, password the one set in the web interface.
    2. Install OpenWRT with
    > sysupgrade -n -F /tmp/<openwrt-image-name>
    Signed-off-by: David Bauer <>
  3. gemini: Stop enforcing command line

    linusw authored and chunkeey committed Jul 10, 2019
    The command line enforced by the kernel is harmful, we want to
    use the command line passed from the device tree. This is
    especially important for the SQ201, Teltonika RUT and WBD111
    which has a console set to 115200n8 and not 19200n8 like all
    the others, so their consoles will be confusingly changing
    baudrate between boot loader and kernel. The setting in the
    device tree corresponds to what the boot loader is using.
    Signed-off-by: Linus Walleij <>
  4. gpio-button-hotplug: unify polled and interrupt code

    blocktrron authored and chunkeey committed Jul 2, 2019
    This patch unifies the polled and interrupt-driven gpio_keys code
    paths as well implements consistent handling of the debounce
    interval set for the GPIO buttons and switches.
    Hotplug events will only be fired if
    1. The input changes its state and remains stable for the duration
       of the debounce interval (default is 5 ms).
    2. In the initial stable (no state-change for duration of the
       debounce interval) state once the driver module gets loaded.
       Switch type inputs will always report their stable state.
       Unpressed buttons will not trigger an event for the initial
       stable state. Whereas pressed buttons will trigger an event.
       This is consistent with upstream's gpio-key driver that uses
       the input subsystem (and dont use autorepeat).
    Prior to this patch, this was handled inconsistently for interrupt-based
    an polled gpio-keys. Hence this patch unifies the shared logic into the
    gpio_keys_handle_button() function and modify both implementations to
    handle the initial state properly.
    The changes described in 2. ) . can have an impact on the
    failsafe trigger. Up until now, the script checked for button
    state changes. On the down side, this allowed to trigger the
    failsafe by releasing a held button at the right time. On the
    plus side, the button's polarity setting didn't matter.
    Now, the failsafe will only engage when a button was pressed
    at the right moment (same as before), but now it can
    theoretically also trigger when the button was pressed the
    whole time the kernel booted and well into the fast-blinking
    preinit phase. However, the chances that this can happen are
    really small. This is because the gpio-button module is usually
    up and ready even before the preinit state is entered. So, the
    initial pressed button event gets lost and most devices behave
    as before.
    Bisectors: If this patch causes a device to permanently go into
    failsafe or experience weird behavior due to inputs, please
    check the following:
     - the GPIO polarity setting for the button
     - the software-debounce value
    Run-tested for 'gpio-keys' and 'gpio-keys-polled' on
     - devolo WiFi pro 1200e
     - devolo WiFi pro 1750c
     - devolo WiFi pro 1750x
     - Netgear WNDR4700
     - Meraki MR24
     - RT-AC58U
    Signed-off-by: David Bauer <>
    Signed-off-by: Christian Lamparter <> [further
    cleanups, simplification and unification]
  5. brcm2708: Add Raspberry Pi 4 support

    Noltari committed Jul 13, 2019
    - Support added to bcm2709 subtarget (32 bit).
    - 64 bit kernel still requires many hacks on RPi 4B.
    Signed-off-by: Álvaro Fernández Rojas <>
  6. brcm2708: switch to linux-firmware SDIO NVRAM

    Noltari committed Jul 13, 2019
    Signed-off-by: Álvaro Fernández Rojas <>
  7. linux-firmware: add RPi SDIO NVRAM packages

    Noltari committed Jul 13, 2019
    Signed-off-by: Álvaro Fernández Rojas <>
  8. brcm2708-gpu-fw: add support for Raspberry Pi 4

    Noltari committed Jul 9, 2019
    Signed-off-by: Álvaro Fernández Rojas <>
  9. brcm2708: add linux 4.19 support

    Noltari committed Jul 9, 2019
    Boot tested on Raspberry Pi B+ (BCM2708) and Raspberry Pi 2 (BCM2709)
    Signed-off-by: Álvaro Fernández Rojas <>
Commits on Jul 13, 2019
  1. mt76: revert an accidental leftover debug change

    nbd168 committed Jul 13, 2019
    Signed-off-by: Felix Fietkau <>
  2. procd: update to latest git HEAD

    dedeckeh committed Jul 13, 2019
    31f0765 procd: check strchr() result before using it
    Signed-off-by: Hans Dedecker <>
Commits on Jul 12, 2019
  1. mt76: update to the latest version

    nbd168 committed Jul 12, 2019
    8fc3e6e mt76: mt7615: fix using VHT STBC rates
    b21b991 mt76: mt7615: fix PS buffering of action frames
    3d43dd8 mt76: mt7615: fix invalid fallback rates
    0ce4682 mt76: mt7603: fix invalid fallback rates
    3b08966 Revert "mt76: usb: use full intermediate buffer in mt76u_copy"
    48800e7 Revert "mt76: usb: remove unneeded {put,get}_unaligned"
    439354d Revert "mt76: usb: fix endian in mt76u_copy"
    8c1da93 mt76: usb: fix endian in mt76u_copy
    307be50 mt76: usb: remove unneeded {put,get}_unaligned
    5d29829 mt76: mt76x02: use params->ssn value directly
    f74d117 mt76: mt7603: use params->ssn value directly
    649f2e8 mt76: mt7615: use params->ssn value directly
    b647180 mt76: mt7615: unlock dfs bands
    Signed-off-by: Felix Fietkau <>
Commits on Jul 11, 2019
  1. mac80211: Do not build b43legacy on BRCM47xx mips74 subtarget

    hauke committed Jul 11, 2019
    b43legacy needs ssb support and we do not compile the mips74 subtarget
    of the brcm47xx target with SSB support. This causes a build failure in
    the mac80211 package and only some of the kernel modules are being
    I am not aware of any device with a BRCM47xx mips74 CPU which uses a
    b43legacy compatible device.
    Fixes: FS#2334
    Signed-off-by: Hauke Mehrtens <>
  2. ramips: add support for ASUS RT-AC57U

    blocktrron committed Jul 11, 2019
    SoC:   MediaTek MT7621AT
    RAM:   128M (Winbond W631GG6KB-15)
    FLASH: 16MB (Spansion S25FL128SA)
    WiFi:  MediaTek MT7603EN bgn 2SS
    WiFi:  MediaTek MT7612EN nac 2SS
    BTN:   Reset - WPS
    LED:    - Power
            - LAN {1-4}
            - WAN
            - WiFi 2.4 GHz
            - WiFi 5 GHz
            - USB
    UART:  UART is present next to the Power LED.
           TX - RX - GND - 3V3 / 57600-8N1
           3V3 is the nearest one to the Power LED.
    Via TFTP:
    1. Set your computers IP-Address to
    2. Power up the Router with the Reset button pressed.
    3. Release the Reset button after 5 seconds.
    4. Upload OpenWRT sysupgrade image via TFTP:
     > tftp -4 -v -m binary -c put <IMAGE>
    Via SSH:
    Note: User/password for SSH is identical with the one used in the
    1. Complete the initial setup wizard.
    2. Activate SSH under "Administration" -> "System".
    3. Transfer the OpenWrt sysupgrade image via scp:
     > scp owrt.bin admin@
    4. Connect via SSH to the router.
     > ssh admin@
    5. Write the OpenWrt image to flash.
     > mtd-write -i /tmp/owrt.bin -d linux
    6. Reboot the router
     > reboot
    Signed-off-by: David Bauer <>
  3. lua5.3: build shared library

    cwluxul authored and Rafał Miłecki committed Jul 2, 2019
    Update the lua5.3 package to build a shared object just like the old lua
    package. Ported / recreated the same patch number as the other lua
    package. Built and tested library / interpreter on BCM5301X.
    Signed-off-by: Colby Whitney <>
  4. ramips: fix mqmaker witi case in fixup-mac-address

    981213 committed Jul 11, 2019
    This commit fixes a forgotten case in previous commit.
    Fixes: 087e14a ("ramips: mt7621: merge two variants of MQmaker WiTi together")
    Signed-off-by: Chuanhong Guo <>
You can’t perform that action at this time.