Skip to contentSkip to conversation

rockchip: board: Add minimal generic RK3588S/RK3588 board

PATCH In review Jonas Karlman 2 participants 6 messages Jan 31, 2024 – Mar 14, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rockchip: board: Add minimal generic RK3588S/RK3588 board

Add a minimal generic RK3588S/RK3588 board that only have eMMC and SDMMC enabled. This defconfig can be used to boot from eMMC or SD-card on most RK3588S/RK3588 boards that follow reference board design.

Also fix the alphabetical order of RK3588 boards listed in Makefile and documentation.

---
This patch depend on the series "rockchip: rk35xx: Sync device tree with linux v6.8-rc1" [1].

[1] https://patchwork.ozlabs.org/cover/1891669/

---
 arch/arm/dts/Makefile                   |  5 +-
 arch/arm/dts/rk3588-generic-u-boot.dtsi |  3 ++
 arch/arm/dts/rk3588-generic.dts         | 44 ++++++++++++++++
 board/rockchip/evb_rk3588/MAINTAINERS   |  7 +++
 configs/generic-rk3588_defconfig        | 68 +++++++++++++++++++++++++
 doc/board/rockchip/rockchip.rst         |  3 +-
 6 files changed, 127 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/dts/rk3588-generic-u-boot.dtsi
 create mode 100644 arch/arm/dts/rk3588-generic.dts
 create mode 100644 configs/generic-rk3588_defconfig
arch/arm/dts/Makefile +3 -2
index 0fcae77cefe3..6361bc5abc37 100644
@@ -193,13 +193,14 @@ dtb-$(CONFIG_ROCKCHIP_RK3588) += \
 	rk3588-edgeble-neu6a-io.dtb \
 	rk3588-edgeble-neu6b-io.dtb \
 	rk3588-evb1-v10.dtb \
+	rk3588-generic.dtb \
 	rk3588-nanopc-t6.dtb \
 	rk3588s-orangepi-5.dtb \
 	rk3588-orangepi-5-plus.dtb \
 	rk3588-quartzpro64.dtb \
-	rk3588-turing-rk1.dtb \
 	rk3588s-rock-5a.dtb \
-	rk3588-rock-5b.dtb
+	rk3588-rock-5b.dtb \
+	rk3588-turing-rk1.dtb
 
 dtb-$(CONFIG_ROCKCHIP_RV1108) += \
 	rv1108-elgin-r1.dtb \
arch/arm/dts/rk3588-generic-u-boot.dtsi new file +3 -0
new file mode 100644
index 000000000000..853ed58cfe58
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+#include "rk3588s-u-boot.dtsi"
arch/arm/dts/rk3588-generic.dts new file +44 -0

44 lines not on this page · raw message

board/rockchip/evb_rk3588/MAINTAINERS +7 -0
index 2bd44bc58728..eb771da7b7a0 100644
@@ -7,6 +7,13 @@ F:	configs/evb-rk3588_defconfig
 F:	arch/arm/dts/rk3588-evb1-v10.dts
 F:	arch/arm/dts/rk3588-evb1-v10-u-boot.dtsi
 
+GENERIC-RK3588
+M:	Jonas Karlman <[email protected]>
+S:	Maintained
+F:	configs/generic-rk3588_defconfig
+F:	arch/arm/dts/rk3588-generic.dts
+F:	arch/arm/dts/rk3588-generic-u-boot.dtsi
+
 ORANGEPI-5-RK3588
 M:	Jonas Karlman <[email protected]>
 S:	Maintained
configs/generic-rk3588_defconfig new file +68 -0

68 lines not on this page · raw message

doc/board/rockchip/rockchip.rst +2 -1
index 9fe69fc9422f..393c84a1309c 100644
@@ -116,10 +116,11 @@ List of mainline supported Rockchip boards:
      - Edgeble Neural Compute Module 6A SoM - Neu6a (neu6a-io-rk3588)
      - Edgeble Neural Compute Module 6B SoM - Neu6b (neu6b-io-rk3588)
      - FriendlyElec NanoPC-T6 (nanopc-t6-rk3588)
