boards/firefly/roc_rk3568_pc/doc/index.html · boards/firefly/roc_rk3568_pc/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · Firefly RK3568

Firefly ROC-RK3568-PC

Quad-core ARMv8.2-A mini computer에서 Zephyr UP·SMP application을 실행합니다.

Official pathboards/firefly/roc_rk3568_pc/doc/index.html
Source fileboards/firefly/roc_rk3568_pc/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

ROC-RK3568-PC는 4GB LPDDR4, eMMC, NVMe, WiFi 6와 dual Ethernet을 갖춘 quad-core Cortex-A55 board입니다.

CPU

4× Cortex-A55 · 2.0GHz

RAM

4GB LPDDR4

Boot

U-Boot · TFTP

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 4D958BF92CCB9937C1C51BE52631FC558373FE3A0EFF34395F4AED0EE36958B7
.. _roc_rk3568_pc:

Firefly ROC-RK3568-PC (Quad-core Cortex-A55)
############################################

Overview
********

The ROC-RK3568-PC is a Quad-Core 64-Bit Mini Computer, which supports 4G large RAM. M.2
and SATA3.0 interfaces enables expansion with large hard drives.
Providing dual Gigabit Ethernet ports, it supports WiFi 6 wireless transmission.
Control Port can be connected with RS485/RS232 devices.

RK3568 quad-core 64-bit Cortex-A55 processor, with brand new ARM v8.2-A architecture,
has frequency up to 2.0GHz. Zephyr OS is ported to run on it.


- Board features:

  - RAM: 4GB LPDDR4
  - Storage:

    - 32GB eMMC
    - M.2 PCIe 3.0 x 1 (Expand with 2242 / 2280 NVMe SSD)
    - TF-Card Slot
  - Wireless:

    - Supports WiFi 6 (802.11 AX)
    - Supports BT5.0
  - USB:

    - One USB 3.0
    - Two USB 2.0
    - One Type-C
  - Ethernet
  - M.2 PCIe3.0 (Expand with NVMe SSD)
  - LEDs:

    - 1x Power status LED
  - Debug

    - UART debug ports for board


Supported Features
==================

The Zephyr roc_rk3568_pc board configuration supports the following hardware
features:

+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component                    |
+===========+============+=====================================+
| GIC-v3    | on-chip    | interrupt controller                |
+-----------+------------+-------------------------------------+
| ARM TIMER | on-chip    | system clock                        |
+-----------+------------+-------------------------------------+
| UART      | on-chip    | serial port                         |
+-----------+------------+-------------------------------------+

Devices
========
System Clock
------------

This board configuration uses a system clock frequency of 24 MHz.
Cortex-A55 Core runs up to 2.0 GHz.

Serial Port
-----------

This board configuration uses a single serial communication channel with the
CPU's UART2.

Programming and Debugging
*************************

Use U-Boot to load the zephyr.bin to the memory and kick it:

.. code-block:: console

    tftp 0x40000000 zephyr.bin; dcache flush; icache flush; dcache off; icache off; go 0x40000000

Use this configuration to run basic Zephyr applications and kernel tests,
for example, with the :zephyr:code-sample:`synchronization` sample:

.. zephyr-app-commands::
   :zephyr-app: samples/synchronization
   :host-os: unix
   :board: roc_rk3568_pc
   :goals: run

This will build an image with the synchronization sample app, boot it and
display the following ram console output:

.. code-block:: console

    ***  Booting Zephyr OS build bc695c6df5eb  ***
    thread_a: Hello World from cpu 0 on roc_rk3568_pc!
    thread_b: Hello World from cpu 0 on roc_rk3568_pc!
    thread_a: 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,
for example, with the :zephyr:code-sample:`synchronization` sample:

.. zephyr-app-commands::
   :zephyr-app: samples/synchronization
   :host-os: unix
   :board: roc_rk3568_pc//smp
   :goals: run

This will build an image with the shell_module sample app, boot it and
display the following ram console output:

