Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
board=$(board_name)
case "$board" in
+alfa-network,ac1200rm|\
alfa-network,awusfree1)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x1000"
;;
};
partition@30000 {
+ label = "u-boot-env";
+ reg = <0x30000 0x1000>;
+ };
+
+ partition@031000 {
label = "config";
- reg = <0x30000 0x10000>;
+ reg = <0x31000 0xf000>;
read-only;
};
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