mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 00:45:28 +00:00
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> (cherry picked from commit 076da59f17803e9412ef5e50988aff6c7e536292)
This commit is contained in:
parent
711e45e158
commit
deafcf9162
@ -94,6 +94,13 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mediatek,nmbm;
|
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 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user