Skip to content

[openwrt-24.10] rockchip: Add support for RK3568 LinkEase EasePi R1 - #20744

Closed
jjm2473 wants to merge 5 commits into
openwrt:openwrt-24.10from
jjm2473:op-24.10/easepi-r1
Closed

jjm2473 wants to merge 5 commits into
openwrt:openwrt-24.10from
jjm2473:op-24.10/easepi-r1

Conversation

@jjm2473

@jjm2473 jjm2473 commented Nov 12, 2025 •

Copy link
Copy Markdown
Contributor

This PR is a backport of #20147 #20779 and #20772 .

Note: #20772 has been slightly modified to be compatible with u-boot 2024.10.


Specification:

  • Rockchip RK3568
  • 2GB/4GB LPDDR4 RAM
  • 16GB on-board eMMC
  • 1x M.2 key for 2280 NVMe (PCIe 3.0)
  • 1x USB 3.0 Type-A
  • 1x USB 2.0 Type-C (for USB flashing)
  • 2x 1000 Base-T (native, RTL8211F)
  • 2x 2500 Base-T (PCIe, RTL8125B)
  • 1x HDMI 2.0 Output
  • 12v DC Jack
  • 1x Power key connected to PMIC
  • 2x LEDs (one static power supplied, one GPIO controlled)

Debug Serial Port: 3.3V TTL, 3-pin 2.54mm pitch connector, 1500000 bauds,
'J7' on board with G/R/T (GND/RX/TX) pins marked

Installation - eMMC:
-Boot official firmware (OpenWRT based)
-Upload sysupgrade.img.gz to /tmp/firmware.bin (with scp or web page)
-Flash to eMMC: sysupgrade -n -p -F /tmp/firmware.bin

@github-actions github-actions Bot added core packages pull request/issue for core (in-tree) packages target/rockchip pull request/issue for rockchip target release/24.10 pull request/issue targeted (also) for OpenWrt 24.10 release labels Nov 12, 2025
@1715173329

Copy link
Copy Markdown
Member

LGTM if it's run-tested.

@jjm2473

This comment was marked as outdated.

@jjm2473
jjm2473 marked this pull request as draft November 12, 2025 16:17
@1715173329

Copy link
Copy Markdown
Member

The kernel now more or less relies on u-boot to reset the PHY first. You may probably want to create a dedicated u-boot for this board instead of using the generic-rk3568 configuration.

@jjm2473

jjm2473 commented Nov 13, 2025

Copy link
Copy Markdown
Contributor Author

@1715173329 A dedicated U-Boot can indeed solve this problem, but I think it's unreasonable. I'll look into whether there are other solutions.

@jjm2473

jjm2473 commented Nov 13, 2025

Copy link
Copy Markdown
Contributor Author

@1715173329
I found that moving reset-* from rgmii_phy to snps,reset-* in gmac solves this problem, but snps,reset-* is deprecated by upstream linux.

dts for R1 is expected to be added in Linux 6.19, I think U-Boot may not accept R1 patches right now.

So should I use snps,reset-* as a temporary workaround, and then switch to a dedicated U-Boot once it's ready? Or do I have to wait until the upstream U-Boot is ready?

@1715173329

Copy link
Copy Markdown
Member

I found that moving reset-* from rgmii_phy to snps,reset-* in gmac solves this problem, but snps,reset-* is deprecated by upstream linux.

Yes.

dts for R1 is expected to be added in Linux 6.19, I think U-Boot may not accept R1 patches right now.

Just create a patch for uboot-rockchip for now, it's okay.

So should I use snps,reset-* as a temporary workaround, and then switch to a dedicated U-Boot once it's ready? Or do I have to wait until the upstream U-Boot is ready?

@jjm2473

jjm2473 commented Nov 13, 2025

Copy link
Copy Markdown
Contributor Author

main branch PR for uboot-rockchip is ready for review #20772

@jjm2473
jjm2473 marked this pull request as ready for review November 21, 2025 13:31
@jjm2473

jjm2473 commented Nov 21, 2025

Copy link
Copy Markdown
Contributor Author

