From: Ansuel Smith Date: Sun, 30 Sep 2018 17:21:39 +0000 (+0200) Subject: uboot-envtools: adds r7800 uboot env support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=43e71e04167db90c5ff7cf0b5ffdb2388217cbf3;p=openwrt%2Fstaging%2Frmilecki.git uboot-envtools: adds r7800 uboot env support This fix and adds support for r7800 uboot env Signed-off-by: Ansuel Smith --- diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index 2f8dd0ae64f..7cd9e9fb631 100644 --- a/package/boot/uboot-envtools/Makefile +++ b/package/boot/uboot-envtools/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uboot-envtools PKG_DISTNAME:=u-boot PKG_VERSION:=2018.03 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.xz diff --git a/package/boot/uboot-envtools/files/ipq806x b/package/boot/uboot-envtools/files/ipq806x index 4618aac892d..c27bea71c15 100644 --- a/package/boot/uboot-envtools/files/ipq806x +++ b/package/boot/uboot-envtools/files/ipq806x @@ -34,6 +34,9 @@ case "$board" in linksys,ea8500) ubootenv_add_uci_config "/dev/mtd10" "0x0" "0x20000" "0x20000" ;; +netgear,r7800) + ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x040000" "0x20000" + ;; qcom,ipq8064-ap148 |\ qcom,ipq8064-db149) ubootenv_add_uci_config $(ubootenv_mtdinfo)