[openwrt/openwrt] ramips: use m25p, fast-read on Xiaomi Mi Router 4A Gb/3G v2

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 18 15:51:20 EST 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/e0cc68daad31ea255bcbf9bfe71cd5bad913f447

commit e0cc68daad31ea255bcbf9bfe71cd5bad913f447
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Wed Nov 18 20:48:26 2020 +0100

    ramips: use m25p,fast-read on Xiaomi Mi Router 4A Gb/3G v2
    
    The Xiaomi Mi Router 4A Gigabit model has a race condition on bootup
    causing the SQUASHFS data errors to appear and create a bootloop
    scenario.
    
    Adding the m25p,fast-read property resolves this issue.
    
    Suggested-by: David Bentham <db260179 at gmail.com>
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-3g-v2.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-3g-v2.dtsi b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-3g-v2.dtsi
index 65b299e425..c86bdadf55 100644
--- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-3g-v2.dtsi
+++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-3g-v2.dtsi
@@ -50,6 +50,7 @@
 		compatible = "jedec,spi-nor";
 		reg = <0>;
 		spi-max-frequency = <80000000>;
+		m25p,fast-read;
 
 		partitions {
 			compatible = "fixed-partitions";



More information about the lede-commits mailing list