+     - Generic RK3588S/RK3588 (generic-rk3588)
      - Pine64 QuartzPro64 (quartzpro64-rk3588)
-     - Turing Machines RK1 (turing-rk1-rk3588)
      - Radxa ROCK 5A (rock5a-rk3588s)
      - Radxa ROCK 5B (rock5b-rk3588)
+     - Turing Machines RK1 (turing-rk1-rk3588)
      - Xunlong Orange Pi 5 (orangepi-5-rk3588s)
      - Xunlong Orange Pi 5 Plus (orangepi-5-plus-rk3588)
 
Signature · 1 line
2.43.0
#1 lore raw

Hi Jonas,

Quoted 3 lines · Jonas Karlman

Add a minimal generic RK3588S/RK3588 board that only have eMMC and SDMMC enabled. This defconfig can be used to boot from eMMC or SD-card on most RK3588S/RK3588 boards that follow reference board design.

For rk3399, the evb-rk3399 is used as generic board because almost all the boards which

follow the rockchip reference design can boot with evb-rk3399_defconfig.

For rk3588, I think we can still use evb-rk3588 as generic board instead of a new generic-rk3588?

Since the board level dts will have to relate to IO, regulator, key and so on, a virtual board

may not able to decide which IO/Hardware to use.

Thanks,

- Kever

Quoted 211 lines

Also fix the alphabetical order of RK3588 boards listed in Makefile and documentation.

---
This patch depend on the series "rockchip: rk35xx: Sync device tree with linux v6.8-rc1" [1].

[1] https://patchwork.ozlabs.org/cover/1891669/

---
  arch/arm/dts/Makefile                   |  5 +-
  arch/arm/dts/rk3588-generic-u-boot.dtsi |  3 ++
  arch/arm/dts/rk3588-generic.dts         | 44 ++++++++++++++++
  board/rockchip/evb_rk3588/MAINTAINERS   |  7 +++
  configs/generic-rk3588_defconfig        | 68 +++++++++++++++++++++++++
  doc/board/rockchip/rockchip.rst         |  3 +-
  6 files changed, 127 insertions(+), 3 deletions(-)

create mode 100644 arch/arm/dts/rk3588-generic-u-boot.dtsi create mode 100644 arch/arm/dts/rk3588-generic.dts create mode 100644 configs/generic-rk3588_defconfig

arch/arm/dts/Makefile +3 -2
index 0fcae77cefe3..6361bc5abc37 100644
@@ -193,13 +193,14 @@ dtb-$(CONFIG_ROCKCHIP_RK3588) += \
  	rk3588-edgeble-neu6a-io.dtb \
  	rk3588-edgeble-neu6b-io.dtb \
  	rk3588-evb1-v10.dtb \
+	rk3588-generic.dtb \
  	rk3588-nanopc-t6.dtb \
  	rk3588s-orangepi-5.dtb \
  	rk3588-orangepi-5-plus.dtb \
  	rk3588-quartzpro64.dtb \
-	rk3588-turing-rk1.dtb \
  	rk3588s-rock-5a.dtb \
-	rk3588-rock-5b.dtb
+	rk3588-rock-5b.dtb \
+	rk3588-turing-rk1.dtb
 
  dtb-$(CONFIG_ROCKCHIP_RV1108) += \
  	rv1108-elgin-r1.dtb \
