diff --git a/package/boot/uboot-tools/uboot-envtools/files/mpc85xx b/package/boot/uboot-tools/uboot-envtools/files/mpc85xx index 757344ecaa..c4edba19aa 100644 --- a/package/boot/uboot-tools/uboot-envtools/files/mpc85xx +++ b/package/boot/uboot-tools/uboot-envtools/files/mpc85xx @@ -9,8 +9,8 @@ board=$(board_name) case "$board" in enterasys,ws-ap3715i) - ubootenv_add_uci_config "$(find_mtd_part 'cfg1')" "0x0" "0x10000" "0x10000" - ubootenv_add_uci_config "$(find_mtd_part 'cfg2')" "0x0" "0x10000" "0x10000" + ubootenv_add_uci_config "/dev/mtd$(find_mtd_index 'cfg1')" "0x0" "0x1000" "0x10000" + ubootenv_add_uci_config "/dev/mtd$(find_mtd_index 'cfg2')" "0x0" "0x1000" "0x10000" ;; extreme-networks,ws-ap3825i) ubootenv_add_uci_config "$(find_mtd_part 'cfg1')" "0x0" "0x10000" "0x20000" diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts index fc06bbc620..ebe210761a 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts @@ -234,13 +234,11 @@ partition@120000 { reg = <0x120000 0x10000>; label = "cfg1"; - read-only; }; partition@130000 { reg = <0x130000 0x10000>; label = "cfg2"; - read-only; }; partition@140000 {