openwrt/target/linux/ipq40xx/patches-5.4
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
071-02-ipq40xx-Fix-booting-secondary-cores.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01:00
074-ARM-qcom-Add-IPQ4019-SoC-support.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01:00
075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch
076-phy-qcom-ipq4019-usb-add-driver-for-QCOM-IPQ4019.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01:00
077-qcom-ipq4019-add-USB-devicetree-nodes.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01:00
080-ARM-dts-qcom-add-gpio-ranges-property.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01:00
081-clk-fix-apss-cpu-overclocking.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01:00
086-ipq40xx-fix-high-resolution-timer.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01: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
300-clk-qcom-ipq4019-add-ess-reset.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01:00
304-mtd-spi-nor-Add-support-for-mx25r3235f.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +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 ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +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 kernel: bump 5.4 to 5.4.24 2020-03-09 20:43:53 +01:00
705-net-add-qualcomm-ar40xx-phy.patch ipq40xx: 5.4: fix networking PHY driver 2020-03-16 22:21:45 +01:00
706-ar40xx-abort-probe-on-missig-phy.patch ipq40xx: 5.4: fix networking PHY driver 2020-03-16 22:21:45 +01:00
710-net-add-qualcomm-essedma-ethernet-driver.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01:00
711-dts-ipq4019-add-ethernet-essedma-node.patch ipq40xx: add IPQ4019 SD/MMC controller support 2020-03-09 00:53:50 +01:00
721-dts-ipq4019-add-ethernet-essedma-node.patch ipq40xx: add IPQ4019 SD/MMC controller support 2020-03-09 00:53:50 +01:00
850-soc-add-qualcomm-syscon.patch ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01:00
900-dts-ipq4019-ap-dk01.1.patch
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 ipq40xx: 5.4: refresh patches and config 2020-02-28 22:46:27 +01:00