Skip to content
Snippets Groups Projects
  1. Dec 22, 2019
  2. Dec 20, 2019
    • Sungbo Eo's avatar
      ar71xx: fix MAC address setup for TL-WDR4300 board · 9b02d32e
      Sungbo Eo authored
      
      The current ethernet MAC address setup of TL-WDR4300 board is different
      from the setup of stock firmware:
      
      OpenWrt: lan = label_mac -2, wan = label_mac -2
        stock: lan = label_mac,    wan = label_mac +1
      
      This patch applies to all devices using TL-WDR4300 board:
      TL-WDR3600 v1
      TL-WDR4300 v1
      TL-WDR4300 v1 (IL)
      TL-WDR4310 v1
      Mercury MW4530R v1
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      9b02d32e
    • Sungbo Eo's avatar
      ath79: fix MAC address setup for TP-Link TL-WDR3600/TL-WDR4300 · a4260eaa
      Sungbo Eo authored
      
      The current ethernet MAC address setup of TL-WDR4300 board is different
      from the setup of stock firmware:
      
      OpenWrt: lan = label_mac -2, wan = label_mac -2
        stock: lan = label_mac,    wan = label_mac +1
      
      The full address assignment is as follows:
      LAN  label
      WAN  label + 1
      5G   label
      2G   label - 1
      
      This patch changes all devices using TL-WDR4300 board:
      TL-WDR3600 v1 (checked on device)
      TL-WDR4300 v1 (checked on device)
      TL-WDR4300 v1 (IL)
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      [rephrase/extend commit title/message]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      a4260eaa
    • David Bauer's avatar
      ipq40xx: add support for Aruba AP-303 · 102c8c55
      David Bauer authored
      
      Hardware
      --------
      
      SoC:   Qualcomm IPQ4029
      RAM:   512M DDR3
      FLASH: - 128MB NAND (Macronix MX30LF1G18AC)
             - 4MB SPI-NOR (Macronix MX25R3235F)
      TPM:   Atmel AT97SC3203
      BLE:   Texas Instruments CC2540T
             attached to ttyMSM0
      ETH:   Atheros AR8035
      LED:   WiFi (amber / green)
             System (red / green)
      BTN:   Reset
      
      To connect to the serial console, you can solder to the labled pads next
      to the USB port or use your Aruba supplied UARt adapter.
      
      Do NOT plug a standard USB cable into the Console labled USB-port!
      Aruba/HPE simply put UART on the micro-USB pins. You can solder yourself
      an adapter cable:
      
      VCC - NC
       D+ - TX
       D- - RX
      GND - GND
      
      The console setting in bootloader and OS is 9600 8N1. Voltage level is
      3.3V.
      
      To enable a full list of commands in the U-Boot "help" command, execute
      the literal "diag" command.
      
      Installation
      ------------
      
      1. Get the OpenWrt initramfs image. Rename it to ipq40xx.ari and put it
         into the TFTP server root directory. Configure the TFTP server to
         be reachable at 192.168.1.75/24. Connect the machine running the TFTP
         server to the ethernet port of the access point.
      
      2. Connect to the serial console. Interrupt autobooting by pressing
         Enter when prompted.
      
      3. Configure the bootargs and bootcmd for OpenWrt.
         $ setenv bootargs_openwrt "setenv bootargs console=ttyMSM1,9600n8"
         $ setenv nandboot_openwrt "run bootargs_openwrt; ubi part aos1;
           ubi read 0x85000000 kernel; bootm 0x85000000"
         $ setenv ramboot_openwrt "run bootargs_openwrt;
           setenv ipaddr 192.168.1.105; setenv serverip 192.168.1.75;
           netget; set fdt_high 0x87000000; bootm"
         $ setenv bootcmd "run nandboot_openwrt"
         $ saveenv
      
      4. Load OpenWrt into RAM:
         $ run ramboot_openwrt
      
      5. After OpenWrt booted, transfer the OpenWrt sysupgrade image to the
         /tmp folder on the device.
      
      6. Flash OpenWrt:
         $ ubidetach -p /dev/mtd1
         $ ubiformat /dev/mtd1
         $ sysupgrade -n /tmp/openwrt-sysupgrade.bin
      
      To go back to the stock firmware, simply reset the bootcmd in the
      bootloader to the original value:
      
        $ setenv bootcmd "boot"
        $ saveenv
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      102c8c55
    • David Bauer's avatar
      ipq-wifi: add BDF for Aruba AP-303 · 4113d8a2
      David Bauer authored
      
      The BDF originates from the vendor-firmware.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      4113d8a2
    • Sungbo Eo's avatar
      ramips: fix USB LED for Belkin F9K1109v1 · 1f455418
      Sungbo Eo authored
      
      Device support for Belkin F9K1109v1 was added using set_usb_led()
      although this was removed in 772b27c2 ("ramips: set F5D8235 v1
      usb led trigger via devicetree").
      
      Use ucidef_set_led_usbport() instead.
      
      Fixes: f2c83532 ("ramips: add support for Belkin F9K1109v1")
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      [rephrase commit title and message]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      1f455418
    • Rafał Miłecki's avatar
      fstools: update to latest git HEAD · 4ebc9dc9
      Rafał Miłecki authored
      
      111a43f libblkid-tiny: vfat: Change parsing label in special cases
      f43a1aa libblkid-tiny: vfat: Fix reading labels which starts with byte 0x05
      157924d libblkid-tiny: add blkid_probe_set_id_label() stub
      0c5761f libblkid-tiny: use separated buffer for each block device read
      b82c5c1 libblkid-tiny: add functions for allocating & freeing probe struct
      12851d6 blockd: don't flush devices list on "hotplug" call
      5ea47fe blockd: fix vlist memory corruption
      
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      4ebc9dc9
    • Adrian Schmutzler's avatar
      sunxi: rename SUNXI_SOC to SOC · b085e058
      Adrian Schmutzler authored
      
      This replaces SUNXI_SOC by the newly introduced common SOC device
      variable.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      b085e058
    • Adrian Schmutzler's avatar
      ramips: rename MTK_SOC to SOC · 58e71e32
      Adrian Schmutzler authored
      
      This replaces MTK_SOC by the newly introduced common SOC device
      variable.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      58e71e32
    • Adrian Schmutzler's avatar
      ath79: rename ATH_SOC to SOC · 95030ac0
      Adrian Schmutzler authored
      
      This replaces ATH_SOC by the newly introduced common SOC device
      variable.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      95030ac0
    • Adrian Schmutzler's avatar
      build: image: add SOC device variable · bc3783d2
      Adrian Schmutzler authored
      
      This creates the device variable SOC and adds it to DEFAULT_DEVICE_VARS.
      
      It is supposed to replace target-specific SOC variables like ATH_SOC or
      MTK_SOC and thus unify variable names across targets.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      bc3783d2
  3. Dec 19, 2019
Loading