openwrt/target/linux/ipq806x/patches-5.10
Rodrigo Balerdi f8b0010dfb ipq806x: add support for Arris TR4400 v2 / RAC2V1A
Hardware specs:
  SoC: Qualcomm IPQ8065 (dual core Cortex-A15)
  RAM: 512 MB DDR3
  Flash: 256 MB NAND, 32 MB NOR
  WiFi: QCA9983 2.4 GHz, QCA9984 5 GHz
  Switch: QCA8337
  Ethernet: 5x 10/100/1000 Mbit/s
  USB: 1x USB 3.0 Type-A
  Buttons: WPS, Reset
  Power: 12 VDC, 2.5 A

Ethernet ports:
  1x WAN: connected to eth2
  4x LAN: connected via the switch to eth0 and eth1
          (eth0 is disabled in OEM firmware)

MAC addresses (OEM and OpenWrt):
  fw_env @ 0x00  d4🆎82:??:??:?a  LAN (eth1)
  fw_env @ 0x06  d4🆎82:??:??:?b  WAN (eth2)
  fw_env @ 0x0c  d4🆎82:??:??:?c  WLAN 2.4 GHz (ath1)
  fw_env @ 0x12  d4🆎82:??:??:?d  WLAN 5 GHz (ath0)
  fw_env @ 0x18  d4🆎82:??:??:?e  OEM usage unknown (eth0 in OpenWrt)

  OID d4🆎82 is registered to:
  ARRIS Group, Inc., 6450 Sequence Drive, San Diego CA 92121, US

More info:
  https://openwrt.org/inbox/toh/arris/tr4400_v2

IMPORTANT:

This port requires moving the 'fw_env' partition prior to first boot to
consolidate 70% of the usable space in flash into a contiguous partition.
'fw_env' contains factory-programmed MAC addresses, SSIDs, and passwords.
Its contents must be copied to 'rootfs_1' prior to booting via initramfs.
Note that the stock 'fw_env' partition  will be wiped during sysupgrade.

A writable 'stock_fw_env' partition pointing to the old, stock location
is included in the port to help rolling back this change if desired.

Installation:

- Requires serial access and a TFTP server.
- Fully boot stock, press ENTER, type in:
mtd erase /dev/mtd21
dd if=/dev/mtd22 bs=128K count=1 | mtd write - /dev/mtd21
umount /config && ubidetach -m 23 && mtd erase /dev/mtd23
- Reboot and interrupt U-Boot by pressing a key, type in:
set mtdids 'nand0=nand0'
set mtdparts 'mtdparts=nand0:155M@0x6500000(mtd_ubi)'
set bootcmd 'ubi part mtd_ubi && ubi read 0x44000000 kernel && bootm'
env save
- Setup TFTP server serving initramfs image as 'recovery.bin', type in:
set ipaddr 192.168.1.1
set serverip 192.168.1.2
tftpboot recovery.bin && bootm
- Use sysupgrade to install squashfs image.

