summaryrefslogtreecommitdiff
path: root/meta-rockchip-extra/recipes-bsp/u-boot
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2026-02-25 22:44:44 -0600
committerunitexe <unitexe70@gmail.com>2026-03-02 22:56:03 -0600
commit70df75089a1ffbfd073d623e32d6417488b79491 (patch)
tree4c6412b53ad0b8e5ba6547299fb1432e59be49b2 /meta-rockchip-extra/recipes-bsp/u-boot
parenta960f82818f0ad4c4df50efa4cc6540ffa8ee193 (diff)
Introduce meta-rockchip-extra to apply serial baud rate patches
I don't have a USB to serial converter that works with the default baud rate.
Diffstat (limited to 'meta-rockchip-extra/recipes-bsp/u-boot')
-rw-r--r--meta-rockchip-extra/recipes-bsp/u-boot/files/0001-set-serial2-baudrate-to-115200.patch28
-rw-r--r--meta-rockchip-extra/recipes-bsp/u-boot/u-boot_%.bbappend3
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-rockchip-extra/recipes-bsp/u-boot/files/0001-set-serial2-baudrate-to-115200.patch b/meta-rockchip-extra/recipes-bsp/u-boot/files/0001-set-serial2-baudrate-to-115200.patch
new file mode 100644
index 0000000..61ea8ac
--- /dev/null
+++ b/meta-rockchip-extra/recipes-bsp/u-boot/files/0001-set-serial2-baudrate-to-115200.patch
@@ -0,0 +1,28 @@
+From e25377d919889cc4ccc6b21a86e8b0dadbc422cf Mon Sep 17 00:00:00 2001
+From: unitexe <unitexe70@gmail.com>
+Date: Sat, 21 Feb 2026 11:00:05 -0600
+Subject: [PATCH] set serial2 baudrate to 115200
+
+I don't have a USB/serial adapter that supports 1500000
+
+Upstream-Status: Inappropriate [embedded-specific]
+---
+ dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3.dtsi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3.dtsi b/dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3.dtsi
+index 1ee5d96a46a..244f36aab84 100644
+--- a/dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3.dtsi
++++ b/dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3.dtsi
+@@ -7,7 +7,7 @@
+
+ / {
+ chosen {
+- stdout-path = "serial2:1500000n8";
++ stdout-path = "serial2:115200n8";
+ };
+
+ hdmi-con {
+--
+2.43.0
+
diff --git a/meta-rockchip-extra/recipes-bsp/u-boot/u-boot_%.bbappend b/meta-rockchip-extra/recipes-bsp/u-boot/u-boot_%.bbappend
new file mode 100644
index 0000000..47b06fa
--- /dev/null
+++ b/meta-rockchip-extra/recipes-bsp/u-boot/u-boot_%.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
+
+SRC_URI:append = " file://0001-set-serial2-baudrate-to-115200.patch"