This PR is ready for review, has been run-tested.

Note that the commit uboot-rockchip: add dedicated uboot for LinkEase EasePi R1 is slightly different from the main branch.

@jjm2473

jjm2473 commented Nov 25, 2025

Copy link
Copy Markdown
Contributor Author

ping @hauke

generic-rk3568 is enough

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20147
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit ef09329)
Specification:
- Rockchip RK3568
- 2GB/4GB LPDDR4 RAM
- 16GB on-board eMMC
- 1x M.2 key for 2280 NVMe (PCIe 3.0)
- 1x USB 3.0 Type-A
- 1x USB 2.0 Type-C (for USB flashing)
- 2x 1000 Base-T (native, RTL8211F)
- 2x 2500 Base-T (PCIe, RTL8125B)
- 1x HDMI 2.0 Output
- 12v DC Jack
- 1x Power key connected to PMIC
- 2x LEDs (one static power supplied, one GPIO controlled)

Debug Serial Port: 3.3V TTL, 3-pin 2.54mm pitch connector, 1500000 bauds,
'J7' on board with G/R/T (GND/RX/TX) pins marked

Installation - eMMC:
-Boot official firmware (OpenWRT based)
-Upload sysupgrade.img.gz to /tmp/firmware.bin (with scp or web page)
-Flash to eMMC: sysupgrade -n -p -F /tmp/firmware.bin

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20147
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 8ca4caa)
[refresh patches upon 24.10 branch]
The probe order for PCIe buses and devices is non-deterministic,
making the names eth2 and eth3 unpredictable (they may be swapped).

This patch fixes the names by referencing the device path using
`ucidef_set_network_device_path`.

This patch ensures that the OpenWrt interface name matches the case label.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20779
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit d7530c1)
The generic-rk3568 does not reset the gmac phy, causing the kernel to
fail to initialize gmac during cold boot with the error message
"mdio_bus stmmac-1: MDIO device at address 1 is missing."

Adding a dedicated uboot for EasePi R1 to resolve this issue.

The EasePi R1's DTS hasn't been merged into the Linux release yet,
so it cannot be submitted to the upstream u-boot.

Fixes: ef09329 ("uboot-rockchip: add support for LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20772
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 5dff7b4)

With changes:
1. Reorder patch file names (`105-*` to `106-*`).
2. configs/easepi-r1-rk3568_defconfig needs CONFIG_SPL_PAD_TO on u-boot 2024.10.

Signed-off-by: Liangbin Lian <[email protected]>
Fixes the "mdio_bus stmmac-1: MDIO device at address 1 is missing" error
that occurs during cold boot when initializing GMAC.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20772
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit e6a5ca0)
openwrt-bot pushed a commit that referenced this pull request Nov 29, 2025
generic-rk3568 is enough

Signed-off-by: Liangbin Lian <[email protected]>
Link: #20147
(cherry picked from commit ef09329)
Link: #20744
Signed-off-by: Hauke Mehrtens <[email protected]>
openwrt-bot pushed a commit that referenced this pull request Nov 29, 2025
Specification:
- Rockchip RK3568
- 2GB/4GB LPDDR4 RAM
- 16GB on-board eMMC
- 1x M.2 key for 2280 NVMe (PCIe 3.0)
- 1x USB 3.0 Type-A
- 1x USB 2.0 Type-C (for USB flashing)
- 2x 1000 Base-T (native, RTL8211F)
- 2x 2500 Base-T (PCIe, RTL8125B)
- 1x HDMI 2.0 Output
- 12v DC Jack
- 1x Power key connected to PMIC
- 2x LEDs (one static power supplied, one GPIO controlled)

Debug Serial Port: 3.3V TTL, 3-pin 2.54mm pitch connector, 1500000 bauds,
'J7' on board with G/R/T (GND/RX/TX) pins marked

Installation - eMMC:
-Boot official firmware (OpenWRT based)
-Upload sysupgrade.img.gz to /tmp/firmware.bin (with scp or web page)
-Flash to eMMC: sysupgrade -n -p -F /tmp/firmware.bin

