difos/target/linux/ipq40xx/patches-4.19
Tom Brouwer 2090b8af0a ipq40xx: add support for EZVIZ CS-W3-WD1200G EUP
Hardware:
SOC:    Qualcomm IPQ4018
RAM:	128 MB Nanya NT5CC64M16GP-DI
FLASH:  16 MB Macronix MX25L12805D
ETH:    Qualcomm QCA8075 (4 Gigabit ports, 3xLAN, 1xWAN)
WLAN:   Qualcomm IPQ4018 (2.4 & 5 Ghz)
BUTTON: Shared WPS/Reset button
LED:    RGB Status/Power LED
SERIAL: Header J8 (UART, Left side of board). Numbered from
        top to bottom:
        (1) GND, (2) TX, (3) RX, (4) VCC (White triangle
        next to it).
        3.3v, 115200, 8N1

Tested/Working:
* Ethernet
* WiFi (2.4 and 5GHz)
* Status LED
* Reset Button (See note below)

Implementation notes:
* The shared WPS/Reset button is implemented as a Reset button
* I could not find a original firmware image to reverse engineer, meaning
currently it's not possible to flash OpenWrt through the Web GUI.

Installation (Through Serial console & TFTP):
1. Set your PC to fixed IP 192.168.1.12, Netmask 255.255.255.0, and connect to
one of the LAN ports
2. Rename the initramfs image to 'C0A8010B.img' and enable a TFTP server on
your pc, to serve the image
2. Connect to the router through serial (See connection properties above)
3. Hit a key during startup, to pause startup
4. type `setenv serverip 192.168.1.12`, to set the tftp server address
5. type `tftpboot`, to load the image from the laptop through tftp
6. type `bootm` to run the loaded image from memory
6. (If you want to return to stock firmware later, create an full MTD backup,
e.g. using instructions here https://openwrt.org/docs/guide-user/installation/generic.backup#create_full_mtd_backup)
7. Transfer the 'sysupgrade' OpenWrt firmware image from PC to router, e.g.:
`scp xxx-squashfs-sysupgrade.bin root@192.168.1.1:/tmp/upgrade.bin`
8. Run sysupgrade to permanently install OpenWrt to flash: `sysupgrade -n /tmp/upgrade.bin`

Revert to stock:
To revert to stock, you need the MTD backup from step 6 above:
1. Unpack the MTD backup archive
2. Transfer the 'firmware' partition image to the router (e.g. mtd8_firmware.backup)
3. On the router, do `mtd write mtd8_firmware.backup firmware`

Signed-off-by: Tom Brouwer <tombrouwer@outlook.com>
[removed BOARD_NAME, OpenWRT->OpenWrt, changed LED device name to board name]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-01-12 15:57:58 +01:00
..
070-v4.20-soc-qcom-spm-add-SCM-probe-dependency.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
071-01-v4.20-ARM-dts-qcom-ipq4019-use-v2-of-the-kpss-bringup-mech.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
071-02-ipq40xx-Fix-booting-secondary-cores.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
072-v4.20-ARM-dts-qcom-ipq4019-add-cpu-operating-points-for-cp.patch ipq40xx: directly define voltage per opp 2019-06-15 19:55:32 +02:00
074-ARM-qcom-Add-IPQ4019-SoC-support.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
076-phy-qcom-ipq4019-usb-add-driver-for-QCOM-IPQ4019.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
077-qcom-ipq4019-add-USB-devicetree-nodes.patch ipq40xx: directly define voltage per opp 2019-06-15 19:55:32 +02:00
080-ARM-dts-qcom-add-gpio-ranges-property.patch ipq40xx: directly define voltage per opp 2019-06-15 19:55:32 +02:00
081-clk-fix-apss-cpu-overclocking.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
086-ipq40xx-fix-high-resolution-timer.patch ipq40xx: fix high resolution timer 2019-06-15 19:55:32 +02:00
181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch ipq40xx: fix hw-crypto detection of qce driver 2019-09-21 23:41:31 +02:00
303-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch kernel: bump 4.19 to 4.19.68 2019-08-28 13:08:20 +02:00
304-mtd-spi-nor-Add-support-for-mx25r3235f.patch ipq40xx: add support for Aruba AP-303 2019-12-20 17:48:52 +01:00
700-net-add-qualcomm-mdio.patch ipq40xx: mdio: remove support for phy-reset-gpio 2019-11-07 22:51:37 +01:00
701-dts-ipq4019-add-mdio-node.patch ipq40xx: extend DT mdio node to be more accessible 2019-08-02 22:46:45 +02:00
702-dts-ipq4019-add-PHY-switch-nodes.patch ipq40xx: fix high resolution timer 2019-06-15 19:55:32 +02:00
703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
705-net-add-qualcomm-ar40xx-phy.patch ipq40xx: decouple mdio-ipq40xx and ar40xx 2019-08-02 23:18:25 +02:00
706-ar40xx-abort-probe-on-missig-phy.patch ipq40xx: abort ar40xx probe on missing PHYs 2019-09-25 22:42:03 +02:00
710-net-add-qualcomm-essedma-ethernet-driver.patch ipq40xx: essedma: Fix dead lock 2019-10-20 13:01:43 +02:00
711-dts-ipq4019-add-ethernet-essedma-node.patch ipq40xx: fix high resolution timer 2019-06-15 19:55:32 +02:00
712-mr33-essedma.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
713-essedma-alloc-skb-ip-align.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
714-essedma-add-fix-for-memory-allocation.patch ipq40xx: essedma: Add fix for memory allocation issues 2019-03-24 21:17:41 +01:00
850-soc-add-qualcomm-syscon.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00
900-dts-ipq4019-ap-dk01.1.patch ipq40xx: remove qcom,ipq4019 on all devices 2018-12-27 14:30:45 +01:00
901-arm-boot-add-dts-files.patch ipq40xx: add support for EZVIZ CS-W3-WD1200G EUP 2020-01-12 15:57:58 +01:00
997-device_tree_cmdline.patch ipq40xx: Add patches for 4.19 2018-12-27 14:06:38 +01:00