openwrt/target/linux
David Bentham 17e690017d ramips: reduce spi-max-frequency for Xiaomi MI Router 4AG
Reduce spi-max-frequency for Xiaomi MI Router 4AG model

Xiaomi MI Router 4AG MTD uses two flash chips (no specific on router versions when produced from factory) - GD25Q128C and W25Q128BV.

These flash chips are capable of high frequency, but due to poor board design or manufacture process.

We are seeing the following errors in the linux kernel bootup:

`spi-nor spi0.0: unrecognized JEDEC id bytes: cc 60 1c cc 60 1c
 spi-nor: probe of spi0.0 failed with error -2`

This causes the partitions not to be detected

`VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6`

Then creates a bootloop and a bricked router.

The solution to limit this race condition is to reduce the frequency from 80 mhz to 50 mhz.

Signed-off-by: David Bentham <db260179@gmail.com>
2021-04-17 21:56:05 +02:00
..
apm821xx kernel: bump 5.10 to 5.10.24 2021-03-24 11:36:31 +00:00
arc770 arc770: set device vendor and model variables 2021-04-17 21:56:05 +02:00
archs38 archs38: set device vendor and model variables 2021-04-17 21:56:05 +02:00
armvirt armvirt: add 5.10 testing kernel 2021-04-03 18:56:02 +02:00
at91 treewide: make AddDepends/usb-serial selective 2021-03-06 12:38:38 +01:00
ath25 treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
ath79 ath79: update spi-nor patches 2021-04-16 20:24:28 +02:00
bcm27xx kernel: bump 5.4 to 5.4.108 2021-03-27 16:39:31 +01:00
bcm47xx bcm47xx: make WGT634U NVRAM patch apply again 2021-03-12 21:09:11 +01:00
bcm53xx bcm53xx: add pending TRX patch for "firmware" partition 2021-04-14 08:27:30 +02:00
bcm63xx kernel: bump 5.10 to 5.10.30 2021-04-16 12:58:53 +01:00
bcm4908 bcm4908: enable Netgear R8000P bootloader image 2021-04-08 10:50:59 +02:00
bmips kernel: bump 5.10 to 5.10.27 2021-04-03 21:07:22 +01:00
gemini gemini,layerscape,oxnas: don't disable option CONFIG_BPF_SYSCALL 2021-04-16 11:30:43 +01:00
generic kernel: Disable IXP4xx physmap by default 2021-04-17 21:56:05 +02:00
imx6 kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
ipq40xx ipq40xx: add MikroTik hAP ac2 support 2021-04-05 04:13:28 +02:00
ipq806x kernel: bump 5.4 to 5.4.109 2021-04-02 16:45:28 +02:00
ipq807x kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
kirkwood kernel: backport 5.13 mtd partitioning changes 2021-03-29 08:46:17 +02:00
lantiq lantiq: add Linux 5.10 support as testing kernel 2021-04-12 23:23:09 +02:00
layerscape gemini,layerscape,oxnas: don't disable option CONFIG_BPF_SYSCALL 2021-04-16 11:30:43 +01:00
malta kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
mediatek kernel: bump 5.4 to 5.4.112 2021-04-17 21:50:08 +02:00
mpc85xx treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
mvebu kernel: bump 5.4 to 5.4.112 2021-04-17 21:50:08 +02:00
mxs mxs: add support for 5.10 as testing kernel 2021-04-11 19:14:05 +02:00
octeon kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
octeontx kernel: move some disabled symbols to generic 2021-03-19 00:59:22 +01:00
omap kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
oxnas kernel: Disable CPU_THERMAL by default 2021-04-17 21:56:05 +02:00
pistachio kernel: add pending mtd patches adding NVMEM support 2021-03-12 18:49:46 +01:00
ramips ramips: reduce spi-max-frequency for Xiaomi MI Router 4AG 2021-04-17 21:56:05 +02:00
realtek realtek: allow writing to "u-boot-env2" 2021-04-08 09:20:59 +02:00
rockchip kernel: Disable CONFIG_DMA_PERNUMA_CMA by default 2021-04-17 21:56:05 +02:00
sunxi kernel: bump 5.4 to 5.4.112 2021-04-17 21:50:08 +02:00
tegra kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
zynq kernel: Move CONFIG_USERIO to generic config 2021-03-27 14:34:22 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00