Signed-off-by: Liangbin Lian <[email protected]>
Link: #20147
(cherry picked from commit 8ca4caa)
[refresh patches upon 24.10 branch]
Link: #20744
Signed-off-by: Hauke Mehrtens <[email protected]>
openwrt-bot pushed a commit that referenced this pull request Nov 29, 2025
The probe order for PCIe buses and devices is non-deterministic,
making the names eth2 and eth3 unpredictable (they may be swapped).

This patch fixes the names by referencing the device path using
`ucidef_set_network_device_path`.

This patch ensures that the OpenWrt interface name matches the case label.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: #20779
(cherry picked from commit d7530c1)
Link: #20744
Signed-off-by: Hauke Mehrtens <[email protected]>
openwrt-bot pushed a commit that referenced this pull request Nov 29, 2025
The generic-rk3568 does not reset the gmac phy, causing the kernel to
fail to initialize gmac during cold boot with the error message
"mdio_bus stmmac-1: MDIO device at address 1 is missing."

Adding a dedicated uboot for EasePi R1 to resolve this issue.

The EasePi R1's DTS hasn't been merged into the Linux release yet,
so it cannot be submitted to the upstream u-boot.

Fixes: ef09329 ("uboot-rockchip: add support for LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: #20772
(cherry picked from commit 5dff7b4)

With changes:
1. Reorder patch file names (`105-*` to `106-*`).
2. configs/easepi-r1-rk3568_defconfig needs CONFIG_SPL_PAD_TO on u-boot 2024.10.

Signed-off-by: Liangbin Lian <[email protected]>
Link: #20744
Signed-off-by: Hauke Mehrtens <[email protected]>
openwrt-bot pushed a commit that referenced this pull request Nov 29, 2025
Fixes the "mdio_bus stmmac-1: MDIO device at address 1 is missing" error
that occurs during cold boot when initializing GMAC.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: #20772
(cherry picked from commit e6a5ca0)
Link: #20744
Signed-off-by: Hauke Mehrtens <[email protected]>
@hauke

hauke commented Nov 29, 2025

Copy link
Copy Markdown
Member

Applied to openwrt-24.10 in e35f377, c795a91, fbaf527, 9c25d39 and 414f196.

AaronElijah pushed a commit to botblox/openwrt that referenced this pull request Mar 3, 2026
generic-rk3568 is enough

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20147
(cherry picked from commit ef09329)
Link: openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
AaronElijah pushed a commit to botblox/openwrt that referenced this pull request Mar 3, 2026
Specification:
- Rockchip RK3568
- 2GB/4GB LPDDR4 RAM
- 16GB on-board eMMC
- 1x M.2 key for 2280 NVMe (PCIe 3.0)
- 1x USB 3.0 Type-A
- 1x USB 2.0 Type-C (for USB flashing)
- 2x 1000 Base-T (native, RTL8211F)
- 2x 2500 Base-T (PCIe, RTL8125B)
- 1x HDMI 2.0 Output
- 12v DC Jack
- 1x Power key connected to PMIC
- 2x LEDs (one static power supplied, one GPIO controlled)

Debug Serial Port: 3.3V TTL, 3-pin 2.54mm pitch connector, 1500000 bauds,
'J7' on board with G/R/T (GND/RX/TX) pins marked

Installation - eMMC:
-Boot official firmware (OpenWRT based)
-Upload sysupgrade.img.gz to /tmp/firmware.bin (with scp or web page)
-Flash to eMMC: sysupgrade -n -p -F /tmp/firmware.bin

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20147
(cherry picked from commit 8ca4caa)
[refresh patches upon 24.10 branch]
Link: openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
AaronElijah pushed a commit to botblox/openwrt that referenced this pull request Mar 3, 2026
The probe order for PCIe buses and devices is non-deterministic,
making the names eth2 and eth3 unpredictable (they may be swapped).

This patch fixes the names by referencing the device path using
`ucidef_set_network_device_path`.

This patch ensures that the OpenWrt interface name matches the case label.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20779
(cherry picked from commit d7530c1)
Link: openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
AaronElijah pushed a commit to botblox/openwrt that referenced this pull request Mar 3, 2026
The generic-rk3568 does not reset the gmac phy, causing the kernel to
fail to initialize gmac during cold boot with the error message
"mdio_bus stmmac-1: MDIO device at address 1 is missing."

Adding a dedicated uboot for EasePi R1 to resolve this issue.

The EasePi R1's DTS hasn't been merged into the Linux release yet,
so it cannot be submitted to the upstream u-boot.

Fixes: ef09329 ("uboot-rockchip: add support for LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20772
(cherry picked from commit 5dff7b4)

With changes:
1. Reorder patch file names (`105-*` to `106-*`).
2. configs/easepi-r1-rk3568_defconfig needs CONFIG_SPL_PAD_TO on u-boot 2024.10.

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
AaronElijah pushed a commit to botblox/openwrt that referenced this pull request Mar 3, 2026
Fixes the "mdio_bus stmmac-1: MDIO device at address 1 is missing" error
that occurs during cold boot when initializing GMAC.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt#20772
(cherry picked from commit e6a5ca0)
Link: openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
Rokith-BT pushed a commit to Gemicates-Tech/prplos that referenced this pull request Mar 17, 2026
generic-rk3568 is enough

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20147
(cherry picked from commit ef09329)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit e35f377)
Rokith-BT pushed a commit to Gemicates-Tech/prplos that referenced this pull request Mar 17, 2026
Specification:
- Rockchip RK3568
- 2GB/4GB LPDDR4 RAM
- 16GB on-board eMMC
- 1x M.2 key for 2280 NVMe (PCIe 3.0)
- 1x USB 3.0 Type-A
- 1x USB 2.0 Type-C (for USB flashing)
- 2x 1000 Base-T (native, RTL8211F)
- 2x 2500 Base-T (PCIe, RTL8125B)
- 1x HDMI 2.0 Output
- 12v DC Jack
- 1x Power key connected to PMIC
- 2x LEDs (one static power supplied, one GPIO controlled)

Debug Serial Port: 3.3V TTL, 3-pin 2.54mm pitch connector, 1500000 bauds,
'J7' on board with G/R/T (GND/RX/TX) pins marked

Installation - eMMC:
-Boot official firmware (OpenWRT based)
-Upload sysupgrade.img.gz to /tmp/firmware.bin (with scp or web page)
-Flash to eMMC: sysupgrade -n -p -F /tmp/firmware.bin

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20147
(cherry picked from commit 8ca4caa)
[refresh patches upon 24.10 branch]
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit c795a91)
Rokith-BT pushed a commit to Gemicates-Tech/prplos that referenced this pull request Mar 17, 2026
The probe order for PCIe buses and devices is non-deterministic,
making the names eth2 and eth3 unpredictable (they may be swapped).

