Repository navigation
Conversation
300ebaf to
37b8fec
Compare
|
LGTM if it's run-tested. |
This comment was marked as outdated.
This comment was marked as outdated.
|
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. |
|
@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. |
|
@1715173329 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 |
Yes.
Just create a patch for uboot-rockchip for now, it's okay.
|
|
main branch PR for uboot-rockchip is ready for review #20772 |
0d754aa to
c9b1f29
Compare
|
This PR is ready for review, has been run-tested. Note that the commit |
|
ping @hauke |
c9b1f29 to
58618e0
Compare
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)
58618e0 to
bfa324a
Compare
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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]>
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]>
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]>
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]>
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]>
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:
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