openwrt/target/linux
Felix Matouschek 1cc3b95efc ipq40xx: Add support for Teltonika RUTX10
This patch adds support for the Teltonika RUTX10.
This device is an industrial DIN-rail router with 4 ethernet ports,
2.4G/5G dualband WiFi, Bluetooth, a USB 2.0 port and two GPIOs.

The RUTX series devices are very similiar so common parts of the DTS
are kept in a DTSI file. They are based on the QCA AP-DK01.1-C1 dev
board.

See https://teltonika-networks.com/product/rutx10 for more info.

Hardware:
  SoC:                 Qualcomm IPQ4018
  RAM:                 256MB DDR3
  SPI Flash 1:         XTX XT25F128B (16MB, NOR)
  SPI Flash 2:         XTX XT26G02AWS (256MB, NAND)
  Ethernet:            Built-in IPQ4018 (SoC, QCA8075), 4x 10/100/1000 ports
  WiFi 1:              Qualcomm QCA4019 IEEE 802.11b/g/n
  Wifi 2:              Qualcomm QCA4019 IEEE 802.11a/n/ac
  USB Hub:             Genesys Logic GL852GT
  Bluetooth:           Qualcomm CSR8510 (A10U)
  LED/GPIO controller: STM32F030 with custom firmware
  Buttons:             Reset button
  Leds:                Power (green, cannot be controlled)
                       WiFi 2.4G activity (green)
                       WiFi 5G activity (green)

MACs Details verified with the stock firmware:
   eth0:             Partition 0:CONFIG Offset: 0x0
   eth1:             = eth0 + 1
   radio0 (2.4 GHz): = eth0 + 2
   radio1 (5.0 GHz): = eth0 + 3
Label MAC address is from eth0.

The LED/GPIO controller needs a separate kernel driver to function.
The driver was extracted from the Teltonika GPL sources and can be
found at following feed: https://github.com/0xFelix/teltonika-rutx-openwrt

USB detection of the bluetooth interface is sometimes a bit flaky. When
not detected power cycle the device. When the bluetooth interface was
detected properly it can be used with bluez / bluetoothctl.

Flash instructions via stock web interface (sysupgrade based):
  1. Set PC to fixed ip address 192.168.1.100
  2. Push reset button and power on the device
  3. Open u-boot HTTP recovery at http://192.168.1.1
  4. Upload latest stock firmware and wait until the device is rebooted
  5. Open stock web interface at http://192.168.1.1
  6. Set some password so the web interface is happy
  7. Go to firmware upgrade settings
  8. Choose
     openwrt-ipq40xx-generic-teltonika_rutx10-squashfs-nand-factory.ubi
  9. Set 'Keep settings' to off
  10. Click update, when warned that it is not a signed image proceed

Return to stock firmware:
  1. Set PC to fixed ip address 192.168.1.100
  2. Push reset button and power on the device
  3. Open u-boot HTTP recovery at http://192.168.1.1
  4. Upload latest stock firmware and wait until the device is rebooted

Note: The DTS expects OpenWrt to be running from the second rootfs
partition. u-boot on these devices hot-patches the DTS so running from the
first rootfs partition should also be possible. If you want to be save follow
the instructions above. u-boot HTTP recovery restores the device so that when
flashing OpenWrt from stock firmware it is flashed to the second rootfs
partition and the DTS matches.

Signed-off-by: Felix Matouschek <felix@matouschek.org>
2021-11-28 18:39:01 +01:00
..
apm821xx kernel: bump 5.4 to 5.4.161 2021-11-28 16:32:45 +01:00
arc770 kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
archs38 archs38: update kernel version to 5.10 2021-11-07 17:12:10 +01:00
armvirt armvirt: enable MMIO_CMDLINE_DEVICES for firecracker support 2021-10-12 19:22:08 -10:00
at91 kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
ath25 kernel: bump 5.4 to 5.4.154 2021-10-21 00:17:36 +02:00
ath79 kernel: bump 5.4 to 5.4.161 2021-11-28 16:32:45 +01:00
bcm27xx kernel: bump 5.10 to 5.10.80 2021-11-19 09:40:29 +00:00
bcm47xx bcm47xx: switch to kernel 5.10 2021-11-08 15:56:39 +01:00
bcm53xx kernel: bump 5.10 to 5.10.82 2021-11-27 19:19:30 +01:00
bcm63xx kernel: bump 5.4 to 5.4.162 2021-11-28 16:32:45 +01:00
bcm4908 bcm4908: build chk image for Netgear RAXE500 2021-11-19 14:49:18 +01:00
bmips kernel: bump 5.10 to 5.10.74 2021-10-21 00:17:36 +02:00
gemini gemini: try fis-index-block with 128 KiB sectors 2021-11-28 01:13:08 +01:00
generic kernel: bump 5.4 to 5.4.162 2021-11-28 16:32:45 +01:00
imx imx: remove obsolete Kernel 5.4 2021-11-03 12:45:40 +01:00
ipq40xx ipq40xx: Add support for Teltonika RUTX10 2021-11-28 18:39:01 +01:00
ipq806x ipq806x: add support for Cisco Meraki MR42/MR52 2021-11-28 17:51:52 +01:00
ipq807x kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-09 20:24:12 +02:00
kirkwood kirkwood: switch to kernel 5.10 2021-10-09 18:44:55 +02:00
lantiq lantiq: set maximum kernel size for P2812HNUF3 2021-11-27 21:45:06 +01:00
layerscape kernel: bump 5.4 to 5.4.162 2021-11-28 16:32:45 +01:00
malta malta: remove obsolete Kernel 5.4 2021-10-02 18:13:46 +02:00
mediatek mediatek/mt7622: unifi-6-lr: fix ucidef network configuration typo 2021-11-19 18:23:25 +00:00
mpc85xx mpc85xx: backport "fix oops when CONFIG_FSL_PMC=n" 2021-11-28 01:13:01 +01:00
mvebu kernel: bump 5.10 to 5.10.81 2021-11-27 19:19:11 +01:00
mxs mxs: drop kernel 5.4 support 2021-11-14 23:32:51 +01:00
octeon octeon: add USB3 support (for Ubiquiti EdgeRouter 6P) 2021-11-20 20:54:26 +01:00
octeontx kernel: bump 5.4 to 5.4.161 2021-11-28 16:32:45 +01:00
omap omap: switch to kernel 5.10 2021-11-20 21:08:25 +01:00
oxnas kernel: bump 5.10 to 5.10.81 2021-11-27 19:19:11 +01:00
pistachio pistachio: drop Kernel 5.4 support 2021-11-07 18:32:21 +01:00
ramips kernel: bump 5.4 to 5.4.162 2021-11-28 16:32:45 +01:00
realtek kernel: bump 5.4 to 5.4.162 2021-11-28 16:32:45 +01:00
rockchip rockchip: move r8152 related patches to generic 2021-10-30 21:17:20 +02:00
sunxi sunxi: build kernel with sun6i-rtc driver 2021-11-21 21:37:56 +00:00
tegra tegra: switch to kernel 5.10 2021-10-18 21:32:36 +02:00
uml uml: add Kernel 5.10 support via testing 2021-11-02 10:04:50 -10:00
x86 x86: sort alphabetically default packages 2021-11-06 23:36:32 +01:00
zynq kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00