Browse Source

boards: arm64: roc_rk3568_pc: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 2 years ago
parent
commit
80823b860e
  1. 10
      boards/arm64/roc_rk3568_pc/Kconfig.defconfig
  2. 0
      boards/v2/firefly/roc_rk3568_pc/CMakeLists.txt
  3. 4
      boards/v2/firefly/roc_rk3568_pc/Kconfig.roc_rk3568_pc
  4. 0
      boards/v2/firefly/roc_rk3568_pc/board.cmake
  5. 7
      boards/v2/firefly/roc_rk3568_pc/board.yml
  6. 4
      boards/v2/firefly/roc_rk3568_pc/doc/index.rst
  7. 0
      boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc.dts
  8. 0
      boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc.yaml
  9. 3
      boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc_defconfig
  10. 0
      boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc_smp.dts
  11. 2
      boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc_smp.yaml
  12. 0
      boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc_smp_defconfig

10
boards/arm64/roc_rk3568_pc/Kconfig.defconfig

@ -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

0
boards/arm64/roc_rk3568_pc/CMakeLists.txt → boards/v2/firefly/roc_rk3568_pc/CMakeLists.txt

4
boards/arm64/roc_rk3568_pc/Kconfig.board → boards/v2/firefly/roc_rk3568_pc/Kconfig.roc_rk3568_pc

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

0
boards/arm64/roc_rk3568_pc/board.cmake → boards/v2/firefly/roc_rk3568_pc/board.cmake

7
boards/v2/firefly/roc_rk3568_pc/board.yml

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

4
boards/arm64/roc_rk3568_pc/doc/index.rst → boards/v2/firefly/roc_rk3568_pc/doc/index.rst

@ -102,13 +102,13 @@ display the following ram console output:
thread_b: Hello World from cpu 0 on roc_rk3568_pc! 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: for example, with the :zephyr:code-sample:`synchronization` sample:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/synchronization :zephyr-app: samples/synchronization
:host-os: unix :host-os: unix
:board: roc_rk3568_pc_smp :board: roc_rk3568_pc//smp
:goals: run :goals: run
This will build an image with the shell_module sample app, boot it and This will build an image with the shell_module sample app, boot it and

0
boards/arm64/roc_rk3568_pc/roc_rk3568_pc.dts → boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc.dts

0
boards/arm64/roc_rk3568_pc/roc_rk3568_pc.yaml → boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc.yaml

3
boards/arm64/roc_rk3568_pc/roc_rk3568_pc_defconfig → boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc_defconfig

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

0
boards/arm64/roc_rk3568_pc/roc_rk3568_pc_smp.dts → boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc_smp.dts

2
boards/arm64/roc_rk3568_pc/roc_rk3568_pc_smp.yaml → boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc_smp.yaml

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

0
boards/arm64/roc_rk3568_pc/roc_rk3568_pc_smp_defconfig → boards/v2/firefly/roc_rk3568_pc/roc_rk3568_pc_smp_defconfig

Loading…
Cancel
Save