From 94751ee7338c3e15acafa86821eb744e38e3bc00 Mon Sep 17 00:00:00 2001 From: amazingfate Date: Mon, 6 Feb 2023 01:28:45 +0800 Subject: [PATCH] fix radxa e25 uboot and kernel boot --- ...add-radxa-rock-3-compute-module-plus.patch | 6 ++++-- .../legacy/board_radxa-e25/fix-vcc3v3.patch | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 patch/u-boot/legacy/board_radxa-e25/fix-vcc3v3.patch diff --git a/patch/kernel/archive/rk35xx-5.10/rk3568-dtsi-add-radxa-rock-3-compute-module-plus.patch b/patch/kernel/archive/rk35xx-5.10/rk3568-dtsi-add-radxa-rock-3-compute-module-plus.patch index 309494cd8..c11dfab40 100644 --- a/patch/kernel/archive/rk35xx-5.10/rk3568-dtsi-add-radxa-rock-3-compute-module-plus.patch +++ b/patch/kernel/archive/rk35xx-5.10/rk3568-dtsi-add-radxa-rock-3-compute-module-plus.patch @@ -1,9 +1,9 @@ diff --git a/arch/arm64/boot/dts/rockchip/rk3568-radxa-rock-3-compute-module-plus.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-radxa-rock-3-compute-module-plus.dtsi new file mode 100644 -index 000000000..8ce33ce32 +index 000000000..29b978245 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-rock-3-compute-module-plus.dtsi -@@ -0,0 +1,715 @@ +@@ -0,0 +1,717 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Rockchip Electronics Co., Ltd. @@ -180,6 +180,8 @@ index 000000000..8ce33ce32 +}; + +&gpu { ++ clock-names = "gpu", "bus"; ++ interrupt-names = "gpu", "mmu", "job"; + mali-supply = <&vdd_gpu>; + status = "okay"; +}; diff --git a/patch/u-boot/legacy/board_radxa-e25/fix-vcc3v3.patch b/patch/u-boot/legacy/board_radxa-e25/fix-vcc3v3.patch new file mode 100644 index 000000000..20672bc4c --- /dev/null +++ b/patch/u-boot/legacy/board_radxa-e25/fix-vcc3v3.patch @@ -0,0 +1,19 @@ +diff --git a/arch/arm/dts/rk3568-radxa-rock-3-compute-module-plus.dtsi b/arch/arm/dts/rk3568-radxa-rock-3-compute-module-plus.dtsi +index e2cdda8a..15d7b41f 100644 +--- a/arch/arm/dts/rk3568-radxa-rock-3-compute-module-plus.dtsi ++++ b/arch/arm/dts/rk3568-radxa-rock-3-compute-module-plus.dtsi +@@ -372,6 +372,7 @@ + regulator-boot-on; + regulator-name = "vcc_3v3"; + regulator-state-mem { ++ u-boot,dm-pre-reloc; + regulator-off-in-suspend; + }; + }; +@@ -418,4 +419,4 @@ + <0 RK_PA2 RK_FUNC_2 &pcfg_pull_none>; + }; + }; +-}; +\ No newline at end of file ++};