1. 18 Jun, 2018 8 commits
  2. 17 Jun, 2018 3 commits
  3. 16 Jun, 2018 10 commits
    • Johann Neuhauser's avatar
      ath79: clean up led config script files for all devices · 14cb0590
      Johann Neuhauser authored
      1. Move all status led definitions out of diag.sh into device dt
         as we use here a generic script hook.
      2. Encode "phy0ptp" led trigger in dt of device for all ath79 devices.
      Signed-off-by: default avatarJohann Neuhauser <johann@it-neuhauser.de>
    • Hannu Nyman's avatar
      ath79: fix WNDR3800 support · 25ea21d7
      Hannu Nyman authored
      Fixes for WNDR3800 DTS:
      * fix bootcmd
      * name art partition to reference it for MACs
      * format firmware partition's address similarly as others
      * make u-boot-env read-only like in ar71xx
      * read wan and lan MACs from art
      * fix LED and button gpio values to match ar71xx
        (orange/green powerLED, reset button)
      * enable power LED in dts by alias led-status
      * define USB LED triggers and connect to USB port
      * change wifi button to KEY_RFKILL like in ar71xx
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
    • Johann Neuhauser's avatar
      ath79: led-resets: add default-trigger property · 10f88232
      Johann Neuhauser authored
      Add support for the common led property "linux,default-trigger". It
      allows to set a default led trigger via devicetree.
      Signed-off-by: default avatarJohann Neuhauser <johann@it-neuhauser.de>
      [add commit message]
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
    • Lucian Cristian's avatar
      ath79: fix usb led on wr-1043nd-v1 · f7a220b2
      Lucian Cristian authored
      usb port was not triggered correctly
      also remove uneded wifi led trigger from the script
      Signed-off-by: default avatarLucian Cristian <lucian.cristian@gmail.com>
    • Alex Maclean's avatar
      ath79: fixup TL-WR703N/TL-MR10U split · ab5b3598
      Alex Maclean authored
      Readd SoC compatible strings and correct model names mangled in
      , cleanup dts to remove
      duplication, rename dtsi for clarity, use correct GPIO for TL-MR10U
      USB power.
      Tested only on TL-WR703N due to lack of a TL-MR10U.
      Signed-off-by: default avatarAlex Maclean <monkeh@monkeh.net>
    • Zoltan HERPAI's avatar
      tools: build squashfs (v3) for ath79 · 3e0489dc
      Zoltan HERPAI authored
      Certain Netgear and AVM devices use BE squashfs for the kernel image. As
      squashfs4 only supports creating LE images, add squashfs (v3) into
      the tools to be built for ath79.
      Trying to use an LE squashfs (thus trying to use squashfs4 only for
      building the image) for the kernel image results in the bootloader
      barfing and stopping.
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      Signed-off-by: default avatarZoltan HERPAI <wigyori@uid0.hu>
    • Maxim Anisimov's avatar
      ramips: add support for TP-Link TL-WR842N v5 · 8956eb50
      Maxim Anisimov authored
      TP-Link TL-WR842N v5 are simple N300 router with 5-port FE switch and
      non-detachable antennas. Its very similar to TP-Link TL-MR3420 V5.
      - MT7628N/N (580 MHz)
      - 64 MB of RAM (DDR2)
      - 8 MB of FLASH
      - 2T2R 2.4 GHz
      - 5x 10/100 Mbps Ethernet
      - 2x external, non-detachable antennas
      - USB 2.0 Port
      - UART (J1) header on PCB (115200 8n1)
      - 7x LED, 2x button, power input switch
      Flash instruction:
      The only way to flash OpenWrt image in wr842nv5 is to use
      tftp recovery mode in U-Boot:
      1. Configure PC with static IP and tftp server.
      2. Rename "lede-ramips-mt7628-tplink_tl-wr842n-v5-squashfs-tftp-recovery.bin"
         to "tp_recovery.bin" and place it in tftp server directory.
      3. Connect PC with one of LAN ports, press the reset button, power up
         the router and keep button pressed for around 6-7 seconds, until
         device starts downloading the file.
      4. Router will download file from server, write it to flash and reboot.
      Signed-off-by: default avatarMaxim Anisimov <maxim.anisimov.ua@gmail.com>
    • David Bauer's avatar
      ramips: use phytpt trigger for mt76 wireless · 82fa7b9d
      David Bauer authored
      With this change, the LED trigger is independent from the (wireless)
      netdev name. The (wireless) netdev name can be easiliy changed in
      OpenWrt and would require an update of the netdev trigger settings each
      time it is done.
      This change is (for now) applied only to MT7628 devices from TP-Link, as
      we only had the possibility to test this change against two of those
      devices, namely a TL-WR841 v13 and a Archer C50 v3.
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
    • lbzhung's avatar
      ramips: fix mt7688 watchdog register base addr · 291e34ed
      lbzhung authored
      I found mt7688 watchdog not working. The watchdog registers are identical
      for mt7621 and mt7628/mt7688. The first watchdog related register is at
      0x10000100, the last one - a 16bit sized - at 0x10000128.
      Set the correct register address and size in the dtsi file to get the
      watchdog working.
      Signed-off-by: default avatarlbzhung <gewalalb@gmail.com>
      [add commit message]
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
    • Mathias Kresin's avatar
      ramips: mt7621: fix mtu setting with kernel 4.14 · 5da2c68d
      Mathias Kresin authored
      Since kernel 4.10 commit 61e84623ace3 ("net: centralize net_device
      min/max MTU checking"), the range of mtu is [min_mtu, max_mtu], which
      is [68, 1500] by default.
      It's necessary to set a max_mtu if a mtu > 1500 is supported.
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
  4. 15 Jun, 2018 6 commits
  5. 14 Jun, 2018 10 commits
  6. 13 Jun, 2018 3 commits