arch/arm/dts/rk3588-generic-u-boot.dtsi new file +3 -0
new file mode 100644
index 000000000000..853ed58cfe58
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+#include "rk3588s-u-boot.dtsi"
arch/arm/dts/rk3588-generic.dts new file +44 -0
new file mode 100644
index 000000000000..e4721d97a87d
@@ -0,0 +1,44 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Minimal generic DT for RK3588S/RK3588 with eMMC and SD-card enabled
+ */
+
+/dts-v1/;
+#include "rk3588s.dtsi"
+
+/ {
+	model = "Generic RK3588S/RK3588";
+	compatible = "rockchip,rk3588";
+
+	aliases {
+		mmc0 = &sdhci;
+		mmc1 = &sdmmc;
+	};
+
+	chosen {
+		stdout-path = "serial2:1500000n8";
+	};
+};
+
+&sdhci {
+	bus-width = <8>;
+	cap-mmc-highspeed;
+	mmc-hs200-1_8v;
+	no-sd;
+	no-sdio;
+	non-removable;
+	status = "okay";
+};
+
+&sdmmc {
+	bus-width = <4>;
+	cap-sd-highspeed;
+	disable-wp;
+	no-mmc;
+	no-sdio;
+	status = "okay";
+};
+
+&uart2 {
+	status = "okay";
+};
board/rockchip/evb_rk3588/MAINTAINERS +7 -0
index 2bd44bc58728..eb771da7b7a0 100644
@@ -7,6 +7,13 @@ F:	configs/evb-rk3588_defconfig
  F:	arch/arm/dts/rk3588-evb1-v10.dts
  F:	arch/arm/dts/rk3588-evb1-v10-u-boot.dtsi
 
+GENERIC-RK3588
+M:	Jonas Karlman <[email protected]>
+S:	Maintained
+F:	configs/generic-rk3588_defconfig
+F:	arch/arm/dts/rk3588-generic.dts
+F:	arch/arm/dts/rk3588-generic-u-boot.dtsi
+
  ORANGEPI-5-RK3588
  M:	Jonas Karlman <[email protected]>
  S:	Maintained
configs/generic-rk3588_defconfig new file +68 -0
new file mode 100644
index 000000000000..4755b27c1dea
@@ -0,0 +1,68 @@
+CONFIG_ARM=y
+CONFIG_SKIP_LOWLEVEL_INIT=y
+CONFIG_COUNTER_FREQUENCY=24000000
+CONFIG_ARCH_ROCKCHIP=y
+CONFIG_TEXT_BASE=0x00a00000
+CONFIG_SPL_LIBCOMMON_SUPPORT=y
+CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_NR_DRAM_BANKS=2
+CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
+CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc00000
+CONFIG_DEFAULT_DEVICE_TREE="rk3588-generic"
+CONFIG_ROCKCHIP_RK3588=y
+CONFIG_SPL_ROCKCHIP_COMMON_BOARD=y
+CONFIG_SPL_SERIAL=y
+CONFIG_SPL_STACK_R_ADDR=0x600000
+CONFIG_TARGET_EVB_RK3588=y
+CONFIG_SPL_STACK=0x400000
+CONFIG_DEBUG_UART_BASE=0xFEB50000
+CONFIG_DEBUG_UART_CLOCK=24000000
+CONFIG_SYS_LOAD_ADDR=0xc00800
+CONFIG_DEBUG_UART=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_SPL_FIT_SIGNATURE=y
+CONFIG_SPL_LOAD_FIT=y
+CONFIG_LEGACY_IMAGE_FORMAT=y
+CONFIG_OF_BOARD_SETUP=y
+CONFIG_DEFAULT_FDT_FILE="rockchip/rk3588-generic.dtb"
+# CONFIG_DISPLAY_CPUINFO is not set
+CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_SPL_MAX_SIZE=0x40000
+CONFIG_SPL_PAD_TO=0x7f8000
+CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
+CONFIG_SPL_BSS_START_ADDR=0x4000000
+CONFIG_SPL_BSS_MAX_SIZE=0x4000
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
+# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
+CONFIG_SPL_STACK_R=y
+CONFIG_SPL_ATF=y
+CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
+CONFIG_CMD_MMC=y
+# CONFIG_CMD_SETEXPR is not set
+# CONFIG_SPL_DOS_PARTITION is not set
+CONFIG_SPL_OF_CONTROL=y
+CONFIG_OF_LIVE=y
+CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
+CONFIG_SPL_DM_SEQ_ALIAS=y
+CONFIG_SPL_REGMAP=y
+CONFIG_SPL_SYSCON=y
+CONFIG_SPL_CLK=y
+CONFIG_ROCKCHIP_GPIO=y
+CONFIG_MISC=y
+CONFIG_SUPPORT_EMMC_RPMB=y
+CONFIG_MMC_HS200_SUPPORT=y
+CONFIG_SPL_MMC_HS200_SUPPORT=y
+CONFIG_MMC_DW=y
+CONFIG_MMC_DW_ROCKCHIP=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_SDMA=y
+CONFIG_MMC_SDHCI_ROCKCHIP=y
+CONFIG_SPL_PINCTRL=y
+CONFIG_SPL_RAM=y
+CONFIG_BAUDRATE=1500000
+CONFIG_DEBUG_UART_SHIFT=2
+CONFIG_SYS_NS16550_MEM32=y
+CONFIG_SYSRESET=y
+CONFIG_ERRNO_STR=y
doc/board/rockchip/rockchip.rst +2 -1
index 9fe69fc9422f..393c84a1309c 100644
@@ -116,10 +116,11 @@ List of mainline supported Rockchip boards:
       - Edgeble Neural Compute Module 6A SoM - Neu6a (neu6a-io-rk3588)
       - Edgeble Neural Compute Module 6B SoM - Neu6b (neu6b-io-rk3588)
       - FriendlyElec NanoPC-T6 (nanopc-t6-rk3588)
