openwrt-mirror/target/linux
Shiji Yang b37f3def86 ipq40xx: add support for SKSpruce WIA3300-20
Specification
-------------
- SoC       : Qualcomm IPQ4019
- RAM       : 256 MiB DDR3 (NT5CC128M16JR-EK)
- Flash     : 64 MiB SPI NOR (Winbond W25Q512JVFQ)
- WLAN      : IPQ4019 built-in
  - 2.4 GHz : 2x2 MIMO WiFi4
  - 5 GHz   : 2x2 MIMO WiFi5
- Ethernet  : QCA8075 10/100/1000 Mbps 1x WAN (ETH1, PoE); 1x LAN (ETH2)
- USB       : 1x 2.0 Type-A
- UART      : 3.3V, 115200n8
- Buttons   : 1x Reset
- LEDs      : 1x RUN (lime & red)
              1x WiFi 2.4 GHz (lime)
              1x WiFi 5 GHz (lime)
              2x ETH (lime), controlled by the QCA8075 phy
- Power     : DC 12V & 802.3at PoE
- FCC ID    : 2AHKT-WIA3300-20
- TFTP IP   :
  - client  : 192.168.18.254
  - router  : 192.168.18.1

Installation
------------
1. Open uart console and start TFTP server. Copy initramfs image to
   the TFTP root directory and rename it to 'ipqinitramfs.bin'.
2. Power on and press 'Enter' to exit to the u-boot console according
   to the TTL log prompt.
3. Execute commands to load the initramfs image:
   tftpboot && bootm
4. Enter into OpenWrt to backup the partitions if you want to restore
   the stock firmware one day.
5. Override default 'bootcmd' environment variable in u-boot console:
   env set bootcmd 'sf probe && sf read $loadaddr 0x980000 0x800000 && bootm $loadaddr'
   env save
6. Repeat step 3 and flash 'sysupgrade' image in OpenWrt.

Recovery and return to stock
----------------------------
1. Restore the backup firmware partitions in the installation step 4.
2. Restore `bootcmd` environment variable via commands:
   env set bootcmd bootipq && env save

MAC addresses
-------------
+---------+-------------------+
|         | MAC example       |
+---------+-------------------+
| LABEL   | xx:xx:xx:xx:xx:25 |
| LAN     | xx:xx:xx:xx:xx:26 |
| WAN     | xx:xx:xx:xx:xx:25 |
| WLAN 2g | xx:xx:xx:xx:xx:28 |
| WLAN 5g | xx:xx:xx:xx:xx:29 |
+---------+-------------------+

Notice
-----------
1. Some CH340 USB-TTL module doesn't work on this device.
2. The 'firmware' partition consists of four parts in the vendor
   layout:
     * Name            Start           Size
     * rootfs          0x980000        0x1680000
     * 0:HLOS1         0x2000000       0x800000
     * rootfs_1        0x2800000       0x1400000
     * rootfs_data     0x3c00000       0x350000
3. User can control the USB power supply via commands:
   echo enabled > /sys/devices/platform/output-usb-power/state
   echo disabled > /sys/devices/platform/output-usb-power/state

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16476
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-10-08 19:33:33 +02:00
..
airoha airoha: drop kernel 6.1 support 2024-06-05 09:34:06 +02:00
apm821xx gemini: apm821xx: Ignore return value of e2fsck 2024-10-06 03:46:45 +02:00
archs38 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
armsr packages: remove remnants of kernels below 6.6 2024-09-21 13:03:49 +02:00
at91 at91: drop 6.1 support 2024-09-20 18:42:56 +01:00
ath79 generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00
bcm27xx kernel: bump 6.6 to 6.6.54 2024-10-05 12:43:51 +02:00
bcm47xx generic: 6.6: add backported bmips CBR patches 2024-08-06 14:06:09 +02:00
bcm53xx kernel: bump 6.6 to 6.6.54 2024-10-05 12:43:51 +02:00
bcm4908 bcm4908: drop 6.1 support 2024-08-30 11:39:44 +02:00
bmips bmips: fix kernel panic caused by missing CBR address 2024-10-01 19:15:45 +02:00
d1 d1: drop 6.1 support 2024-05-29 17:56:28 +02:00
gemini gemini: apm821xx: Ignore return value of e2fsck 2024-10-06 03:46:45 +02:00
generic generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00
imx kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
ipq40xx ipq40xx: add support for SKSpruce WIA3300-20 2024-10-08 19:33:33 +02:00
ipq806x treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
ixp4xx ixp4xx: Add back support for D-Link DSM G600 A 2024-05-25 09:17:19 +02:00
kirkwood kirkwood: remove left-over files-6.1 folder 2024-09-20 18:57:33 +01:00
lantiq lantiq: backport latest upstream patches 2024-10-01 23:47:06 +02:00
layerscape layerscape: remove left-over config-6.1 files 2024-09-20 18:57:33 +01:00
loongarch64 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
malta kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
mediatek mediatek: fix wrong compatible string 2024-10-06 21:56:04 +02:00
mpc85xx mpc85xx: add static to init functions 2024-09-07 22:24:07 +02:00
mvebu generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00
mxs mxs: drop 6.1 support 2024-04-25 14:33:22 +02:00
octeon octeon: set Linux 6.6 as the default kernel 2024-09-09 18:24:34 +02:00
omap omap: remove 6.1 support 2024-09-16 00:19:49 +02:00
pistachio pistachio: drop files for Linux 6.1 2024-09-20 18:57:33 +01:00
qoriq qoriq: drop 6.1 support 2024-09-20 18:51:06 +01:00
qualcommax ipq807x: sax1v1k: fix sysupgrade not touching rootfs_data 2024-09-24 00:07:55 +02:00
ramips generic: platform/mikrotik: add wlan lz77 decompress 2024-10-08 10:45:58 +02:00
realtek realtek: add support for Linksys LGS310C 2024-10-02 20:15:21 +02:00
rockchip rockchip: config-6.6: remove CONFIG_FORTIFY_SOURCE 2024-10-05 12:52:33 +02:00
sifiveu kernel: bump 6.6 to 6.6.51 2024-09-15 16:32:48 +02:00
siflower siflower: new target for Siflower SF19A2890 2024-09-17 22:16:41 +08:00
starfive kernel: bump 6.6 to 6.6.54 2024-10-05 12:43:51 +02:00
sunxi kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
tegra tegra: promote kernel 6.6 as default 2024-07-13 14:29:16 +02:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 x86: generic: config-6.6: refresh config 2024-10-03 16:51:03 +02:00
zynq zynq: drop 6.1 support 2024-08-03 11:36:59 +02:00
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00