boards/raspberrypi/rpi_4b/doc/index.html · boards/raspberrypi/rpi_4b/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · Raspberry Pi · Cortex-A72

Raspberry Pi 4 Model B

BCM2711 기반 Raspberry Pi 4에서 TF card로 64-bit Zephyr image를 boot하는 문서입니다.

Official pathboards/raspberrypi/rpi_4b/doc/index.html
Source fileboards/raspberrypi/rpi_4b/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

GIC·GPIO·Mini UART 지원 범위와 firmware 3개, config.txt, zephyr.bin을 이용한 FAT32 boot 절차를 설명합니다.

CPU

Cortex-A72 · 64-bit

Boot media

MBR · FAT32 TF card

Console

GPIO 14/15 · Mini UART

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 4A70676863E5615F7FD7D838F5798CF1691891EFFB34929D4983DAB721946DFC
.. rpi_4b:

Raspberry Pi 4 Model B (Cortex-A72)
###################################

Overview
********
see <https://www.raspberrypi.com/products/raspberry-pi-4-model-b/specifications/>

Hardware
********
see <https://www.raspberrypi.com/documentation/computers/raspberry-pi.html>

Supported Features
==================
The Raspberry Pi 4 Model B board configuration supports the following
hardware features:

.. list-table::
   :header-rows: 1

   * - Peripheral
     - Kconfig option
     - Devicetree compatible
   * - GIC-400
     - N/A
     - :dtcompatible:`arm,gic-v2`
   * - GPIO
     - :kconfig:option:`CONFIG_GPIO`
     - :dtcompatible:`brcm,bcm2711-gpio`
   * - UART (Mini UART)
     - :kconfig:option:`CONFIG_SERIAL`
     - :dtcompatible:`brcm,bcm2711-aux-uart`

Other hardware features have not been enabled yet for this board.

The default configuration can be found in
:zephyr_file:`boards/raspberrypi/rpi_4b/rpi_4b_defconfig`

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

TF Card
=======

Prepare a TF card with MBR and FAT32. In the root directory of the TF card:

1. Download and place these firmware files:

   * `bcm2711-rpi-4-b.dtb <https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/bcm2711-rpi-4-b.dtb>`_
   * `bootcode.bin <https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/bootcode.bin>`_
   * `start4.elf <https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/start4.elf>`_

2. Copy ``build/zephyr/zephyr.bin``
3. Create a ``config.txt``:

   .. code-block:: text

      kernel=zephyr.bin
      arm_64bit=1
      enable_uart=1
      uart_2ndstage=1

Insert the card and power on the board. You should see the following output on
the serial console (GPIO 14/15):

.. code-block:: text

   *** Booting Zephyr OS build XXXXXXXXXXXX  ***
   Hello World! Raspberry Pi 4 Model B!

Part 3

한국어 전문 번역

개요

Raspberry Pi 4 Model B의 제품 사양은 Raspberry Pi 공식 specification에서 확인할 수 있습니다.

하드웨어

전체 hardware 설명은 Raspberry Pi computer hardware 문서를 참고합니다.

지원 기능

Raspberry Pi 4 Model B board configuration은 다음 hardware feature를 지원합니다.

주변장치Kconfig optionDevicetree compatible
GIC-400N/Aarm,gic-v2
GPIOCONFIG_GPIObrcm,bcm2711-gpio
UART (Mini UART)CONFIG_SERIALbrcm,bcm2711-aux-uart

그 밖의 hardware feature는 아직 이 보드에서 활성화되지 않았습니다. 기본 구성은 boards/raspberrypi/rpi_4b/rpi_4b_defconfig에 있습니다.

프로그래밍과 디버깅

TF 카드

TF card를 MBR과 FAT32로 준비합니다. TF card의 root directory에서 다음 작업을 수행합니다.

  1. bcm2711-rpi-4-b.dtb, bootcode.bin, start4.elf firmware file을 내려받아 놓습니다.
  2. build/zephyr/zephyr.bin을 복사합니다.
  3. 다음 내용으로 config.txt를 만듭니다.
kernel=zephyr.bin
arm_64bit=1
enable_uart=1
uart_2ndstage=1

Card를 삽입하고 보드 전원을 켭니다. GPIO 14/15에 연결한 serial console에 다음 출력이 표시되어야 합니다.

*** Booting Zephyr OS build XXXXXXXXXXXX  ***
Hello World! Raspberry Pi 4 Model B!

Source

출처

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