This patch fixes the names by referencing the device path using
`ucidef_set_network_device_path`.

This patch ensures that the OpenWrt interface name matches the case label.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20779
(cherry picked from commit d7530c1)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit fbaf527)
Rokith-BT pushed a commit to Gemicates-Tech/prplos that referenced this pull request Mar 17, 2026
The generic-rk3568 does not reset the gmac phy, causing the kernel to
fail to initialize gmac during cold boot with the error message
"mdio_bus stmmac-1: MDIO device at address 1 is missing."

Adding a dedicated uboot for EasePi R1 to resolve this issue.

The EasePi R1's DTS hasn't been merged into the Linux release yet,
so it cannot be submitted to the upstream u-boot.

Fixes: ef09329 ("uboot-rockchip: add support for LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20772
(cherry picked from commit 5dff7b4)

With changes:
1. Reorder patch file names (`105-*` to `106-*`).
2. configs/easepi-r1-rk3568_defconfig needs CONFIG_SPL_PAD_TO on u-boot 2024.10.

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 9c25d39)
Rokith-BT pushed a commit to Gemicates-Tech/prplos that referenced this pull request Mar 17, 2026
Fixes the "mdio_bus stmmac-1: MDIO device at address 1 is missing" error
that occurs during cold boot when initializing GMAC.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20772
(cherry picked from commit e6a5ca0)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 414f196)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/qsdk_oss_prpl-foundation_prplos_prplos that referenced this pull request Jul 8, 2026
generic-rk3568 is enough

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20147
(cherry picked from commit ef09329)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit e35f377)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/qsdk_oss_prpl-foundation_prplos_prplos that referenced this pull request Jul 8, 2026
Specification:
- Rockchip RK3568
- 2GB/4GB LPDDR4 RAM
- 16GB on-board eMMC
- 1x M.2 key for 2280 NVMe (PCIe 3.0)
- 1x USB 3.0 Type-A
- 1x USB 2.0 Type-C (for USB flashing)
- 2x 1000 Base-T (native, RTL8211F)
- 2x 2500 Base-T (PCIe, RTL8125B)
- 1x HDMI 2.0 Output
- 12v DC Jack
- 1x Power key connected to PMIC
- 2x LEDs (one static power supplied, one GPIO controlled)

