From 1680ae7eae2602dd85463a71f88d0012b236bff7 Mon Sep 17 00:00:00 2001 From: Giuseppe Lippolis Date: Thu, 5 Apr 2018 18:01:41 +0200 Subject: ramips: add dwr-512 jboot firmware configuration The previous fw version require the replacement of the stock bootloader with u-boot. This prevent an easy stock restore of the original fw. Now a proper fw util has been developed to manage the stock jboot bootloader. Therefore make sense have a fw image for the stock bootloader. The old fw configuration (u-boot) is not compatible with the new one and will not be supported anymore. So at the end 2 image can be generated: 1) factory image with jboot bootloader openwrt-ramips-rt305x-dwr-512-b-squashfs-factory.bin 2) sysupgrade image with jboot bootloader openwrt-ramips-rt305x-dwr-512-b-squashfs-sysupgrade.bin Signed-off-by: Giuseppe Lippolis --- target/linux/ramips/dts/DWR-512-B.dts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'target/linux/ramips/dts/DWR-512-B.dts') diff --git a/target/linux/ramips/dts/DWR-512-B.dts b/target/linux/ramips/dts/DWR-512-B.dts index afcac21c6c..74a33e10e4 100644 --- a/target/linux/ramips/dts/DWR-512-B.dts +++ b/target/linux/ramips/dts/DWR-512-B.dts @@ -85,20 +85,14 @@ m25p,fast-read; partition@0 { - label = "u-boot"; - reg = <0x0 0x30000>; + label = "jboot"; + reg = <0x0 0x10000>; read-only; }; - partition@30000 { - label = "u-boot-env"; - reg = <0x30000 0x20000>; - read-only; - }; - - partition@50000 { + partition@10000 { label = "firmware"; - reg = <0x50000 0x7a0000>; + reg = <0x10000 0x7e0000>; }; config: partition@7f0000 { -- cgit v1.2.3