diff options
author | David Bentham <db260179@gmail.com> | 2021-04-04 13:08:43 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-04-18 12:04:38 +0200 |
commit | d33f4f856566bf7a5b44d6169fd673719bbdfcc6 (patch) | |
tree | 6af76af91fbfb31d7306e19c9853a6ee17caa34d /toolchain/gdb | |
parent | d530ff37bf3343ed40d02d88122f2f3ca44a9d8c (diff) | |
download | upstream-d33f4f856566bf7a5b44d6169fd673719bbdfcc6.tar.gz upstream-d33f4f856566bf7a5b44d6169fd673719bbdfcc6.tar.bz2 upstream-d33f4f856566bf7a5b44d6169fd673719bbdfcc6.zip |
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>
(cherry picked from commit 17e690017d76c49070bc99d6a376b1926259c5ff)
Diffstat (limited to 'toolchain/gdb')
0 files changed, 0 insertions, 0 deletions