diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2018-02-26 23:00:07 +0100 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2018-04-06 23:11:00 +0200 |
commit | 10ea53f900ee0cb384a9610d8870ba86cd837791 (patch) | |
tree | f281fd9ee36f1a710f40755e5978f74cc49a2bd8 /target/linux/ramips | |
parent | 3fc8f50f56d822e40e946d1a0627def00760c471 (diff) | |
download | openwrt-10ea53f900ee0cb384a9610d8870ba86cd837791.tar.gz openwrt-10ea53f900ee0cb384a9610d8870ba86cd837791.tar.bz2 openwrt-10ea53f900ee0cb384a9610d8870ba86cd837791.zip |
ramips: add U-Boot env support for ALFA Network AC1200RM
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/dts/AC1200RM.dts | 7 | ||||
-rw-r--r-- | target/linux/ramips/image/mt7620.mk | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/AC1200RM.dts b/target/linux/ramips/dts/AC1200RM.dts index 9305cb00e0..9bdbf5cadf 100644 --- a/target/linux/ramips/dts/AC1200RM.dts +++ b/target/linux/ramips/dts/AC1200RM.dts @@ -148,8 +148,13 @@ }; partition@30000 { + label = "u-boot-env"; + reg = <0x30000 0x1000>; + }; + + partition@031000 { label = "config"; - reg = <0x30000 0x10000>; + reg = <0x31000 0xf000>; read-only; }; diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index e0a47b7340..c12a915245 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -32,7 +32,7 @@ define Device/alfa-network_ac1200rm DTS := AC1200RM IMAGE_SIZE := 16064k DEVICE_TITLE := ALFA Network AC1200RM - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci uboot-envtools endef TARGET_DEVICES += alfa-network_ac1200rm |