ramips: add U-Boot env support for ALFA Network AC1200RM

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
master
Piotr Dymacz 7 years ago
parent 3fc8f50f56
commit 10ea53f900
  1. 1
      package/boot/uboot-envtools/files/ramips
  2. 7
      target/linux/ramips/dts/AC1200RM.dts
  3. 2
      target/linux/ramips/image/mt7620.mk

@ -13,6 +13,7 @@ touch /etc/config/ubootenv
board=$(board_name) board=$(board_name)
case "$board" in case "$board" in
alfa-network,ac1200rm|\
alfa-network,awusfree1) alfa-network,awusfree1)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x1000" ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x1000"
;; ;;

@ -148,8 +148,13 @@
}; };
partition@30000 { partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x1000>;
};
partition@031000 {
label = "config"; label = "config";
reg = <0x30000 0x10000>; reg = <0x31000 0xf000>;
read-only; read-only;
}; };

@ -32,7 +32,7 @@ define Device/alfa-network_ac1200rm
DTS := AC1200RM DTS := AC1200RM
IMAGE_SIZE := 16064k IMAGE_SIZE := 16064k
DEVICE_TITLE := ALFA Network AC1200RM DEVICE_TITLE := ALFA Network AC1200RM
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci uboot-envtools
endef endef
TARGET_DEVICES += alfa-network_ac1200rm TARGET_DEVICES += alfa-network_ac1200rm

Loading…
Cancel
Save