[openwrt/openwrt] ath79/mikrotik: fix soft_config location for SXT 5n
LEDE Commits
lede-commits at lists.infradead.org
Thu Sep 17 17:52:56 EDT 2020
adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/e6b42386bac5678bcd7b71f041253cb759d55bd3
commit e6b42386bac5678bcd7b71f041253cb759d55bd3
Author: Roger Pueyo Centelles <roger.pueyo at guifi.net>
AuthorDate: Mon Aug 31 15:15:15 2020 +0200
ath79/mikrotik: fix soft_config location for SXT 5n
The soft_config partition for these devices lays between 0xe000 and
0xf000 (as correctly detected by the RouterBoard platform driver),
before the bootloader2 partition which starts at 0x10000.
This commit correctly sorts the partitions, fixing the parsing error.
Fixes: FS#3314
Signed-off-by: Roger Pueyo Centelles <roger.pueyo at guifi.net>
Reviewed-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
index 100976e2c8..12152777a6 100644
--- a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
+++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
@@ -122,14 +122,14 @@
read-only;
};
+ soft_config {
+ };
+
partition at 10000 {
label = "bootloader2";
- reg = <0x10000 0x0>;
+ reg = <0x10000 0x10000>;
read-only;
};
-
- soft_config {
- };
};
};
};
More information about the lede-commits
mailing list