Debug Serial Port: 3.3V TTL, 3-pin 2.54mm pitch connector, 1500000 bauds,
'J7' on board with G/R/T (GND/RX/TX) pins marked

Installation - eMMC:
-Boot official firmware (OpenWRT based)
-Upload sysupgrade.img.gz to /tmp/firmware.bin (with scp or web page)
-Flash to eMMC: sysupgrade -n -p -F /tmp/firmware.bin

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20147
(cherry picked from commit 8ca4caa)
[refresh patches upon 24.10 branch]
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit c795a91)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/qsdk_oss_prpl-foundation_prplos_prplos that referenced this pull request Jul 8, 2026
The probe order for PCIe buses and devices is non-deterministic,
making the names eth2 and eth3 unpredictable (they may be swapped).

This patch fixes the names by referencing the device path using
`ucidef_set_network_device_path`.

This patch ensures that the OpenWrt interface name matches the case label.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20779
(cherry picked from commit d7530c1)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit fbaf527)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/qsdk_oss_prpl-foundation_prplos_prplos that referenced this pull request Jul 8, 2026
The generic-rk3568 does not reset the gmac phy, causing the kernel to
fail to initialize gmac during cold boot with the error message
"mdio_bus stmmac-1: MDIO device at address 1 is missing."

Adding a dedicated uboot for EasePi R1 to resolve this issue.

The EasePi R1's DTS hasn't been merged into the Linux release yet,
so it cannot be submitted to the upstream u-boot.

Fixes: ef09329 ("uboot-rockchip: add support for LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20772
(cherry picked from commit 5dff7b4)

With changes:
1. Reorder patch file names (`105-*` to `106-*`).
2. configs/easepi-r1-rk3568_defconfig needs CONFIG_SPL_PAD_TO on u-boot 2024.10.

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 9c25d39)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/qsdk_oss_prpl-foundation_prplos_prplos that referenced this pull request Jul 8, 2026
Fixes the "mdio_bus stmmac-1: MDIO device at address 1 is missing" error
that occurs during cold boot when initializing GMAC.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20772
(cherry picked from commit e6a5ca0)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 414f196)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
generic-rk3568 is enough

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20147
(cherry picked from commit ef09329)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit e35f377)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
Specification:
- Rockchip RK3568
- 2GB/4GB LPDDR4 RAM
- 16GB on-board eMMC
- 1x M.2 key for 2280 NVMe (PCIe 3.0)
- 1x USB 3.0 Type-A
- 1x USB 2.0 Type-C (for USB flashing)
- 2x 1000 Base-T (native, RTL8211F)
- 2x 2500 Base-T (PCIe, RTL8125B)
- 1x HDMI 2.0 Output
- 12v DC Jack
- 1x Power key connected to PMIC
- 2x LEDs (one static power supplied, one GPIO controlled)

Debug Serial Port: 3.3V TTL, 3-pin 2.54mm pitch connector, 1500000 bauds,
'J7' on board with G/R/T (GND/RX/TX) pins marked