+     - Generic RK3588S/RK3588 (generic-rk3588)
       - Pine64 QuartzPro64 (quartzpro64-rk3588)
-     - Turing Machines RK1 (turing-rk1-rk3588)
       - Radxa ROCK 5A (rock5a-rk3588s)
       - Radxa ROCK 5B (rock5b-rk3588)
+     - Turing Machines RK1 (turing-rk1-rk3588)
       - Xunlong Orange Pi 5 (orangepi-5-rk3588s)
       - Xunlong Orange Pi 5 Plus (orangepi-5-plus-rk3588)
 
Reviewed-by on v1 1/1
#2 lore raw
In reply to Jonas Karlman
Quoted 8 lines · Jonas Karlman

Add a minimal generic RK3588S/RK3588 board that only have eMMC and SDMMC enabled. This defconfig can be used to boot from eMMC or SD-card on most RK3588S/RK3588 boards that follow reference board design.

Also fix the alphabetical order of RK3588 boards listed in Makefile and documentation.

Since rk356x already have a generic board, rk3588 can also have one.

Thanks,
- Kever

Quoted 206 lines

---
This patch depend on the series "rockchip: rk35xx: Sync device tree with linux v6.8-rc1" [1].

[1] https://patchwork.ozlabs.org/cover/1891669/

---
  arch/arm/dts/Makefile                   |  5 +-
  arch/arm/dts/rk3588-generic-u-boot.dtsi |  3 ++
  arch/arm/dts/rk3588-generic.dts         | 44 ++++++++++++++++
  board/rockchip/evb_rk3588/MAINTAINERS   |  7 +++
  configs/generic-rk3588_defconfig        | 68 +++++++++++++++++++++++++
  doc/board/rockchip/rockchip.rst         |  3 +-
  6 files changed, 127 insertions(+), 3 deletions(-)

create mode 100644 arch/arm/dts/rk3588-generic-u-boot.dtsi create mode 100644 arch/arm/dts/rk3588-generic.dts create mode 100644 configs/generic-rk3588_defconfig

arch/arm/dts/Makefile +3 -2
index 0fcae77cefe3..6361bc5abc37 100644
@@ -193,13 +193,14 @@ dtb-$(CONFIG_ROCKCHIP_RK3588) += \
  	rk3588-edgeble-neu6a-io.dtb \
  	rk3588-edgeble-neu6b-io.dtb \
  	rk3588-evb1-v10.dtb \
+	rk3588-generic.dtb \
  	rk3588-nanopc-t6.dtb \
  	rk3588s-orangepi-5.dtb \
  	rk3588-orangepi-5-plus.dtb \
  	rk3588-quartzpro64.dtb \
-	rk3588-turing-rk1.dtb \
  	rk3588s-rock-5a.dtb \
-	rk3588-rock-5b.dtb
+	rk3588-rock-5b.dtb \
+	rk3588-turing-rk1.dtb
 
  dtb-$(CONFIG_ROCKCHIP_RV1108) += \
  	rv1108-elgin-r1.dtb \
