[OpenWrt-Devel] [PATCH 4/4] lantiq: DGN3500 cleanups

Daniel Gimpelevich daniel at gimpelevich.san-francisco.ca.us
Sun Jan 18 00:47:10 EST 2015


This patch builds on the previous three to streamline support for the
Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel at gimpelevich.san-francisco.ca.us>
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network	(revision 44023)
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network	(working copy)
@@ -120,8 +120,6 @@
 	;;
 
 DGN3500*)
-	lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
-	wan_mac=$(macaddr_add "$lan_mac" 1)
 	ucidef_set_interface_lan "eth0.1"
 	ucidef_add_switch "switch0" "1" "1"
 	ucidef_add_switch_vlan "switch0" "1" "3 2 1 0 5t"
--- a/target/linux/lantiq/dts/DGN3500.dtsi	(revision 44023)
+++ b/target/linux/lantiq/dts/DGN3500.dtsi	(working copy)
@@ -2,7 +2,7 @@
 
 / {
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs-append = "root=/dev/mtdblock5 console=ttyLTQ0,115200";
 	};
 
 	memory at 0 {
_______________________________________________
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