openwrt/target/linux/ipq40xx/patches-4.19
Pawel Dembicki c30220d458 ipq40xx: add support for Cell C RTL30VW
Cell C RTL30VW is a LTE router with tho gigabit ethernets and integrated
QMI mPCIE modem.

This is stripped version of ASKEY RTL0030VW.

Hardware:

Specification:
-CPU: IPQ4019
-RAM: 256MB
-Flash: NAND 128MB + NOR 16MB
-WiFi: Integrated bgn/ac
-LTE: mPCIe card (Modem chipset MDM9230)
-LAN: 2 Gigabit Ports
-USB: 2x USB2.0
-Serial console: RJ-45 115200 8n1
-Unsupported VoIP

Known issues:

None so far.

Instruction install:

There are two methods: Factory web-gui and serial + tftp.

Web-gui:
1. Apply factory image via stock web-gui.

Serial + initramfs:
1. Rename OpenWrt initramfs image to "image"
2. Connect serial console (115200,8n1)
3. Set IP to different than 192.168.1.11, but 24 bit mask, eg. 192.168.1.4.

4. U-Boot commands:
sf probe && sf read 0x80000000 0x180000 0x10000
setenv serverip 192.168.1.4
set fdt_high 0x85000000
tftpboot 0x84000000 image
bootm 0x84000000

5. Install sysupgrade image via "sysupgrade -n"

Back to stock:

All is needed is swap 0x4c byte in mtd8 from 0 to 1 or 1 to 0,
do firstboot and factory reset with OFW:

1. read mtd8:
dd if=/dev/mtd8 of=/tmp/mtd8
2. go to tmp:
cd /tmp/
3. write first part of partition:
dd if=mtd8 of=mtd8.new bs=1 count=76
4. check which layout uses bootloader:
cat /proc/mtd
5a. If first are kernel_1 and rootfs_1 write 0:
echo -n -e '\x00' >> mtd8.new
5b. If first are kernel and rootfs write 1:
echo -n -e '\x01' >> mtd8.new
6. fill with rest of data:
dd if=mtd8 bs=1 skip=77 >> mtd8.new
7. CHECK IF mtd8.new HAVE CHANGED ONLY ONE BYTE! e.g with:
hexdump mtd8.new
8. write new mtd8 to flash:
mtd write mtd8.new /dev/mtd8
9. do firstboot
10.reboot
11. Do back to factory defaults in OFW GUI.

Based on work: Cezary Jackiewicz <cezary@eko.one.pl>

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
2020-04-10 15:22:26 +02:00
..
039-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch ipq40xx: qce - switch to skcipher API 2020-02-28 22:46:01 +01:00
040-crypto-qce-switch-to-skcipher-API.patch ipq40xx: qce - switch to skcipher API 2020-02-28 22:46:01 +01:00
041-crypto-qce-fix-ctr-aes-qce-block-chunk-sizes.patch ipq40xx: qce - add fixes for AES ciphers 2020-02-28 22:46:09 +01:00
042-crypto-qce-fix-xts-aes-qce-key-sizes.patch ipq40xx: qce - add fixes for AES ciphers 2020-02-28 22:46:09 +01:00
043-crypto-qce-save-a-sg-table-slot-for-result-buf.patch ipq40xx: qce - add fixes for AES ciphers 2020-02-28 22:46:09 +01:00
044-crypto-qce-update-the-skcipher-IV.patch ipq40xx: qce - add fixes for AES ciphers 2020-02-28 22:46:09 +01:00
046-crypto-qce-initialize-fallback-only-for-AES.patch ipq40xx: qce - add fixes for AES ciphers 2020-02-28 22:46:09 +01:00
047-crypto-qce-use-cryptlen-when-adding-extra-sgl.patch ipq40xx: qce - add fixes for AES ciphers 2020-02-28 22:46:09 +01:00
048-crypto-qce-use-AES-fallback-for-small-requests.patch ipq40xx: qce - add fixes for AES ciphers 2020-02-28 22:46:09 +01:00
049-crypto-qce-handle-AES-XTS-cases-that-qce-fails.patch ipq40xx: qce - add fixes for AES ciphers 2020-02-28 22:46:09 +01:00
051-crypto-qce-allow-building-only-hashes-ciphers.patch ipq40xx: qce - add fixes for AES ciphers 2020-02-28 22:46:09 +01:00
070-v4.20-soc-qcom-spm-add-SCM-probe-dependency.patch
071-01-v4.20-ARM-dts-qcom-ipq4019-use-v2-of-the-kpss-bringup-mech.patch
071-02-ipq40xx-Fix-booting-secondary-cores.patch
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
075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch
076-phy-qcom-ipq4019-usb-add-driver-for-QCOM-IPQ4019.patch
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
086-ipq40xx-fix-high-resolution-timer.patch ipq40xx: fix high resolution timer 2019-06-15 19:55:32 +02:00
088-v5.6-regulator-add-IPQ4019-SDHCI-VQMMC-LDO-driver.patch ipq40xx: add IPQ4019 SD/MMC controller support 2020-03-09 00:53:50 +01:00
089-v5.5-ARM-dts-qcom-ipq4019-Add-SDHCI-controller-node.patch ipq40xx: add IPQ4019 SD/MMC controller support 2020-03-09 00:53:50 +01:00
100-arm-dts-IPQ4019-add-SDHCI-VQMMC-LDO-node.patch ipq40xx: add IPQ4019 SD/MMC controller support 2020-03-09 00:53:50 +01:00
303-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch kernel: bump 4.19 to 4.19.108 2020-03-09 20:43:53 +01:00
304-mtd-spi-nor-Add-support-for-mx25r3235f.patch kernel: bump 4.19 to 4.19.105 2020-02-24 14:19:16 +01:00
400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch ipq40xx: add IPQ4019 SD/MMC controller support 2020-03-09 00:53:50 +01:00
700-net-add-qualcomm-mdio.patch kernel: bump 4.19 to 4.19.98 2020-01-24 13:14:33 +01:00
701-dts-ipq4019-add-mdio-node.patch ipq40xx: add IPQ4019 SD/MMC controller support 2020-03-09 00:53:50 +01:00
702-dts-ipq4019-add-PHY-switch-nodes.patch ipq40xx: add IPQ4019 SD/MMC controller support 2020-03-09 00:53:50 +01:00
703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch
705-net-add-qualcomm-ar40xx-phy.patch kernel: bump 4.19 to 4.19.98 2020-01-24 13:14:33 +01: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: add IPQ4019 SD/MMC controller support 2020-03-09 00:53:50 +01:00
712-mr33-essedma.patch
713-essedma-alloc-skb-ip-align.patch
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
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 Cell C RTL30VW 2020-04-10 15:22:26 +02:00
997-device_tree_cmdline.patch