Are you talking about the RouterBOARD 711G 5HnD or the RouterBOARD 711 5HnD? I only managed to flash the non-G variant, I'm still booting the other version over the network to this day.
Here is the original rb711-openwrt.patch:
From 7f38b7a2798d27d3268f1011f98eb4c47676a152 Mon Sep 17 00:00:00 2001
From: Jonas Heinrich <onny@project-insanity.org>
Date: Fri, 22 Jan 2016 19:50:51 +0000
Subject: [PATCH] =?UTF-8?q?meine=20=C3=A4nderungen?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
target/linux/ar71xx/base-files/lib/ar71xx.sh | 6 ++
.../ar71xx/files/arch/mips/ath79/mach-rb750.c | 104 +++++++++++++++++++++
.../linux/ar71xx/files/arch/mips/ath79/machtypes.h | 5 +
3 files changed, 115 insertions(+)
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 34d5741..0644ed3 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -704,6 +704,12 @@ ar71xx_board_detect() {
*"RouterBOARD 951Ui-2HnD")
name="rb-951ui-2hnd"
;;
+ *"RouterBOARD 711")
+ *"RouterBOARD 711G")
+ *"RouterBOARD 711GT")
+ *"RouterBOARD 711Gr100")
+ name="rb-711"
+ ;;
*"RouterBOARD 2011L")
name="rb-2011l"
;;
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
index 5656d3c..e295a64 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
@@ -344,3 +344,107 @@ static void __init rb751g_setup(void)
MIPS_MACHINE(ATH79_MACH_RB_751G, "751g", "MikroTik RouterBOARD 751G",
rb751g_setup);
+
+static void __init rb711_setup(void)
+{
+ ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED2_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED3_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED4_EN);
+
+ ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
+
+ ath79_register_mdio(0, 0x0);
+
+ ath79_register_eth(0);
+
+ ath79_register_usb();
+ rb751_wlan_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_711, "711", "MikroTik RouterBOARD 711",
+ rb711_setup);
+
+static void __init rb711r3_setup(void)
+{rb711_setup(); return;
+ ath79_register_mdio(0, 0x0);
+ mdiobus_register_board_info(rb750g3_mdio_info,
+ ARRAY_SIZE(rb750g3_mdio_info));
+
+ ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
+
+ ath79_register_eth(0);
+
+ rb750_leds_data.num_leds = ARRAY_SIZE(rb750gr3_leds);
+ rb750_leds_data.leds = rb750gr3_leds;
+ rb750_leds_data.latch_change = rb750gr3_latch_change;
+ platform_device_register(&rb750_leds_device);
+
+ rb750_nand_data.nce_line = RB7XX_NAND_NCE;
+ rb750_nand_data.enable_pins = rb750gr3_nand_enable_pins;
+ rb750_nand_data.disable_pins = rb750gr3_nand_disable_pins;
+ rb750_nand_data.latch_change = rb750gr3_latch_change;
+ platform_device_register(&rb750_nand_device);
+
+ ath79_register_usb();
+ rb751_wlan_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_711_R3, "711r3", "MikroTik RouterBOARD 711",
+ rb711r3_setup);
+
+static void __init rb711g_setup(void)
+{
+ ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED2_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED3_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED4_EN);
+
+ ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
+ ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
+
+ ath79_register_mdio(0, 0x0);
+
+ ath79_register_eth(0);
+
+ ath79_register_usb();
+ rb751_wlan_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_711G, "711G", "MikroTik RouterBOARD 711G",
+ rb711g_setup);
+
+MIPS_MACHINE(ATH79_MACH_RB_711GT, "711GT", "MikroTik RouterBOARD 711GT",
+ rb711g_setup);
+
+static void __init rb711gr100_setup(void)
+{
+ ath79_register_mdio(0, 0x0);
+ mdiobus_register_board_info(rb750g3_mdio_info,
+ ARRAY_SIZE(rb750g3_mdio_info));
+
+ ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
+ ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
+ ath79_eth0_data.phy_mask = BIT(0);
+
+ ath79_register_eth(0);
+
+ rb750_leds_data.num_leds = ARRAY_SIZE(rb750gr3_leds);
+ rb750_leds_data.leds = rb750gr3_leds;
+ rb750_leds_data.latch_change = rb750gr3_latch_change;
+ platform_device_register(&rb750_leds_device);
+
+ rb750_nand_data.nce_line = RB7XX_NAND_NCE;
+ rb750_nand_data.enable_pins = rb750gr3_nand_enable_pins;
+ rb750_nand_data.disable_pins = rb750gr3_nand_disable_pins;
+ rb750_nand_data.latch_change = rb750gr3_latch_change;
+ platform_device_register(&rb750_nand_device);
+
+ ath79_register_usb();
+ rb751_wlan_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_711GR100, "711Gr100", "MikroTik RouterBOARD 711Gr100",
+ rb711gr100_setup);
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/machtypes.h b/target/linux/ar71xx/files/arch/mips/ath79/machtypes.h
index a170e8d..1fe3e02 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/machtypes.h
+++ b/target/linux/ar71xx/files/arch/mips/ath79/machtypes.h
@@ -128,6 +128,10 @@ enum ath79_mach_type {
ATH79_MACH_RB_493, /* Mikrotik RouterBOARD 493/493AH */
ATH79_MACH_RB_493G, /* Mikrotik RouterBOARD 493G */
ATH79_MACH_RB_711GR100, /* Mikrotik RouterBOARD 911/912 boards */
+ ATH79_MACH_RB_711, /* MikroTik RouterBOARD 711 */
+ ATH79_MACH_RB_711_R3, /* MikroTik RouterBOARD 711 */
+ ATH79_MACH_RB_711G, /* MikroTik RouterBOARD 711G */
+ ATH79_MACH_RB_711GT, /* MikroTik RouterBOARD 711GT */
ATH79_MACH_RB_750, /* MikroTik RouterBOARD 750 */
ATH79_MACH_RB_750G_R3, /* MikroTik RouterBOARD 750GL */
ATH79_MACH_RB_751, /* MikroTik RouterBOARD 751 */
--
2.7.0
I also dug out my modified OpenWrt version and created a new patch for you:
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 14b661cfd7..7fe1e1b513 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -454,6 +454,14 @@ mikrotik_board_detect() {
*"750")
name="rb-750"
;;
+ *"711"|\
+ *"711HnD"|\
+ *"711GHnD"|\
+ *"711G"|\
+ *"711GT"|\
+ *"711Gr100")
+ name="rb-711"
+ ;;
*"750 r2"|\
*"750r2")
name="rb-750-r2"
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index f44cdb061f..4d51955c2a 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -548,6 +548,8 @@ platform_check_image() {
rb-450g|\
rb-493|\
rb-493g|\
+ rb-711-5hnd|\
+ rb-711g-5hnd|\
rb-750|\
rb-750gl|\
rb-751|\
@@ -868,6 +870,8 @@ platform_do_upgrade() {
rb-450g|\
rb-493|\
rb-493g|\
+ rb-711-5hnd|\
+ rb-711g-5hnd|\
rb-750|\
rb-750gl|\
rb-751|\
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
index 0ec94a80e3..77c73564bd 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
@@ -347,3 +347,179 @@ static void __init rb751g_setup(void)
MIPS_MACHINE(ATH79_MACH_RB_751G, "751g", "MikroTik RouterBOARD 751G",
rb751g_setup);
+
+static void __init rb711_setup(void)
+{
+ ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED2_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED3_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED4_EN);
+
+ ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
+
+ ath79_register_mdio(0, 0x0);
+
+ ath79_register_eth(0);
+
+ ath79_register_usb();
+ rb751_wlan_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_711, "711", "MikroTik RouterBOARD 711",
+ rb711_setup);
+
+static void __init rb711hnd_setup(void)
+{
+ ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED2_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED3_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED4_EN);
+
+ ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
+ ath79_init_mac(ath79_eth1_data.mac_addr, ath79_mac_base, 1);
+
+ ath79_register_mdio(0, 0x0);
+
+ ath79_register_eth(1);
+ ath79_register_eth(0);
+
+ rb750_leds_data.num_leds = ARRAY_SIZE(rb750gr3_leds);
+ rb750_leds_data.leds = rb750gr3_leds;
+ rb750_leds_data.latch_change = rb750gr3_latch_change;
+ platform_device_register(&rb750_leds_device);
+
+ rb750_nand_data.nce_line = RB750_NAND_NCE;
+ rb750_nand_data.enable_pins = rb750_nand_enable_pins;
+ rb750_nand_data.disable_pins = rb750_nand_disable_pins;
+ rb750_nand_data.latch_change = rb750_latch_change;
+ platform_device_register(&rb750_nand_device);
+
+ rb751_wlan_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_711HnD, "711HnD", "MikroTik RouterBOARD 711 5HnD",
+ rb711hnd_setup);
+
+static void __init rb711ghnd_setup(void)
+{
+ ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED2_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED3_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED4_EN);
+
+ ath79_register_mdio(0, 0x0);
+ mdiobus_register_board_info(rb750g3_mdio_info,
+ ARRAY_SIZE(rb750g3_mdio_info));
+
+ ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
+ ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
+ ath79_eth0_data.phy_mask = BIT(0);
+ //ath79_eth0_data.mii_bus_dev = &ath79_mdio0_device.dev;
+ ath79_eth0_pll_data.pll_1000 = 0x16000000;
+
+ ath79_register_eth(0);
+
+ rb750_leds_data.num_leds = ARRAY_SIZE(rb750gr3_leds);
+ rb750_leds_data.leds = rb750gr3_leds;
+ rb750_leds_data.latch_change = rb750gr3_latch_change;
+ platform_device_register(&rb750_leds_device);
+
+ rb750_nand_data.nce_line = RB750_NAND_NCE;
+ rb750_nand_data.enable_pins = rb750_nand_enable_pins;
+ rb750_nand_data.disable_pins = rb750_nand_disable_pins;
+ rb750_nand_data.latch_change = rb750_latch_change;
+ platform_device_register(&rb750_nand_device);
+
+ rb751_wlan_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_711GHnD, "711GHnD", "MikroTik RouterBOARD 711G 5HnD",
+ rb711ghnd_setup);
+
+static void __init rb711r3_setup(void)
+{rb711_setup(); return;
+ ath79_register_mdio(0, 0x0);
+ mdiobus_register_board_info(rb750g3_mdio_info,
+ ARRAY_SIZE(rb750g3_mdio_info));
+
+ ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
+
+ ath79_register_mdio(0, 0x0);
+
+ ath79_register_eth(0);
+
+ rb750_leds_data.num_leds = ARRAY_SIZE(rb750gr3_leds);
+ rb750_leds_data.leds = rb750gr3_leds;
+ rb750_leds_data.latch_change = rb750gr3_latch_change;
+ platform_device_register(&rb750_leds_device);
+
+ rb750_nand_data.nce_line = RB7XX_NAND_NCE;
+ rb750_nand_data.enable_pins = rb750gr3_nand_enable_pins;
+ rb750_nand_data.disable_pins = rb750gr3_nand_disable_pins;
+ rb750_nand_data.latch_change = rb750gr3_latch_change;
+ platform_device_register(&rb750_nand_device);
+
+ ath79_register_usb();
+ rb751_wlan_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_711_R3, "711r3", "MikroTik RouterBOARD 711",
+ rb711r3_setup);
+
+static void __init rb711g_setup(void)
+{
+ ath79_gpio_function_disable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED2_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED3_EN |
+ AR724X_GPIO_FUNC_ETH_SWITCH_LED4_EN);
+
+ ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
+ ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
+
+ ath79_register_mdio(0, 0x0);
+
+ ath79_register_eth(0);
+
+ ath79_register_usb();
+ rb751_wlan_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_711G, "711G", "MikroTik RouterBOARD 711G",
+ rb711g_setup);
+
+MIPS_MACHINE(ATH79_MACH_RB_711GT, "711GT", "MikroTik RouterBOARD 711GT",
+ rb711g_setup);
+
+static void __init rb711gr100_setup(void)
+{
+ ath79_register_mdio(0, 0x0);
+ mdiobus_register_board_info(rb750g3_mdio_info,
+ ARRAY_SIZE(rb750g3_mdio_info));
+
+ ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
+ ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
+ ath79_eth0_data.phy_mask = BIT(0);
+
+ ath79_register_eth(0);
+
+ rb750_leds_data.num_leds = ARRAY_SIZE(rb750gr3_leds);
+ rb750_leds_data.leds = rb750gr3_leds;
+ rb750_leds_data.latch_change = rb750gr3_latch_change;
+ platform_device_register(&rb750_leds_device);
+
+ rb750_nand_data.nce_line = RB7XX_NAND_NCE;
+ rb750_nand_data.enable_pins = rb750gr3_nand_enable_pins;
+ rb750_nand_data.disable_pins = rb750gr3_nand_disable_pins;
+ rb750_nand_data.latch_change = rb750gr3_latch_change;
+ platform_device_register(&rb750_nand_device);
+
+ ath79_register_usb();
+ rb751_wlan_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_711GR100, "711Gr100", "MikroTik RouterBOARD 711Gr100",
+ rb711gr100_setup);
diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default
index eb2f362034..bfd61003b4 100644
--- a/target/linux/ar71xx/mikrotik/config-default
+++ b/target/linux/ar71xx/mikrotik/config-default
@@ -77,3 +77,5 @@ CONFIG_UBIFS_FS_ADVANCED_COMPR=y
CONFIG_UBIFS_FS_ZLIB=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_ZLIB_INFLATE=y
+CONFIG_CMDLINE="console=ttyS0,115200 GPIO_RESET=yes gpio=790341 HZ=400000000 mem=32M kmac=d4:ca:6d:12:34:56 board=711HnD ubi.mtd=ubi root=/dev/ubiblock0_1 rootfstype=squashfs noinitrd"
+CONFIG_CMDLINE_OVERRIDE=y
Apply it on top of the openwrt-19.07 branch. This patch should work for the non-G version. For the other one, add a G to CONFIG_CMDLINE
in the right place. Only the non-G version works properly when flashed with this, the other version needs to be booted over the network. Let me know if you have trouble getting this working and I'll try to help you.
If you ever try to port this to ath79, let me know so we can work on this together.