Installation - eMMC:
-Boot official firmware (OpenWRT based)
-Upload sysupgrade.img.gz to /tmp/firmware.bin (with scp or web page)
-Flash to eMMC: sysupgrade -n -p -F /tmp/firmware.bin

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20147
(cherry picked from commit 8ca4caa)
[refresh patches upon 24.10 branch]
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit c795a91)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
The probe order for PCIe buses and devices is non-deterministic,
making the names eth2 and eth3 unpredictable (they may be swapped).

This patch fixes the names by referencing the device path using
`ucidef_set_network_device_path`.

This patch ensures that the OpenWrt interface name matches the case label.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20779
(cherry picked from commit d7530c1)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit fbaf527)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
The generic-rk3568 does not reset the gmac phy, causing the kernel to
fail to initialize gmac during cold boot with the error message
"mdio_bus stmmac-1: MDIO device at address 1 is missing."

Adding a dedicated uboot for EasePi R1 to resolve this issue.

The EasePi R1's DTS hasn't been merged into the Linux release yet,
so it cannot be submitted to the upstream u-boot.

Fixes: ef09329 ("uboot-rockchip: add support for LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20772
(cherry picked from commit 5dff7b4)

With changes:
1. Reorder patch file names (`105-*` to `106-*`).
2. configs/easepi-r1-rk3568_defconfig needs CONFIG_SPL_PAD_TO on u-boot 2024.10.

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 9c25d39)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
Fixes the "mdio_bus stmmac-1: MDIO device at address 1 is missing" error
that occurs during cold boot when initializing GMAC.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20772
(cherry picked from commit e6a5ca0)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 414f196)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
generic-rk3568 is enough

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20147
(cherry picked from commit ef09329)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit e35f377)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
Specification:
- Rockchip RK3568
- 2GB/4GB LPDDR4 RAM
- 16GB on-board eMMC
- 1x M.2 key for 2280 NVMe (PCIe 3.0)
- 1x USB 3.0 Type-A
- 1x USB 2.0 Type-C (for USB flashing)
- 2x 1000 Base-T (native, RTL8211F)
- 2x 2500 Base-T (PCIe, RTL8125B)
- 1x HDMI 2.0 Output
- 12v DC Jack
- 1x Power key connected to PMIC
- 2x LEDs (one static power supplied, one GPIO controlled)

Debug Serial Port: 3.3V TTL, 3-pin 2.54mm pitch connector, 1500000 bauds,
'J7' on board with G/R/T (GND/RX/TX) pins marked

Installation - eMMC:
-Boot official firmware (OpenWRT based)
-Upload sysupgrade.img.gz to /tmp/firmware.bin (with scp or web page)
-Flash to eMMC: sysupgrade -n -p -F /tmp/firmware.bin

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20147
(cherry picked from commit 8ca4caa)
[refresh patches upon 24.10 branch]
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit c795a91)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
The probe order for PCIe buses and devices is non-deterministic,
making the names eth2 and eth3 unpredictable (they may be swapped).

This patch fixes the names by referencing the device path using
`ucidef_set_network_device_path`.

This patch ensures that the OpenWrt interface name matches the case label.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20779
(cherry picked from commit d7530c1)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit fbaf527)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
The generic-rk3568 does not reset the gmac phy, causing the kernel to
fail to initialize gmac during cold boot with the error message
"mdio_bus stmmac-1: MDIO device at address 1 is missing."

Adding a dedicated uboot for EasePi R1 to resolve this issue.

The EasePi R1's DTS hasn't been merged into the Linux release yet,
so it cannot be submitted to the upstream u-boot.