arch/arm/dts/rk3588-generic-u-boot.dtsi new file +3 -0
new file mode 100644
index 000000000000..853ed58cfe58
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+#include "rk3588s-u-boot.dtsi"
arch/arm/dts/rk3588-generic.dts new file +44 -0
new file mode 100644
index 000000000000..e4721d97a87d
@@ -0,0 +1,44 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Minimal generic DT for RK3588S/RK3588 with eMMC and SD-card enabled
+ */
+
+/dts-v1/;
+#include "rk3588s.dtsi"
+
+/ {
+	model = "Generic RK3588S/RK3588";
+	compatible = "rockchip,rk3588";
+
+	aliases {
+		mmc0 = &sdhci;
+		mmc1 = &sdmmc;
+	};
+
+	chosen {
+		stdout-path = "serial2:1500000n8";
+	};
+};
+
+&sdhci {
+	bus-width = <8>;
+	cap-mmc-highspeed;
+	mmc-hs200-1_8v;
+	no-sd;
+	no-sdio;
+	non-removable;
+	status = "okay";
+};
+
+&sdmmc {
+	bus-width = <4>;
+	cap-sd-highspeed;
+	disable-wp;
+	no-mmc;
+	no-sdio;
+	status = "okay";
+};
+
+&uart2 {
+	status = "okay";
+};
board/rockchip/evb_rk3588/MAINTAINERS +7 -0
index 2bd44bc58728..eb771da7b7a0 100644
@@ -7,6 +7,13 @@ F:	configs/evb-rk3588_defconfig
  F:	arch/arm/dts/rk3588-evb1-v10.dts
  F:	arch/arm/dts/rk3588-evb1-v10-u-boot.dtsi
 
+GENERIC-RK3588
+M:	Jonas Karlman <[email protected]>
+S:	Maintained
+F:	configs/generic-rk3588_defconfig
+F:	arch/arm/dts/rk3588-generic.dts
+F:	arch/arm/dts/rk3588-generic-u-boot.dtsi
+
  ORANGEPI-5-RK3588
  M:	Jonas Karlman <[email protected]>
  S:	Maintained
