ramips: add Poray M4 4M/8M support

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
This commit is contained in:
John Crispin
2013-08-01 14:30:58 +00:00
parent 23d3b705df
commit 0dc3b44b0d
9 changed files with 222 additions and 2 deletions

View File

@@ -75,7 +75,8 @@ preinit_set_mac_address() {
mac=$(mtd_get_mac_binary factory 40)
ifconfig eth0 hw ether $mac 2>/dev/null
;;
m3)
m3 |\
m4)
mac=$(mtd_get_mac_binary factory 4)
mac=$(macaddr_add "$mac" -1)
ifconfig eth0 hw ether $mac 2>/dev/null

View File

@@ -151,6 +151,9 @@ ramips_board_detect() {
*"Poray M3")
name="m3"
;;
*"Poray M4")
name="m4"
;;
*"PWH2004")
name="pwh2004"
;;

View File

@@ -45,6 +45,7 @@ platform_check_image() {
hw550-3g | \
hg255d | \
m3 | \
m4 | \
mofi3500-3gn | \
mpr-a1 | \
mpr-a2 | \