From 01e902c44bdc6a7c4ece4d7b10d94801f3792724 Mon Sep 17 00:00:00 2001 From: mr-toolcraft <169016260+mr-toolcraft@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:54:52 +0200 Subject: [PATCH 1/4] rock-3a: add overlay to disable debug serial console --- .../overlay/rockchip-rock-3a-disable-uart2.dtso | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patch/kernel/archive/rockchip64-6.11/overlay/rockchip-rock-3a-disable-uart2.dtso diff --git a/patch/kernel/archive/rockchip64-6.11/overlay/rockchip-rock-3a-disable-uart2.dtso b/patch/kernel/archive/rockchip64-6.11/overlay/rockchip-rock-3a-disable-uart2.dtso new file mode 100644 index 000000000000..5b7421e921d6 --- /dev/null +++ b/patch/kernel/archive/rockchip64-6.11/overlay/rockchip-rock-3a-disable-uart2.dtso @@ -0,0 +1,12 @@ +/dts-v1/; +/plugin/; + +/ { + fragment@0 { + target = <&uart2>; + + __overlay__ { + status = "disabled"; + }; + }; +}; From 036e0794eafa770a20d9e6086de49745938eb745 Mon Sep 17 00:00:00 2001 From: mr-toolcraft <169016260+mr-toolcraft@users.noreply.github.com> Date: Wed, 23 Oct 2024 14:06:00 +0200 Subject: [PATCH 2/4] Update Makefile --- patch/kernel/archive/rockchip64-6.11/overlay/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patch/kernel/archive/rockchip64-6.11/overlay/Makefile b/patch/kernel/archive/rockchip64-6.11/overlay/Makefile index f6138e1eba01..5bff7c2ef20a 100644 --- a/patch/kernel/archive/rockchip64-6.11/overlay/Makefile +++ b/patch/kernel/archive/rockchip64-6.11/overlay/Makefile @@ -44,7 +44,8 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \ rockchip-rk3568-hk-spi-spidev.dtbo \ rockchip-rk3568-hk-uart0.dtbo \ rockchip-rk3568-hk-uart0-rts_cts.dtbo \ - rockchip-rk3568-hk-uart1.dtbo + rockchip-rk3568-hk-uart1.dtbo \ + rockchip-rock-3a-disable-uart2.dtbo scr-$(CONFIG_ARCH_ROCKCHIP) += \ rockchip-fixup.scr From 4e990cd2b26456ee201c6bae90f9629f806f27f6 Mon Sep 17 00:00:00 2001 From: mr-toolcraft <169016260+mr-toolcraft@users.noreply.github.com> Date: Mon, 28 Oct 2024 05:47:41 +0100 Subject: [PATCH 3/4] Update patch/kernel/archive/rockchip64-6.11/overlay/Makefile Co-authored-by: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com> --- patch/kernel/archive/rockchip64-6.11/overlay/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/kernel/archive/rockchip64-6.11/overlay/Makefile b/patch/kernel/archive/rockchip64-6.11/overlay/Makefile index 5bff7c2ef20a..47877df684f4 100644 --- a/patch/kernel/archive/rockchip64-6.11/overlay/Makefile +++ b/patch/kernel/archive/rockchip64-6.11/overlay/Makefile @@ -45,7 +45,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \ rockchip-rk3568-hk-uart0.dtbo \ rockchip-rk3568-hk-uart0-rts_cts.dtbo \ rockchip-rk3568-hk-uart1.dtbo \ - rockchip-rock-3a-disable-uart2.dtbo + rockchip-rk3568-rock-3a-disable-uart2.dtbo scr-$(CONFIG_ARCH_ROCKCHIP) += \ rockchip-fixup.scr From acf18f2941acbbf04cc3e557367e44531a8a74ec Mon Sep 17 00:00:00 2001 From: mr-toolcraft <169016260+mr-toolcraft@users.noreply.github.com> Date: Mon, 28 Oct 2024 05:48:04 +0100 Subject: [PATCH 4/4] Rename rockchip-rock-3a-disable-uart2.dtso to rockchip-rk3568-rock-3a-disable-uart2.dtso --- ...able-uart2.dtso => rockchip-rk3568-rock-3a-disable-uart2.dtso} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename patch/kernel/archive/rockchip64-6.11/overlay/{rockchip-rock-3a-disable-uart2.dtso => rockchip-rk3568-rock-3a-disable-uart2.dtso} (100%) diff --git a/patch/kernel/archive/rockchip64-6.11/overlay/rockchip-rock-3a-disable-uart2.dtso b/patch/kernel/archive/rockchip64-6.11/overlay/rockchip-rk3568-rock-3a-disable-uart2.dtso similarity index 100% rename from patch/kernel/archive/rockchip64-6.11/overlay/rockchip-rock-3a-disable-uart2.dtso rename to patch/kernel/archive/rockchip64-6.11/overlay/rockchip-rk3568-rock-3a-disable-uart2.dtso