configs/generic-rk3588_defconfig new file +68 -0
new file mode 100644
index 000000000000..4755b27c1dea
@@ -0,0 +1,68 @@
+CONFIG_ARM=y
+CONFIG_SKIP_LOWLEVEL_INIT=y
+CONFIG_COUNTER_FREQUENCY=24000000
+CONFIG_ARCH_ROCKCHIP=y
+CONFIG_TEXT_BASE=0x00a00000
+CONFIG_SPL_LIBCOMMON_SUPPORT=y
+CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_NR_DRAM_BANKS=2
+CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
+CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc00000
+CONFIG_DEFAULT_DEVICE_TREE="rk3588-generic"
+CONFIG_ROCKCHIP_RK3588=y
+CONFIG_SPL_ROCKCHIP_COMMON_BOARD=y
+CONFIG_SPL_SERIAL=y
+CONFIG_SPL_STACK_R_ADDR=0x600000
+CONFIG_TARGET_EVB_RK3588=y
+CONFIG_SPL_STACK=0x400000
+CONFIG_DEBUG_UART_BASE=0xFEB50000
+CONFIG_DEBUG_UART_CLOCK=24000000
+CONFIG_SYS_LOAD_ADDR=0xc00800
+CONFIG_DEBUG_UART=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_SPL_FIT_SIGNATURE=y
+CONFIG_SPL_LOAD_FIT=y
+CONFIG_LEGACY_IMAGE_FORMAT=y
+CONFIG_OF_BOARD_SETUP=y
+CONFIG_DEFAULT_FDT_FILE="rockchip/rk3588-generic.dtb"
+# CONFIG_DISPLAY_CPUINFO is not set
+CONFIG_DISPLAY_BOARDINFO_LATE=y
+CONFIG_SPL_MAX_SIZE=0x40000
+CONFIG_SPL_PAD_TO=0x7f8000
+CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
+CONFIG_SPL_BSS_START_ADDR=0x4000000
+CONFIG_SPL_BSS_MAX_SIZE=0x4000
+# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
+# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
+CONFIG_SPL_STACK_R=y
+CONFIG_SPL_ATF=y
+CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
+CONFIG_CMD_MMC=y
+# CONFIG_CMD_SETEXPR is not set
+# CONFIG_SPL_DOS_PARTITION is not set
+CONFIG_SPL_OF_CONTROL=y
+CONFIG_OF_LIVE=y
+CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
+CONFIG_SPL_DM_SEQ_ALIAS=y
+CONFIG_SPL_REGMAP=y
+CONFIG_SPL_SYSCON=y
+CONFIG_SPL_CLK=y
+CONFIG_ROCKCHIP_GPIO=y
+CONFIG_MISC=y
+CONFIG_SUPPORT_EMMC_RPMB=y
+CONFIG_MMC_HS200_SUPPORT=y
+CONFIG_SPL_MMC_HS200_SUPPORT=y
+CONFIG_MMC_DW=y
+CONFIG_MMC_DW_ROCKCHIP=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_SDMA=y
+CONFIG_MMC_SDHCI_ROCKCHIP=y
+CONFIG_SPL_PINCTRL=y
+CONFIG_SPL_RAM=y
+CONFIG_BAUDRATE=1500000
+CONFIG_DEBUG_UART_SHIFT=2
+CONFIG_SYS_NS16550_MEM32=y
+CONFIG_SYSRESET=y
+CONFIG_ERRNO_STR=y
doc/board/rockchip/rockchip.rst +2 -1
index 9fe69fc9422f..393c84a1309c 100644
@@ -116,10 +116,11 @@ List of mainline supported Rockchip boards:
       - Edgeble Neural Compute Module 6A SoM - Neu6a (neu6a-io-rk3588)
       - Edgeble Neural Compute Module 6B SoM - Neu6b (neu6b-io-rk3588)
       - FriendlyElec NanoPC-T6 (nanopc-t6-rk3588)
+     - Generic RK3588S/RK3588 (generic-rk3588)
       - Pine64 QuartzPro64 (quartzpro64-rk3588)
-     - Turing Machines RK1 (turing-rk1-rk3588)
       - Radxa ROCK 5A (rock5a-rk3588s)
       - Radxa ROCK 5B (rock5b-rk3588)
+     - Turing Machines RK1 (turing-rk1-rk3588)
       - Xunlong Orange Pi 5 (orangepi-5-rk3588s)
       - Xunlong Orange Pi 5 Plus (orangepi-5-plus-rk3588)
 
#3 lore raw

Hi Kever,

Quoted 6 lines · Kever Yang
Quoted 4 lines · Jonas Karlman

Add a minimal generic RK3588S/RK3588 board that only have eMMC and SDMMC enabled. This defconfig can be used to boot from eMMC or SD-card on most RK3588S/RK3588 boards that follow reference board design.

Quoted 8 lines
Quoted 4 lines

Also fix the alphabetical order of RK3588 boards listed in Makefile and documentation.

Since rk356x already have a generic board, rk3588 can also have one.

Thanks, I will send a v2 with an updated defconfig to take advantage of the new ROCKCHIP_COMMON_STACK_ADDR bss and stack addresses.

Regards,
Jonas

Quoted 21 lines

Thanks,
- Kever

Quoted 17 lines

---
This patch depend on the series "rockchip: rk35xx: Sync device tree with linux v6.8-rc1" [1].

[1] https://patchwork.ozlabs.org/cover/1891669/

---
  arch/arm/dts/Makefile                   |  5 +-
  arch/arm/dts/rk3588-generic-u-boot.dtsi |  3 ++
  arch/arm/dts/rk3588-generic.dts         | 44 ++++++++++++++++
  board/rockchip/evb_rk3588/MAINTAINERS   |  7 +++
  configs/generic-rk3588_defconfig        | 68 +++++++++++++++++++++++++
  doc/board/rockchip/rockchip.rst         |  3 +-
  6 files changed, 127 insertions(+), 3 deletions(-)

