aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2023-03-30 03:51:08 +0200
committerDavid Bauer <mail@david-bauer.net>2023-04-08 14:41:01 +0200
commit076da59f17803e9412ef5e50988aff6c7e536292 (patch)
tree9ee7e8804764a7e7421e716e2d77d93b04473ace /target/linux/ramips
parentc8934099bfe297639e6a537f52cb0a2849196e1f (diff)
downloadupstream-076da59f17803e9412ef5e50988aff6c7e536292.tar.gz
upstream-076da59f17803e9412ef5e50988aff6c7e536292.tar.bz2
upstream-076da59f17803e9412ef5e50988aff6c7e536292.zip
ramips: define remapping-range for DAP-X1860
Prevent the BBT translation layer from remapping the UBI used for storing rootfs. Explicitly define the number of blocks reserved for remapping. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7621_dlink_dap-x1860-a1.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_dlink_dap-x1860-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dap-x1860-a1.dts
index edc1c6544c..1aa3f7c91b 100644
--- a/target/linux/ramips/dts/mt7621_dlink_dap-x1860-a1.dts
+++ b/target/linux/ramips/dts/mt7621_dlink_dap-x1860-a1.dts
@@ -94,6 +94,13 @@
status = "okay";
mediatek,nmbm;
+ /* rsvd = Remapping Range / NAND Erase-Size */
+ /* rsvd = 0x800000 / 0x20000 */
+ mediatek,bmt-max-reserved-blocks = <64>;
+ /* Remapping should include raw-nand we operate upon without UBI layer. */
+ /* This includes (at least) the kernel which has to be loaded by U-Boot.*/
+ mediatek,bmt-remap-range =
+ <0x0 0x980000>;
partitions {
compatible = "fixed-partitions";