2019-04-02 18:28:39 -06:00
|
|
|
Index: openwrt/target/linux/ar71xx/base-files/etc/board.d/01_leds
|
|
|
|
===================================================================
|
|
|
|
--- openwrt.orig/target/linux/ar71xx/base-files/etc/board.d/01_leds
|
|
|
|
+++ openwrt/target/linux/ar71xx/base-files/etc/board.d/01_leds
|
2020-01-22 18:37:27 -07:00
|
|
|
@@ -693,6 +693,7 @@ rb-2011uias-2hnd-r2)
|
2019-04-02 18:28:39 -06:00
|
|
|
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"
|
|
|
|
Index: openwrt/target/linux/ar71xx/base-files/etc/board.d/02_network
|
|
|
|
===================================================================
|
|
|
|
--- openwrt.orig/target/linux/ar71xx/base-files/etc/board.d/02_network
|
|
|
|
+++ openwrt/target/linux/ar71xx/base-files/etc/board.d/02_network
|
2020-01-22 18:37:27 -07:00
|
|
|
@@ -114,6 +114,7 @@ ar71xx_setup_interfaces()
|
2019-04-02 18:28:39 -06:00
|
|
|
rb-921gs-5hpacd-r2|\
|
2020-01-22 18:37:27 -07:00
|
|
|
rb-922uags-5hpacd|\
|
2019-04-02 18:28:39 -06:00
|
|
|
rb-lhg-5nd|\
|
|
|
|
+ rb-lhg-5hpnd|\
|
|
|
|
rb-lhg-5hpnd-xl|\
|
|
|
|
rb-ldf-5nd|\
|
|
|
|
rb-mapl-2nd|\
|
|
|
|
Index: openwrt/target/linux/ar71xx/base-files/etc/diag.sh
|
|
|
|
===================================================================
|
|
|
|
--- openwrt.orig/target/linux/ar71xx/base-files/etc/diag.sh
|
|
|
|
+++ openwrt/target/linux/ar71xx/base-files/etc/diag.sh
|
2020-01-22 18:37:27 -07:00
|
|
|
@@ -378,6 +378,7 @@ get_status_led() {
|
2019-04-02 18:28:39 -06:00
|
|
|
rb-952ui-5ac2nd|\
|
|
|
|
rb-962uigs-5hact2hnt|\
|
|
|
|
rb-lhg-5nd|\
|
|
|
|
+ rb-lhg-5hpnd|\
|
|
|
|
rb-lhg-5hpnd-xl|\
|
|
|
|
rb-ldf-5nd|\
|
|
|
|
rb-map-2nd|\
|
|
|
|
Index: openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
|
|
|
===================================================================
|
|
|
|
--- openwrt.orig/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
|
|
|
+++ openwrt/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
2020-01-22 18:37:27 -07:00
|
|
|
@@ -528,6 +528,9 @@ mikrotik_board_detect() {
|
|
|
|
*"LHG 5nD")
|
2019-04-02 18:28:39 -06:00
|
|
|
name="rb-lhg-5nd"
|
|
|
|
;;
|
2020-01-22 18:37:27 -07:00
|
|
|
+ *"LHG 5HPnD")
|
2019-04-02 18:28:39 -06:00
|
|
|
+ name="rb-lhg-5hpnd"
|
|
|
|
+ ;;
|
2020-01-22 18:37:27 -07:00
|
|
|
*"LHG 5HPnD-XL")
|
2019-04-02 18:28:39 -06:00
|
|
|
name="rb-lhg-5hpnd-xl"
|
|
|
|
;;
|
|
|
|
Index: openwrt/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
|
|
|
===================================================================
|
|
|
|
--- openwrt.orig/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
|
|
|
+++ openwrt/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
2020-01-22 18:37:27 -07:00
|
|
|
@@ -728,6 +728,7 @@ platform_check_image() {
|
2019-04-02 18:28:39 -06:00
|
|
|
rb-952ui-5ac2nd|\
|
|
|
|
rb-962uigs-5hact2hnt|\
|
|
|
|
rb-lhg-5nd|\
|
|
|
|
+ rb-lhg-5hpnd|\
|
|
|
|
rb-lhg-5hpnd-xl|\
|
|
|
|
rb-ldf-5nd|\
|
|
|
|
rb-map-2nd|\
|
|
|
|
Index: openwrt/target/linux/ar71xx/image/mikrotik.mk
|
|
|
|
===================================================================
|
|
|
|
--- openwrt.orig/target/linux/ar71xx/image/mikrotik.mk
|
|
|
|
+++ openwrt/target/linux/ar71xx/image/mikrotik.mk
|
2020-01-22 18:37:27 -07:00
|
|
|
@@ -46,7 +46,7 @@ define Device/rb-nor-flash-16M
|
|
|
|
DEVICE_PACKAGES := rbcfg rssileds -nand-utils kmod-ledtrig-gpio
|
|
|
|
IMAGE_SIZE := 16000k
|
2019-04-02 18:28:39 -06:00
|
|
|
KERNEL_INSTALL := 1
|
2020-01-22 18:37:27 -07:00
|
|
|
- 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
|
2019-04-02 18:28:39 -06:00
|
|
|
IMAGE/sysupgrade.bin := append-kernel | kernel2minor -s 1024 -e | pad-to $$$$(BLOCKSIZE) | \
|
|
|
|
append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
|
|
endef
|