openwrt/target/linux/ipq806x/patches-5.4
Robert Marko 59f0a0fd83 ipq806x: add Edgecore ECW5410 support
This patch adds support for the Edgecore ECW5410 indoor AP.

Specification:
- SoC: Qualcomm Atheros IPQ8068 ARMv7 2x Cortex A-15
- RAM: 256MB(225 usable) DDR3
- NOR Flash: 16MB SPI NOR
- NAND Flash: 128MB S34MS01G2 Parallel NAND
- Ethernet: 2 x 1G via 2x AR8033 PHY-s connected directly to GMAC2 and GMAC3 via SGMII (802.3af POE IN on eth0)
- USB: 1 x USB 3.0 SuperSpeed
- WLAN: 2x QCA9994 AC Wawe 2 (1x 2GHz bgn, 1x 5GHz acn)
- CC2540 BLE
- UART console on RJ45 next to ethernet ports exposed.
Its Cisco pin compatible, 115200 8n1 baud.

Installation instructions:
Through stock firmware or initramfs.

1.Connect to console
2. Login with root account, if password is unknown then interrupt the boot with f and reset it in failsafe.
3. Transfer factory image
4. Flash the image with ubiformat /dev/mtd1 -y -f <your factory image path>

This will replace the rootfs2 with OpenWrt, if you are currently running from rootfs2 then simply change /dev/mtd1 to /dev/mtd0

Note

Initramfs:
1.  Connect to console
2.  Transfer the image from TFTP server with tftpboot,
or by using DHCP advertised image with dhcp command.
3. bootm
4. Run ubiformat /dev/mtd1

You need to interrupt the bootloader after rebooting and run:
run altbootcmd

This will switch your active rootfs partition to one you wrote to and boot from it.

So if rootfs1 is active, then it will change it to rootfs2.

This will format the rootfs2 partition, if your active partition is 2 then simply change /dev/mtd1 with /dev/mtd0
If you dont format the partition you will be writing too, then sysupgrade will find existing UBI rootfs and kernel volumes and update those.
This will result in wrong ordering and OpenWrt will panic on boot.

5. Transfer sysupgrade image
6. Flash with sysupgrade -n.

