From 5bd13b9f3887891abe6f7d5b57fe301a94e04af5 Mon Sep 17 00:00:00 2001 From: Pawel Dembicki Date: Tue, 23 Nov 2021 09:10:14 +0100 Subject: [PATCH] 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 (cosmetic changes to the commit message) Signed-off-by: Christian Lamparter --- board-zte_mf286d.qca4019 | Bin 0 -> 24308 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 board-zte_mf286d.qca4019 diff --git a/board-zte_mf286d.qca4019 b/board-zte_mf286d.qca4019 new file mode 100644 index 0000000000000000000000000000000000000000..348cf954d75d93f5dcf00afa65603d6c0b4c7783 GIT binary patch literal 24308 zcmeHPdr(tX8b5>}>SE!B5E0@fgzyMLfIu}!l&6$O3KkU!um}{8q(*s#hoK90d{Bsp zU@aITXc?48Q$)t%17fkZc1D@~WB=IMnQc4!=+3OWwyWJ~XLc9&+#5ndNZJI#G{F7B zIp;g)p6{IR{O%#SH{UP!jriE$*!@Xip{c=f>9H9JKq8RTtj#m{2NlLi9?L~IbmI23MgzWgE zogJ`mphRS1V+QsDJCF~+Mn|j$02Kh2a9ktfxnag;GqIrn2oDec{`qq|K6M@V@z3X? zwaFe1ut>RYXxFBh3A}^?kImL*i$25N+PX71!H5O131r|h`_dl4eAMc?GJ5eI>jr_^ zMtt4}kDUNx_5~Xm`dz3L{aQ5D(b3Vt!NFcn0GPm5YNoise)@?9>-x#eVdlCyLz%0r zaHXtu7~3|pGJi3X!-|%=;_TF9-sDY1N1Y^le{$U9pyEt(h3Jjs?UO@Ls}yAQ9Tg3U63!vFxQW5?uEa9|74G?6LpfcMXBd^P1^vwh(#S%;eOr_7 zwH>YBBMQoK+x^)<-TUchIF(!9yfakO^?FNi4ZURSY-#Q8Vs<7Hc^CFe5OZ=|cVFul zbtW}$tMM$o{b6-aNP}0IYyQeYiSSm7fP>?PUu|+mT-`Qr@!YC?!`CaZ_t>8jI1aoZ z!ZH$xWQXPU_V8nQ-K;oXZ_EmHfAscVF3Mv0z&~H6x3>?|o5{>1uh(9aXni5dnV$c{Q3FV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