.. code-block:: console

    ***  Booting Zephyr OS build bc695c6df5eb  ***
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    I/TC: Secondary CPU 2 initializing
    I/TC: Secondary CPU 2 switching to normal world boot
    I/TC: Secondary CPU 3 initializing
    I/TC: Secondary CPU 3 switching to normal world boot
    Secondary CPU core 1 (MPID:0x100) is up
    Secondary CPU core 2 (MPID:0x200) is up
    Secondary CPU core 3 (MPID:0x300) is up

    thread_a: Hello World from cpu 0 on roc_rk3568_pc!
    thread_b: Hello World from cpu 1 on roc_rk3568_pc!
    thread_a: Hello World from cpu 0 on roc_rk3568_pc!
    thread_b: Hello World from cpu 1 on roc_rk3568_pc!

References
==========

More information can refer to Firefly official website:
`Firefly website`_.

.. _Firefly website:
   https://en.t-firefly.com/product/industry/rocrk3568pc.html?theme=pc

Part 3

한국어 전문 번역

개요

ROC-RK3568-PC는 4GB large RAM을 지원하는 quad-core 64-bit mini computer입니다. M.2와 SATA 3.0 interface로 large hard drive를 확장할 수 있습니다. dual Gigabit Ethernet port를 제공하고 WiFi 6 wireless transmission을 지원하며 control port에는 RS485/RS232 device를 연결할 수 있습니다.

RK3568 quad-core 64-bit Cortex-A55 processor는 새로운 ARMv8.2-A architecture를 사용하고 최대 2.0GHz로 동작합니다. Zephyr OS가 이 processor에서 실행되도록 port되었습니다.

Board 기능은 다음과 같습니다.

  • RAM: 4GB LPDDR4
  • Storage: 32GB eMMC, M.2 PCIe 3.0×1(2242/2280 NVMe SSD 확장), TF-card slot
  • Wireless: WiFi 6(802.11ax), Bluetooth 5.0
  • USB: USB 3.0 1개, USB 2.0 2개, Type-C 1개
  • Ethernet
  • M.2 PCIe 3.0(NVMe SSD 확장)
  • LED: power-status LED 1개
  • Debug: board UART debug port

지원 기능

Zephyr roc_rk3568_pc board configuration은 다음 hardware 기능을 지원합니다.

InterfaceControllerDriver/Component
GIC-v3on-chipinterrupt controller
ARM TIMERon-chipsystem clock
UARTon-chipserial port

Device

System Clock

이 board configuration은 24MHz system clock frequency를 사용하며 Cortex-A55 core는 최대 2.0GHz로 동작합니다.

Serial Port

이 board configuration은 CPU UART2를 사용하는 단일 serial communication channel을 사용합니다.

Programming과 Debugging

U-Boot를 사용해 zephyr.bin을 memory에 load하고 실행합니다.

tftp 0x40000000 zephyr.bin; dcache flush; icache flush; dcache off; icache off; go 0x40000000

이 configuration으로 기본 Zephyr application과 kernel test를 실행할 수 있습니다. 예를 들어 synchronization sample은 다음과 같이 build·run합니다.

west build -b roc_rk3568_pc samples/synchronization
west build -t run

Synchronization sample image를 build·boot하면 다음 RAM console output이 표시됩니다.

***  Booting Zephyr OS build bc695c6df5eb  ***
thread_a: Hello World from cpu 0 on roc_rk3568_pc!
thread_b: Hello World from cpu 0 on roc_rk3568_pc!
thread_a: Hello World from cpu 0 on roc_rk3568_pc!
thread_b: Hello World from cpu 0 on roc_rk3568_pc!

roc_rk3568_pc//smp configuration은 Zephyr SMP application과 subsystem test를 지원합니다. Synchronization sample 예시는 다음과 같습니다.

west build -b roc_rk3568_pc//smp samples/synchronization
west build -t run

Shell-module sample image를 build·boot하면 다음 RAM console output이 표시됩니다.

***  Booting Zephyr OS build bc695c6df5eb  ***
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
Secondary CPU core 1 (MPID:0x100) is up
Secondary CPU core 2 (MPID:0x200) is up
Secondary CPU core 3 (MPID:0x300) is up

thread_a: Hello World from cpu 0 on roc_rk3568_pc!
thread_b: Hello World from cpu 1 on roc_rk3568_pc!
thread_a: Hello World from cpu 0 on roc_rk3568_pc!
thread_b: Hello World from cpu 1 on roc_rk3568_pc!

참고 자료

자세한 정보는 Firefly official website를 참조하십시오.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.