Note that sysupgrade will write the image to rootfs partition that is not currently in use.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2020-09-17 08:42:17 +02:00
..
080-v5.7-ARM-dts-qcom-add-gpio-ranges-property.patch ipq806x: use qcom-ipq8064.dtsi from upstream 2020-08-05 23:08:03 +02:00
081-v5.8-ARM-dts-qcom-add-scm-definition-to-ipq806x.patch ipq806x: use qcom-ipq8064.dtsi from upstream 2020-08-05 23:08:03 +02:00
082-ipq8064-dtsi-tweaks.patch ipq806x: use qcom-ipq8064.dtsi from upstream 2020-08-05 23:08:03 +02:00
083-ipq8064-dtsi-additions.patch ipq806x: replace nvmem qcom patch with upstream version 2020-08-13 02:12:12 +02:00
084-ipq8064-v1.0-dtsi-cleanup.patch ipq806x: use qcom-ipq8064-v1.0.dtsi from upstream 2020-08-05 23:08:03 +02:00
085-ipq8064-v1.0-dtsi-additions.patch ipq806x: replace pci patchset with upstream version 2020-08-24 14:09:11 +02:00
086-v5.8-pinctrl-qom-use-scm_call-to-route-GPIO-irq-to-Apps.patch ipq806x: replace patches with upstream version 2020-08-08 18:07:17 +02:00
087-v5.8-ipq8064-pinctrl-Fixed-missing-RGMII-pincontrol-defin.patch ipq806x: replace patches with upstream version 2020-08-08 18:07:17 +02:00
088-v5.8-watchdog-qcom-wdt-disable-pretimeout-on-timer-platfo.patch ipq806x: replace patches with upstream version 2020-08-08 18:07:17 +02:00
089-v5.8-ipq806x-gcc-Added-the-enable-regs-and-mask-for-PRNG.patch ipq806x: replace patches with upstream version 2020-08-08 18:07:17 +02:00
090-v5.8-clk-clk-rpm-fixes.patch ipq806x: replace patches with upstream version 2020-08-08 18:07:17 +02:00
091-v5.8-regulator-add-smb208-support.patch ipq806x: replace patches with upstream version 2020-08-08 18:07:17 +02:00
092-1-v5.7-qcom-cpufreq-nvmem-Add-support-for-krait-based-socs.patch kernel: bump 5.4 to 5.4.59 2020-08-20 14:19:39 +02:00
092-2-v5.7-cpufreq-qcom-fix-wrong-compatible-binding.patch ipq806x: replace nvmem qcom patch with upstream version 2020-08-13 02:12:12 +02:00
093-4-v5.8-ipq806x-PCI-qcom-Use-bulk-clk-api-and-assert-on-error.patch kernel: bump 5.4 to 5.4.60 2020-08-24 17:33:58 +02:00
093-7-v5.8-ipq806x-PCI-qcom-Add-ipq8064-rev2-variant.patch ipq806x: replace pci patchset with upstream version 2020-08-24 14:09:11 +02:00
093-8-v5.8-ipq806x-PCI-qcom-Support-pci-speed-set-for-ipq806x.patch ipq806x: replace pci patchset with upstream version 2020-08-24 14:09:11 +02:00
094-v5.7-ipq806x-net-mdio-add-ipq8064-mdio-driver.patch ipq806x: replace patches with upstream version 2020-08-08 18:07:17 +02:00
095-1-v5.9-phy-qualcomm-add-qcom-ipq806x-dwc-usb-phy-driver.patch ipq806x: replace phy dwc3 patch with upstream version 2020-08-13 02:12:12 +02:00
095-2-v5.9-phy-qualcomm-fix-setting-of-tx_deamp_3_5db-when-device-property-read-fails.patch ipq806x: replace phy dwc3 patch with upstream version 2020-08-13 02:12:12 +02:00
850-soc-add-qualcomm-syscon.patch
851-add-gsbi1-dts.patch ipq806x: add GSBI1 node to DTSI 2020-09-17 08:42:17 +02:00
997-device_tree_cmdline.patch ipq806x: import bootargs-append from IPQ40xx 2020-09-17 08:42:17 +02:00
0001-dtbindings-qcom_adm-Fix-channel-specifiers.patch
0002-dmaengine-Add-ADM-driver.patch
0030-clk-Disable-i2c-device-on-gsbi4.patch
0031-mtd-add-SMEM-parser-for-QCOM-platforms.patch kernel: properly insert local mtd partition parsers 2020-05-25 21:11:47 +02:00
0033-ARM-qcom-automatically-select-PCI_DOMAINS-if-PCI-is-.patch
0049-PM-OPP-Support-adjusting-OPP-voltages-at-runtime.patch kernel: bump 5.4 to 5.4.61 2020-08-30 19:44:47 +02:00
0051-PM-OPP-Add-a-helper-to-get-an-opp-regulator-for-devi.patch
0052-PM-OPP-Update-the-voltage-tolerance-when-adjusting-t.patch kernel: bump 5.4 to 5.4.61 2020-08-30 19:44:47 +02:00
0054-cpufreq-dt-Handle-OPP-voltage-adjust-events.patch
0055-cpufreq-dt-Add-L2-frequency-scaling-support.patch ipq806x: rework L2 cache patch 2020-03-03 23:38:23 +01:00
0056-cpufreq-dt-Add-missing-rcu-locks.patch
0057-add-fab-scaling-support-with-cpufreq.patch
0059-ARM-cpuidle-Add-cpuidle-support-for-QCOM-cpus.patch
0060-HACK-arch-arm-force-ZRELADDR-on-arch-qcom.patch
0061-mtd-rootfs-conflicts-with-OpenWrt-auto-mounting.patch
0063-1-ipq806x-tsens-driver.patch ipq806x: fix tsens driver 2020-03-03 23:38:23 +01:00
0063-2-tsens-support-configurable-interrupts.patch ipq806x: fix tsens driver 2020-03-03 23:38:23 +01:00
0063-3-tsens-fix-kernel-5_4.patch ipq806x: fix tsens driver 2020-03-03 23:38:23 +01:00
0063-4-ip806x-tsense-rework-driver.patch ipq806x: fix tsens driver 2020-03-03 23:38:23 +01:00
0065-arm-override-compiler-flags.patch
0067-generic-Mangle-bootloader-s-kernel-arguments.patch ipq806x: add support for Linksys EA7500 V1 2020-07-08 16:07:05 +02:00
0069-arm-boot-add-dts-files.patch ipq806x: add Edgecore ECW5410 support 2020-09-17 08:42:17 +02:00
0072-add-ipq806x-with-no-clocks.patch kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00