From 43e71e04167db90c5ff7cf0b5ffdb2388217cbf3 Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Sun, 30 Sep 2018 19:21:39 +0200 Subject: [PATCH] uboot-envtools: adds r7800 uboot env support This fix and adds support for r7800 uboot env Signed-off-by: Ansuel Smith --- package/boot/uboot-envtools/Makefile | 2 +- package/boot/uboot-envtools/files/ipq806x | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index 2f8dd0ae64..7cd9e9fb63 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 4618aac892..c27bea71c1 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) -- 2.30.2