boards: arm64: roc_rk3568_pc: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-01-16 10:45:01 +00:00
parent 72e4483dec
commit 80823b860e
12 changed files with 11 additions and 19 deletions

View File

@@ -1,10 +0,0 @@
# Copyright 2022 HNU-ESNL
# Copyright 2022 openEuler SIG-Zephyr
# SPDX-License-Identifier: Apache-2.0
if BOARD_ROC_RK3568_PC
config BOARD
default "roc_rk3568_pc"
endif # BOARD_ROC_RK3568_PC

View File

@@ -3,6 +3,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_ROC_RK3568_PC
bool "Rockchip ROC-RK3568-PC"
depends on SOC_SERIES_RK3568
select ARM64
select SOC_RK3568

View File

@@ -0,0 +1,7 @@
board:
name: roc_rk3568_pc
vendor: Firefly
socs:
- name: rk3568
variants:
- name: smp

View File

@@ -102,13 +102,13 @@ display the following ram console output:
thread_b: Hello World from cpu 0 on roc_rk3568_pc!
roc_rk3568_pc_smp support, use this configuration to run Zephyr smp applications and subsys tests,
``roc_rk3568_pc//smp`` support, use this configuration to run Zephyr smp applications and subsys tests,
for example, with the :zephyr:code-sample:`synchronization` sample:
.. zephyr-app-commands::
:zephyr-app: samples/synchronization
:host-os: unix
:board: roc_rk3568_pc_smp
:board: roc_rk3568_pc//smp
:goals: run
This will build an image with the shell_module sample app, boot it and

View File

@@ -3,9 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
# Platform Configuration
CONFIG_SOC_SERIES_RK3568=y
CONFIG_SOC_RK3568=y
CONFIG_BOARD_ROC_RK3568_PC=y
CONFIG_ARM_ARCH_TIMER=y
# Serial Drivers

View File

@@ -1,4 +1,4 @@
identifier: roc_rk3568_pc_smp
identifier: roc_rk3568_pc/rk3568/smp
name: Rockchip ROC RK3568 PC SMP
type: mcu
arch: arm64