Fixes: ef09329 ("uboot-rockchip: add support for LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20772
(cherry picked from commit 5dff7b4)

With changes:
1. Reorder patch file names (`105-*` to `106-*`).
2. configs/easepi-r1-rk3568_defconfig needs CONFIG_SPL_PAD_TO on u-boot 2024.10.

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 9c25d39)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
Fixes the "mdio_bus stmmac-1: MDIO device at address 1 is missing" error
that occurs during cold boot when initializing GMAC.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20772
(cherry picked from commit e6a5ca0)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 414f196)
sKyissKy pushed a commit to sKyissKy/immortalwrt-mt798x-6.6 that referenced this pull request Nov 25, 2026
generic-rk3568 is enough

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20147
(cherry picked from commit ef09329)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit e35f377)
Reference: https://github.com/immortalwrt/immortalwrt (openwrt-24.10, commit e35f377)
Signed-off-by: sKyissKy <[email protected]>
sKyissKy pushed a commit to sKyissKy/immortalwrt-mt798x-6.6 that referenced this pull request Nov 25, 2026
Specification:
- Rockchip RK3568
- 2GB/4GB LPDDR4 RAM
- 16GB on-board eMMC
- 1x M.2 key for 2280 NVMe (PCIe 3.0)
- 1x USB 3.0 Type-A
- 1x USB 2.0 Type-C (for USB flashing)
- 2x 1000 Base-T (native, RTL8211F)
- 2x 2500 Base-T (PCIe, RTL8125B)
- 1x HDMI 2.0 Output
- 12v DC Jack
- 1x Power key connected to PMIC
- 2x LEDs (one static power supplied, one GPIO controlled)

Debug Serial Port: 3.3V TTL, 3-pin 2.54mm pitch connector, 1500000 bauds,
'J7' on board with G/R/T (GND/RX/TX) pins marked

Installation - eMMC:
-Boot official firmware (OpenWRT based)
-Upload sysupgrade.img.gz to /tmp/firmware.bin (with scp or web page)
-Flash to eMMC: sysupgrade -n -p -F /tmp/firmware.bin

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20147
(cherry picked from commit 8ca4caa)
[refresh patches upon 24.10 branch]
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit c795a91)
Reference: https://github.com/immortalwrt/immortalwrt (openwrt-24.10, commit c795a91)
Signed-off-by: sKyissKy <[email protected]>
sKyissKy pushed a commit to sKyissKy/immortalwrt-mt798x-6.6 that referenced this pull request Nov 25, 2026
The probe order for PCIe buses and devices is non-deterministic,
making the names eth2 and eth3 unpredictable (they may be swapped).

This patch fixes the names by referencing the device path using
`ucidef_set_network_device_path`.

This patch ensures that the OpenWrt interface name matches the case label.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20779
(cherry picked from commit d7530c1)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit fbaf527)
Reference: https://github.com/immortalwrt/immortalwrt (openwrt-24.10, commit fbaf527)
Signed-off-by: sKyissKy <[email protected]>
sKyissKy pushed a commit to sKyissKy/immortalwrt-mt798x-6.6 that referenced this pull request Nov 25, 2026
The generic-rk3568 does not reset the gmac phy, causing the kernel to
fail to initialize gmac during cold boot with the error message
"mdio_bus stmmac-1: MDIO device at address 1 is missing."

Adding a dedicated uboot for EasePi R1 to resolve this issue.

The EasePi R1's DTS hasn't been merged into the Linux release yet,
so it cannot be submitted to the upstream u-boot.

Fixes: ef09329 ("uboot-rockchip: add support for LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20772
(cherry picked from commit 5dff7b4)

With changes:
1. Reorder patch file names (`105-*` to `106-*`).
2. configs/easepi-r1-rk3568_defconfig needs CONFIG_SPL_PAD_TO on u-boot 2024.10.

Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 9c25d39)
Reference: https://github.com/immortalwrt/immortalwrt (openwrt-24.10, commit 9c25d39)
Signed-off-by: sKyissKy <[email protected]>
sKyissKy pushed a commit to sKyissKy/immortalwrt-mt798x-6.6 that referenced this pull request Nov 25, 2026
Fixes the "mdio_bus stmmac-1: MDIO device at address 1 is missing" error
that occurs during cold boot when initializing GMAC.

Fixes: 8ca4caa ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <[email protected]>
Link: openwrt/openwrt#20772
(cherry picked from commit e6a5ca0)
Link: openwrt/openwrt#20744
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 414f196)
Reference: https://github.com/immortalwrt/immortalwrt (openwrt-24.10, commit 414f196)
Signed-off-by: sKyissKy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core packages pull request/issue for core (in-tree) packages release/24.10 pull request/issue targeted (also) for OpenWrt 24.10 release target/rockchip pull request/issue for rockchip target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants