openwrt/target/linux/ramips
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
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: reduce spi-max-frequency for Xiaomi MI Router 4AG 2021-04-17 21:56:05 +02:00
files/drivers ramips: mt7530 swconfig: fix race condition in register access 2021-04-15 00:00:54 +08:00
image ramips: rt305x: use lzma-loader for ZyXEL Keenetic Lite rev.B 2021-04-08 09:20:59 +02:00
mt76x8 treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
mt7620 ramips: improve pinctrl for Youku YK-L1 2021-04-10 20:48:26 +02:00
mt7621 ramips/mt7621: enable support for cpuidle 2021-03-31 00:58:49 +01:00
patches-5.4 kernel: bump 5.4 to 5.4.113 2021-04-17 21:50:08 +02:00
patches-5.10 kernel: bump 5.10 to 5.10.31 2021-04-17 21:50:08 +02:00
rt288x treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
rt305x treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
rt3883 treewide: remove execute bit and shebang from board.d files 2021-03-06 11:30:06 +01:00
Makefile ramips: 5.10: port and refresh patches, ralink drv 2021-03-06 11:24:12 +01:00
modules.mk ramips: rename mtk-hsdma to hsdma-mt7621 2021-03-04 23:43:02 -10:00