2022-04-24 16:14:10 -06:00
|
|
|
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
|
|
|
|
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
|
2020-01-22 18:37:27 -07:00
|
|
|
@@ -693,7 +693,8 @@ rb-2011uias-2hnd-r2)
|
2018-12-07 20:46:13 -07:00
|
|
|
ucidef_set_led_switch "eth10" "ETH10" "rb:green:eth10" "switch1" "0x02"
|
|
|
|
;;
|
|
|
|
rb-lhg-5nd|\
|
|
|
|
-rb-lhg-5hpnd-xl)
|
|
|
|
+rb-lhg-5hpnd-xl|\
|
|
|
|
+rb-ldf-5nd)
|
|
|
|
ucidef_set_led_netdev "lan" "LAN" "rb:green:eth" "eth0"
|
|
|
|
ucidef_set_rssimon "wlan0" "200000" "1"
|
|
|
|
ucidef_set_led_rssi "rssilow" "RSSILOW" "rb:green:rssi0" "wlan0" "1" "100" "0" "13"
|
2022-04-24 16:14:10 -06:00
|
|
|
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
|
|
|
|
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
|
2020-01-22 18:37:27 -07:00
|
|
|
@@ -115,6 +115,7 @@ ar71xx_setup_interfaces()
|
|
|
|
rb-922uags-5hpacd|\
|
2018-12-07 20:46:13 -07:00
|
|
|
rb-lhg-5nd|\
|
|
|
|
rb-lhg-5hpnd-xl|\
|
|
|
|
+ rb-ldf-5nd|\
|
|
|
|
rb-mapl-2nd|\
|
|
|
|
rb-sxt2n|\
|
2020-01-22 18:37:27 -07:00
|
|
|
rb-sxt-2nd-r3|\
|
2022-04-24 16:14:10 -06:00
|
|
|
--- a/target/linux/ar71xx/base-files/etc/diag.sh
|
|
|
|
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
|
|
|
|
@@ -380,6 +380,7 @@ get_status_led() {
|
2018-12-07 20:46:13 -07:00
|
|
|
rb-962uigs-5hact2hnt|\
|
|
|
|
rb-lhg-5nd|\
|
|
|
|
rb-lhg-5hpnd-xl|\
|
|
|
|
+ rb-ldf-5nd|\
|
|
|
|
rb-map-2nd|\
|
|
|
|
rb-mapl-2nd|\
|
2020-01-22 18:37:27 -07:00
|
|
|
rb-sxt-2nd-r3|\
|
2022-04-24 16:14:10 -06:00
|
|
|
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
|
|
|
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
|
2020-01-22 18:37:27 -07:00
|
|
|
@@ -528,6 +528,12 @@ mikrotik_board_detect() {
|
|
|
|
*"LHG 5HPnD-XL")
|
2018-12-07 20:46:13 -07:00
|
|
|
name="rb-lhg-5hpnd-xl"
|
|
|
|
;;
|
2020-01-22 18:37:27 -07:00
|
|
|
+ *"LDF-5nD")
|
2018-12-07 20:46:13 -07:00
|
|
|
+ name="rb-ldf-5nd"
|
2019-05-04 09:59:10 -06:00
|
|
|
+ ;;
|
2020-01-22 18:37:27 -07:00
|
|
|
+ *"RBLDF-5nD")
|
2019-05-04 09:59:10 -06:00
|
|
|
+ name="rb-ldf-5nd"
|
2018-12-07 20:46:13 -07:00
|
|
|
+ ;;
|
2020-01-22 18:37:27 -07:00
|
|
|
*"mAP 2nD"|\
|
|
|
|
*"mAP2nD")
|
2018-12-07 20:46:13 -07:00
|
|
|
name="rb-map-2nd"
|
2022-04-24 16:14:10 -06:00
|
|
|
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
|
|
|
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
|
2020-01-22 18:37:27 -07:00
|
|
|
@@ -729,6 +729,7 @@ platform_check_image() {
|
2018-12-07 20:46:13 -07:00
|
|
|
rb-962uigs-5hact2hnt|\
|
|
|
|
rb-lhg-5nd|\
|
|
|
|
rb-lhg-5hpnd-xl|\
|
|
|
|
+ rb-ldf-5nd|\
|
|
|
|
rb-map-2nd|\
|
|
|
|
rb-mapl-2nd|\
|
2020-01-22 18:37:27 -07:00
|
|
|
rb-sxt-2nd-r3|\
|
|
|
|
@@ -759,6 +760,7 @@ platform_pre_upgrade() {
|
2018-12-07 20:46:13 -07:00
|
|
|
rb-962uigs-5hact2hnt|\
|
|
|
|
rb-lhg-5nd|\
|
|
|
|
rb-lhg-5hpnd-xl|\
|
|
|
|
+ rb-ldf-5nd|\
|
|
|
|
rb-map-2nd|\
|
|
|
|
rb-mapl-2nd|\
|
2020-01-22 18:37:27 -07:00
|
|
|
rb-sxt-2nd-r3|\
|
2022-04-24 16:14:10 -06:00
|
|
|
--- a/target/linux/ar71xx/image/mikrotik.mk
|
|
|
|
+++ b/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
|
2018-12-07 20:46:13 -07: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-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-xl rb-ldf-5nd rb-map-2nd rb-mapl-2nd rb-wap-2nd rb-wapr-2nd rb-sxt-2nd-r3
|
2018-12-07 20:46:13 -07:00
|
|
|
IMAGE/sysupgrade.bin := append-kernel | kernel2minor -s 1024 -e | pad-to $$$$(BLOCKSIZE) | \
|
|
|
|
append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
|
|
endef
|