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
040-crypto-qce-switch-to-skcipher-API.patch
041-crypto-qce-fix-ctr-aes-qce-block-chunk-sizes.patch
042-crypto-qce-fix-xts-aes-qce-key-sizes.patch
043-crypto-qce-save-a-sg-table-slot-for-result-buf.patch
044-crypto-qce-update-the-skcipher-IV.patch
046-crypto-qce-initialize-fallback-only-for-AES.patch
047-crypto-qce-use-cryptlen-when-adding-extra-sgl.patch
048-crypto-qce-use-AES-fallback-for-small-requests.patch
049-crypto-qce-handle-AES-XTS-cases-that-qce-fails.patch
051-crypto-qce-allow-building-only-hashes-ciphers.patch
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
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
080-ARM-dts-qcom-add-gpio-ranges-property.patch
081-clk-fix-apss-cpu-overclocking.patch
086-ipq40xx-fix-high-resolution-timer.patch
088-v5.6-regulator-add-IPQ4019-SDHCI-VQMMC-LDO-driver.patch
089-v5.5-ARM-dts-qcom-ipq4019-Add-SDHCI-controller-node.patch
100-arm-dts-IPQ4019-add-SDHCI-VQMMC-LDO-node.patch
303-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch
304-mtd-spi-nor-Add-support-for-mx25r3235f.patch
400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch
700-net-add-qualcomm-mdio.patch
701-dts-ipq4019-add-mdio-node.patch
702-dts-ipq4019-add-PHY-switch-nodes.patch
703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch
705-net-add-qualcomm-ar40xx-phy.patch
706-ar40xx-abort-probe-on-missig-phy.patch
710-net-add-qualcomm-essedma-ethernet-driver.patch
711-dts-ipq4019-add-ethernet-essedma-node.patch
712-mr33-essedma.patch
713-essedma-alloc-skb-ip-align.patch
714-essedma-add-fix-for-memory-allocation.patch
850-soc-add-qualcomm-syscon.patch
900-dts-ipq4019-ap-dk01.1.patch
901-arm-boot-add-dts-files.patch
997-device_tree_cmdline.patch