immortalwrt/target/linux/ramips/patches-4.14
AmadeusGhost a1807936af
ramips: add xiaomi_miwifi-r3 support (#3839)
* ramips: add xiaomi_miwifi-r3 support

Specification:
 - CPU: 580 MHz
 - Flash size: 128 MiB NAND
 - RAM size: 128 MiB DDR2
 - Wireless No1: SoC-integrated: MT7620A 2x2 MIMO 802.11b/g/n (2.4 GHz)
 - Wireless No2: On-board chip: MT7612E 2x2 MIMO 802.11a/n/ac (5 GHz)
 - Switch: MT7620 built-in 10/100 switch w/ vlan support
 - USB: 2.0 x1

Flash instructions:
 1. access ssh via https://wiki.openwrt.org/toh/xiaomi/mir3
 2. in ssh:
      nvram set flag_last_success=1
      nvram set boot_wait=on
      nvram set uart_en=1
      nvram commit
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-kernel1.bin kernel1
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-rootfs0.bin rootfs0
      reboot

If you want to revert back to stock fw while on LEDE:
  insert usb stick (FAT/FAT32) with stock fw renamed to miwifi.bin
  fw_setenv flag_last_success 0
  power off the device
  hold the reset button and power on the device, keep holding the reset button until yellow led starts blinking.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: add mt7620-nand driver for NAND flash

This add the mt7620-nand driver
and enable nand ubifs for subtarget mt7620

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-17 01:39:45 +08:00
..
100-mt7621-core-detect-hack.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
101-mt7621-timer.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
102-mt7621-fix-cpu-clk-add-clkdev.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
105-mt7621-memory-detect.patch ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
110-mt7621-perfctr-fix.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
300-mt7620-export-chip-version-and-pkg.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
302-spi-nor-add-gd25q512.patch kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
304-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
999-fix-m25p-shutdown.patch ramips: fir 32M spi soft shutdown 2019-12-15 01:47:52 -08:00
999-fix-pci-init-mt7620.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0001-MIPS-ralink-Add-rt3352-SPI_CS1-pinmux.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0002-MIPS-pci-rt2880-set-pci-controller-of_node.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0003-MIPS-Fix-memory-reservation-in-bootmem_init-for-cert.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0004-MIPS-ralink-add-MT7621-pcie-driver.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0005-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0006-MIPS-ralink-add-cpu-frequency-scaling.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0007-MIPS-ralink-copy-the-commandline-from-the-devicetree.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0009-PCI-MIPS-enable-PCIe-on-MT7688.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0013-owrt-hack-fix-mt7688-cache-issue.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0015-arch-mips-do-not-select-illegal-access-driver-by-def.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0024-GPIO-add-named-gpio-exports.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0025-pinctrl-ralink-add-pinctrl-driver.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0026-DT-Add-documentation-for-gpio-ralink.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0028-GPIO-ralink-add-mt7621-gpio-controller.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0029-gpio-ralink-Add-support-for-GPIO-as-interrupt-contro.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0031-uvc-add-iPassion-iP2970-support.patch kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
0032-USB-dwc2-add-device_reset.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0034-NET-multi-phy-support.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0037-mtd-cfi-cmdset-0002-force-word-write.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0038-mtd-ralink-add-mt7620-nand-driver.patch ramips: add xiaomi_miwifi-r3 support (#3839) 2020-03-17 01:39:45 +08:00
0038-Revert-mtd-nand-Remove-unused-chip-write_page-hook.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0039-mtd-add-mt7621-nand-support.patch ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
0040-nand-hack.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0041-DT-Add-documentation-for-spi-rt2880.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0042-SPI-ralink-add-Ralink-SoC-spi-driver.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0043-spi-add-mt7621-support.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0044-i2c-MIPS-adds-ralink-I2C-driver.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0045-i2c-add-mt7621-driver.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0047-DMA-ralink-add-rt2880-dma-engine.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0048-asoc-add-mt7620-support.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0051-serial-add-ugly-custom-baud-rate-hack.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0052-pwm-add-mediatek-support.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
0054-mtd-spi-nor-w25q256-respect-default-mode.patch kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
0069-awake-rt305x-dwc2-controller.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0070-weak_reordering.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0098-disable_cm.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0099-pci-mt7620.patch target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
0200-linkit_bootstrap.patch kernel: bump to 4.9.206, 4.14.158, 4.19.88 2019-12-10 19:40:41 -08:00