2
0
forked from Ivasoft/openwrt

Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK

Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK

Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43987
This commit is contained in:
John Crispin
2015-01-17 07:07:15 +00:00
parent b4d2b69c43
commit 7f77870c19
6 changed files with 39 additions and 12 deletions

View File

@@ -145,7 +145,9 @@ P2601HNFX)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
;;
P2812HNUFX)
P2812HNUF*)
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" "0 1 2 4 5 6t"