openwrt/target/linux/ipq40xx/patches-5.10
Pawel Dembicki a91ab8bc05 ipq40xx: add support for ZTE MF286D
ZTE MF286D is a LTE router with four gigabit ethernet ports
and integrated QMI mPCIE modem.

Hardware specification:

  - CPU: IPQ4019
  - RAM: 256MB
  - Flash: NAND 128MB + NOR 2MB
  - WLAN1:  Qualcomm Atheros QCA4019 2.4GHz 802.11bgn 2x2:2
  - WLAN2:  Qualcomm Atheros QCA4019 5GHz 802.11anac 2x2:2
  - LTE: mPCIe cat 12 card (Modem chipset MDM9250)
  - LAN: 4 Gigabit Ports
  - USB: 1x USB2.0 (regular port). 1x USB3.0 (mpcie - used by the modem)
  - Serial console: X8 connector 115200 8n1

Known issues:

  - Many LEDs are driven by the modem. Only internal LEDs and wifi LEDs
    are driven by cpu.
  - Wifi LED is triggered by phy0tpt only
  - No VoIP support
  - LAN1/WAN port is configured as WAN
  - ZTE gives only one MAC per device. Use +1/+2/+3 increment for WAN
    and WLAN0/1

Opening the case:

1. Take of battery lid (no battery support for this model, battery cage
   is dummy).
2. Unscrew screw placed behind battery lid.
3. Take off back cover. It attached with multiple plastic clamps.
4. Unscrew four more screws hidden behind back case.
5. Remove front panel from blue chassis. There are more plastic
   clamps.
6. Unscrew two boards, which secures the PCB in the chassis.
7. Extract board from blue chassis.

Console connection (X8 connector):

1. Parameters: 115200 8N1
2. Pin description: (from closest pin to X8 descriptor to farthest)
    - VCC (3.3V)
    - TX
    - RX
    - GND

Install Instructions:

Serial + initramfs:
1. Place OpenWrt initramfs image for the device on a TFTP in
   the server's root. This example uses Server IP: 192.168.1.3
2. Connect serial console (115200,8n1) to X8 connector.
3. Connect TFTP server to RJ-45 port.
4. Stop in u-Boot and run u-Boot commands:
	setenv serverip 192.168.1.3
	setenv ipaddr 192.168.1.72
	set fdt_high 0x85000000
	tftp openwrt-ipq40xx-generic-zte_mf286d-initramfs-fit-zImage.itb
	bootm $loadaddr
5. Please make backup of original partitions, if you think about revert
   to stock.
6. Login via ssh or serial and remove stock partitions:
	ubiattach -m 9
	ubirmvol /dev/ubi0 -N ubi_rootfs
	ubirmvol /dev/ubi0 -N ubi_rootfs_data
7. Install image via "sysupgrade -n".

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
(cosmetic changes to the commit message)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-02-05 00:44:35 +01:00
..
104-clk-fix-apss-cpu-overclocking.patch
105-ipq40xx-fix-sleep-clock.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
300-clk-qcom-ipq4019-add-ess-reset.patch
301-arm-compressed-add-appended-DTB-section.patch ipq40xx: 5.10: refresh patches to apply 2021-09-25 19:28:54 +02:00
302-arm-compressed-set-ipq40xx-watchdog-to-allow-boot.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch ipq40xx: 5.10: refresh patches to apply 2021-09-25 19:28:54 +02:00
702-dts-ipq4019-add-PHY-switch-nodes.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch ipq40xx: 5.10: refresh patches to apply 2021-09-25 19:28:54 +02:00
705-net-add-qualcomm-ar40xx-phy.patch ipq40xx: 5.10: move AR40xx to MDIO drivers 2021-09-25 19:28:54 +02:00
706-dt-bindings-net-add-QCA807x-PHY.patch
707-net-phy-Add-Qualcom-QCA807x-driver.patch kernel: 5.10: backport qca8k stability improvements 2021-10-24 16:56:17 +02:00
708-arm-dts-ipq4019-QCA807x-properties.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
710-net-add-qualcomm-essedma-ethernet-driver.patch
711-dts-ipq4019-add-ethernet-essedma-node.patch kernel: bump 5.10 to 5.10.83 2021-12-12 21:11:30 +01:00
850-soc-add-qualcomm-syscon.patch ipq40xx: 5.10: refresh patches to apply 2021-09-25 19:28:54 +02:00
900-dts-ipq4019-ap-dk01.1.patch
901-arm-boot-add-dts-files.patch ipq40xx: add support for ZTE MF286D 2022-02-05 00:44:35 +01:00
902-dts-ipq4019-ap-dk04.1.patch
0001-v5.12-ARM-dts-qcom-ipq4019-add-USB-devicetree-nodes.patch ipq40xx: 5.10: replace patches with upstreamed versions 2021-09-25 19:28:54 +02:00
0002-v5.12-ARM-dts-qcom-ipq4019-add-more-labels.patch ipq40xx: 5.10: replace patches with upstreamed versions 2021-09-25 19:28:54 +02:00
0003-v5.12-ARM-dts-qcom-ipq4019-add-SDHCI-VQMMC-LDO-node.patch ipq40xx: 5.10: replace patches with upstreamed versions 2021-09-25 19:28:54 +02:00