[OpenWrt-Devel] [PATCH] lantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly on other lantiq boards

Ben Mulvihill ben.mulvihill at gmail.com
Sat Jul 12 07:51:29 EDT 2014


Generate the configuration file for uboot-envtools
on BTHOMEHUBV2B. Adds the specific parameters for the
BTHOMEHUBV2B and also fixes an incorrect path which
would have affected other lantiq boards as well
(currently only the GIGASX76X).

Signed-off-by: Ben Mulvihill <ben.mulvihill at gmail.com>
---

--- a/package/boot/uboot-envtools/files/lantiq	2014-07-12 12:21:37.981335005 +0200
+++ b/package/boot/uboot-envtools/files/lantiq	2014-07-12 12:21:02.024497834 +0200
@@ -7,7 +7,7 @@
 
 touch /etc/config/ubootenv
 
-. /lib/lantiq.sh
+. /lib/functions/lantiq.sh
 . /lib/uboot-envtools.sh
 . /lib/functions.sh
 
@@ -17,6 +17,9 @@ case "$board" in
 GIGASX76X)
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" "1"
 	;;
+BTHOMEHUBV2B)
+	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" "1"
+	;;
 esac
 
 config_load ubootenv
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list