This port is based on work done by AmadeusGhost <amadeus@jmu.edu.cn>.

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
[add 5.15 changes for 0069-arm-boot-add-dts-files.patch]
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2022-05-05 09:19:00 +09:00
..
082-ipq8064-dtsi-tweaks.patch ipq806x: add gsbi2_i2c label 2021-11-28 17:51:52 +01:00
083-ipq8064-dtsi-additions.patch ipq806x: fix USB bug in 5.10 dtsi additions 2022-04-16 11:22:54 +02:00
084-ipq8064-v1.0-dtsi-cleanup.patch
085-ipq8064-v1.0-dtsi-additions.patch
086-ipq8064-fix-duplicate-node.patch kernel: bump 5.10 to 5.10.82 2021-11-27 19:19:30 +01:00
093-drivers-cpufreq-qcom-cpufreq-nvmem-support-specific-.patch ipq806x: refresh 5.10 patches 2021-05-07 07:05:16 +02:00
097-1-ipq806x-gcc-add-missing-clk-flag.patch ipq806x: revert SDC clock changes for NBG6817 MMC 2021-12-05 18:49:14 +01:00
097-2-ipq806x-lcc-add-missing-reset.patch ipq806x: refresh 5.10 patches 2021-05-07 07:05:16 +02:00
097-3-clk-qcom-krait-add-missing-enable-disable.patch ipq806x: refresh 5.10 patches 2021-05-07 07:05:16 +02:00
097-4-ipq806x-gcc-add-missing-clk-and-reset-for-crypto-eng.patch ipq806x: revert SDC clock changes for NBG6817 MMC 2021-12-05 18:49:14 +01:00
098-1-cpufreq-add-Krait-dedicated-scaling-driver.patch ipq806x: fix dedicated cpufreq driver 2021-06-30 23:14:43 +02:00
098-2-Documentation-cpufreq-add-qcom-krait-cpufreq-binding.patch ipq806x: refresh 5.10 patches 2021-05-07 07:05:16 +02:00
098-3-add-fab-scaling-support-with-cpufreq.patch ipq806x: fix dedicated cpufreq driver 2021-06-30 23:14:43 +02:00
099-1-mtd-nand-raw-qcom_nandc-add-boot_layout_mode-support.patch kernel: bump 5.10 to 5.10.102 2022-03-01 21:38:36 +01:00
099-2-Documentation-devicetree-mtd-qcom_nandc-document-qco.patch ipq806x: refresh 5.10 patches 2021-05-07 07:05:16 +02:00
100-v5.11-dmaengine-qcom-add_ADM_driver.patch ipq806x: refresh 5.10 patches 2021-05-07 07:05:16 +02:00
101-5.12-mtd-parsers-Add-Qcom-SMEM-parser.patch kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
101-dwmac-ipq806x-qsgmii-pcs-all-ch-ctl.patch kernel: bump 5.10 to 5.10.67 2021-09-30 22:29:33 +01:00
102-mtd-rootfs-conflicts-with-OpenWrt-auto-mounting.patch ipq806x: refresh 5.10 patches 2021-05-07 07:05:16 +02:00
103-ARM-dts-qcom-reduce-pci-IO-size-to-64K.patch ipq806x: add GSBI nodes to ipq8064-dtsi-addidions 2021-11-28 17:41:18 +01:00
104-1-drivers-thermal-tsens-Add-VER_0-tsens-version.patch kernel: bump 5.10 to 5.10.38 2021-05-22 21:54:17 +01:00
104-2-drivers-thermal-tsens-Don-t-hardcode-sensor-slope.patch kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
104-3-drivers-thermal-tsens-Convert-msm8960-to-reg_field.patch kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
104-4-drivers-thermal-tsens-Use-init_common-for-msm8960.patch kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
104-5-drivers-thermal-tsens-Fix-bug-in-sensor-enable-for-m.patch kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
104-6-drivers-thermal-tsens-Replace-custom-8960-apis-with-.patch kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
104-7-drivers-thermal-tsens-Drop-unused-define-for-msm8960.patch kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
104-8-drivers-thermal-tsens-Add-support-for-ipq8064-tsens.patch kernel: bump 5.10 to 5.10.38 2021-05-22 21:54:17 +01:00
104-9-dt-bindings-thermal-tsens-Document-ipq8064-bindings.patch kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
105-10-drivers-thermal-tsens-Fix-wrong-slope-on-msm-8960.patch kernel: bump 5.10 to 5.10.35 2021-05-09 09:55:58 +01:00
107-1-thermal-qcom-tsens-init-debugfs-only-with-successful.patch ipq806x: fix warning about tsens debugfs already registered 2021-05-23 15:09:06 +02:00
107-2-thermal-qcom-tsens-simplify-debugfs-init-function.patch ipq806x: fix warning about tsens debugfs already registered 2021-05-23 15:09:06 +02:00
108-v5.14-net-stmmac-explicitly-deassert-gmac-ahb-reset.patch kernel: bump 5.10 to 5.10.111 2022-04-16 14:02:11 +02:00
109-v5.15-arm-dts-qcom-add-ahb-reset-to-ipq806x-gmac.patch ipq806x: backport GMAC_AHB_RESET deassert patches 2021-11-28 17:51:52 +01:00
850-soc-add-qualcomm-syscon.patch ipq806x: refresh 5.10 patches 2021-05-07 07:05:16 +02:00
900-arm-add-cmdline-override.patch kernel: move bootargs-append patch to generic 2022-01-29 23:50:28 +09:00
0001-dtbindings-qcom_adm-Fix-channel-specifiers.patch
0033-ARM-qcom-automatically-select-PCI_DOMAINS-if-PCI-is-.patch
0060-HACK-arch-arm-force-ZRELADDR-on-arch-qcom.patch kernel: bump 5.10 to 5.10.76 2021-10-30 21:17:20 +02:00
0065-arm-override-compiler-flags.patch kernel: bump 5.10 to 5.10.80 2021-11-19 09:40:29 +00:00
0067-generic-Mangle-bootloader-s-kernel-arguments.patch kernel: bump 5.10 to 5.10.81 2021-11-27 19:19:11 +01:00
0069-arm-boot-add-dts-files.patch ipq806x: add support for Arris TR4400 v2 / RAC2V1A 2022-05-05 09:19:00 +09:00
0072-add-ipq806x-with-no-clocks.patch kernel: bump 5.10 to 5.10.110 2022-04-09 19:31:46 +02:00