create mode 100644 arch/arm/dts/rk3588-generic-u-boot.dtsi create mode 100644 arch/arm/dts/rk3588-generic.dts create mode 100644 configs/generic-rk3588_defconfig

[snip]

#4 lore raw

Hi Jonas,

Quoted 11 lines · Jonas Karlman

Hi Kever,

Quoted 8 lines · Kever Yang
Quoted 7 lines · Jonas Karlman

Add a minimal generic RK3588S/RK3588 board that only have eMMC and SDMMC enabled. This defconfig can be used to boot from eMMC or SD-card on most RK3588S/RK3588 boards that follow reference board design.

Also fix the alphabetical order of RK3588 boards listed in Makefile and documentation.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Since rk356x already have a generic board, rk3588 can also have one.

Thanks, I will send a v2 with an updated defconfig to take advantage of the new ROCKCHIP_COMMON_STACK_ADDR bss and stack addresses.

I have fix this and also other new boards defconfig, so you don't need to do this.

Thanks,

- Kever

Quoted 25 lines

Regards,
Jonas

Quoted 20 lines

Thanks,
- Kever

Quoted 17 lines

---
This patch depend on the series "rockchip: rk35xx: Sync device tree with linux v6.8-rc1" [1].

[1] https://patchwork.ozlabs.org/cover/1891669/

---
   arch/arm/dts/Makefile                   |  5 +-
   arch/arm/dts/rk3588-generic-u-boot.dtsi |  3 ++
   arch/arm/dts/rk3588-generic.dts         | 44 ++++++++++++++++
   board/rockchip/evb_rk3588/MAINTAINERS   |  7 +++
   configs/generic-rk3588_defconfig        | 68 +++++++++++++++++++++++++
   doc/board/rockchip/rockchip.rst         |  3 +-
   6 files changed, 127 insertions(+), 3 deletions(-)

create mode 100644 arch/arm/dts/rk3588-generic-u-boot.dtsi create mode 100644 arch/arm/dts/rk3588-generic.dts create mode 100644 configs/generic-rk3588_defconfig

[snip]

#5 lore raw

Hi Kever,

Quoted 15 lines · Kever Yang

Hi Jonas,

Quoted 12 lines · Jonas Karlman

Hi Kever,

Quoted 9 lines · Kever Yang
Quoted 8 lines · Jonas Karlman

Add a minimal generic RK3588S/RK3588 board that only have eMMC and SDMMC enabled. This defconfig can be used to boot from eMMC or SD-card on most RK3588S/RK3588 boards that follow reference board design.

Also fix the alphabetical order of RK3588 boards listed in Makefile and documentation.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Since rk356x already have a generic board, rk3588 can also have one.

Thanks, I will send a v2 with an updated defconfig to take advantage of the new ROCKCHIP_COMMON_STACK_ADDR bss and stack addresses.

I have fix this and also other new boards defconfig, so you don't need to do this.

Great, thanks!

Regards,
Jonas

Quoted 31 lines

Thanks,

- Kever

Quoted 25 lines

Regards,
Jonas

Quoted 20 lines

Thanks,
- Kever

Quoted 17 lines

---
This patch depend on the series "rockchip: rk35xx: Sync device tree with linux v6.8-rc1" [1].

[1] https://patchwork.ozlabs.org/cover/1891669/

---
   arch/arm/dts/Makefile                   |  5 +-
   arch/arm/dts/rk3588-generic-u-boot.dtsi |  3 ++
   arch/arm/dts/rk3588-generic.dts         | 44 ++++++++++++++++
   board/rockchip/evb_rk3588/MAINTAINERS   |  7 +++
   configs/generic-rk3588_defconfig        | 68 +++++++++++++++++++++++++
   doc/board/rockchip/rockchip.rst         |  3 +-
   6 files changed, 127 insertions(+), 3 deletions(-)

create mode 100644 arch/arm/dts/rk3588-generic-u-boot.dtsi create mode 100644 arch/arm/dts/rk3588-generic.dts create mode 100644 configs/generic-rk3588_defconfig

[snip]