mirror of https://github.com/aredn/aredn.git
81 lines
2.7 KiB
Diff
81 lines
2.7 KiB
Diff
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
|
|
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
|
|
@@ -693,6 +693,7 @@ rb-2011uias-2hnd-r2)
|
|
ucidef_set_led_switch "eth10" "ETH10" "rb:green:eth10" "switch1" "0x02"
|
|
;;
|
|
rb-lhg-5nd|\
|
|
+rb-lhg-5hpnd|\
|
|
rb-lhg-5hpnd-xl|\
|
|
rb-ldf-5nd)
|
|
ucidef_set_led_netdev "lan" "LAN" "rb:green:eth" "eth0"
|
|
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
|
|
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
|
|
@@ -114,6 +114,7 @@ ar71xx_setup_interfaces()
|
|
rb-921gs-5hpacd-r2|\
|
|
rb-922uags-5hpacd|\
|
|
rb-lhg-5nd|\
|
|
+ rb-lhg-5hpnd|\
|
|
rb-lhg-5hpnd-xl|\
|
|
rb-ldf-5nd|\
|
|
rb-mapl-2nd|\
|
|
--- a/target/linux/ar71xx/base-files/etc/diag.sh
|
|
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
|
|
@@ -379,6 +379,7 @@ get_status_led() {
|
|
rb-952ui-5ac2nd|\
|
|
rb-962uigs-5hact2hnt|\
|
|
rb-lhg-5nd|\
|
|
+ rb-lhg-5hpnd|\
|
|
rb-lhg-5hpnd-xl|\
|
|
rb-ldf-5nd|\
|
|
rb-map-2nd|\
|
|
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
|
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
|
@@ -525,9 +525,13 @@ mikrotik_board_detect() {
|
|
*"962UiGS-5HacT2HnT")
|
|
name="rb-962uigs-5hact2hnt"
|
|
;;
|
|
+ *"LHG-5nD"|\
|
|
*"LHG 5nD")
|
|
name="rb-lhg-5nd"
|
|
;;
|
|
+ *"LHG 5HPnD")
|
|
+ name="rb-lhg-5hpnd"
|
|
+ ;;
|
|
*"LHG 5HPnD-XL")
|
|
name="rb-lhg-5hpnd-xl"
|
|
;;
|
|
@@ -566,6 +570,12 @@ mikrotik_board_detect() {
|
|
*"wAPG-5HacT2HnD")
|
|
name="rb-wapg-5hact2hnd"
|
|
;;
|
|
+ *"RBLHG-5HPnD")
|
|
+ name="rb-lhg-5hpnd"
|
|
+ ;;
|
|
+ *"RBLHG-2nD")
|
|
+ name="rb-lhg-5nd"
|
|
+ ;;
|
|
esac
|
|
|
|
echo "$name"
|
|
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
|
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
|
@@ -728,6 +728,7 @@ platform_check_image() {
|
|
rb-952ui-5ac2nd|\
|
|
rb-962uigs-5hact2hnt|\
|
|
rb-lhg-5nd|\
|
|
+ rb-lhg-5hpnd|\
|
|
rb-lhg-5hpnd-xl|\
|
|
rb-ldf-5nd|\
|
|
rb-map-2nd|\
|
|
--- a/target/linux/ar71xx/image/mikrotik.mk
|
|
+++ b/target/linux/ar71xx/image/mikrotik.mk
|
|
@@ -46,7 +46,7 @@ define Device/rb-nor-flash-16M
|
|
DEVICE_PACKAGES := rbcfg rssileds -nand-utils kmod-ledtrig-gpio
|
|
IMAGE_SIZE := 16000k
|
|
KERNEL_INSTALL := 1
|
|
- SUPPORTED_DEVICES := rb-750-r2 rb-750up-r2 rb-750p-pbr2 rb-911-2hn rb-911-5hn rb-931-2nd rb-941-2nd rb-951ui-2nd rb-952ui-5ac2nd rb-962uigs-5hact2hnt rb-lhg-5nd rb-lhg-5hpnd-xl rb-ldf-5nd rb-map-2nd rb-mapl-2nd rb-wap-2nd rb-wapr-2nd rb-sxt-2nd-r3
|
|
+ SUPPORTED_DEVICES := rb-750-r2 rb-750up-r2 rb-750p-pbr2 rb-911-2hn rb-911-5hn rb-931-2nd rb-941-2nd rb-951ui-2nd rb-952ui-5ac2nd rb-962uigs-5hact2hnt rb-lhg-5nd rb-lhg-5hpnd rb-lhg-5hpnd-xl rb-ldf-5nd rb-map-2nd rb-mapl-2nd rb-wap-2nd rb-wapr-2nd rb-sxt-2nd-r3
|
|
IMAGE/sysupgrade.bin := append-kernel | kernel2minor -s 1024 -e | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
endef
|