difos/target/linux
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
..
apm821xx apm821xx: WNDR4700: utilize ath9k nvmem-cells 2022-02-04 21:15:17 +01:00
archs38 kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
armvirt kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
at91 at91: drop /etc/config/firewall 2022-01-15 16:36:28 +01:00
ath25 ath25: add kernel 5.10 support 2021-12-27 16:00:21 +00:00
ath79 kernel: bump 5.10 to 5.10.96 2022-02-01 23:34:07 +00:00
bcm27xx kernel: bump 5.10 to 5.10.96 2022-02-01 23:34:07 +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.92 2022-01-16 20:51:14 +01:00
bcm63xx bcm63xx: Remove patch already in Linux stable 2022-02-01 23:34:07 +00:00
bcm4908 bcm4908: backport first 5.18 DTS changes 2022-02-01 11:35:07 +01:00
bmips kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
gemini kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
generic generic: kernel: add patches with ZTE MF286D modem 2022-02-05 00:44:35 +01:00
imx imx: bump SDMA firmware to v3.6 2022-01-13 09:33:29 +01:00
ipq40xx ipq40xx: add support for ZTE MF286D 2022-02-05 00:44:35 +01:00
ipq806x ipq806x: G10: use ASROCK's wifi calibration data 2022-02-05 00:44:35 +01:00
kirkwood kernel: add disabled POWER_RESET_QNAP 2022-01-29 23:50:28 +09:00
lantiq kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
layerscape kernel: bump 5.4 to 5.4.174 2022-01-28 22:06:03 +01:00
malta kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
mediatek mediatek: mt7623: simplify partition generation 2022-01-31 15:02:36 +00:00
mpc85xx kernel: move bootargs-append patch to generic 2022-01-29 23:50:28 +09:00
mvebu kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
mxs kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
octeon kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
octeontx kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
omap omap: make use of 'rootfs-part' feature 2022-01-23 19:48:20 +00:00
oxnas kernel: bump 5.10 to 5.10.85 2021-12-17 15:10:22 +01:00
pistachio kernel: bump 5.10 to 5.10.95 2022-02-01 23:34:07 +00:00
qoriq qoriq: Expand generic subtarget description 2022-01-05 10:54:59 +02:00
ramips ramips: Switch Teltonika RUT5xx to kernel GPIO-line watchdog driver 2022-02-03 22:27:15 +01:00
realtek kernel: bump 5.4 to 5.4.169 2022-01-03 01:00:03 +01:00
rockchip rockchip: disable UHS modes for NanoPi R4S 2022-01-27 01:44:28 +01:00
sunxi sunxi: make use of 'rootfs-part' feature 2022-01-23 19:48:25 +00:00
tegra kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
uml uml: make use of 'rootfs-part' feature 2022-01-23 19:48:31 +00:00
x86 x86: improve sysinfo handling of dummy values 2022-01-08 23:25:05 +01:00
zynq kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00