boards/up-bridge-the-gap/up_squared_pro_7000/doc/up_squared_pro_7000.html · boards/up-bridge-the-gap/up_squared_pro_7000/doc/up_squared_pro_7000.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · UP · Alder Lake N

UP Squared Pro 7000

Alder Lake N board의 CN14 serial console과 USB UEFI·network boot를 설명합니다.

Official pathboards/up-bridge-the-gap/up_squared_pro_7000/doc/up_squared_pro_7000.html
Source fileboards/up-bridge-the-gap/up_squared_pro_7000/doc/up_squared_pro_7000.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

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

Part 1

요약·해설

원문 include로 확장되는 UEFI·DHCP·TFTP·PXE 절차와 12개 명령 block을 보존했습니다.

Generation

UP Boards 3rd

Platform

Intel Alder Lake N

Console

CN14 UART

Boot

UEFI · PXE

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 D57957850D29187FB1B209B1CBB750D7A76CB989A4D73F3F36AA720E7CB18198
:orphan:

.. _up_squared_pro_7000_board:

UP Squared Pro 7000
###################

Overview
********

UP Squared Pro 7000 is the 3rd generation of palm-sized developer board of
UP Boards series. UP Squared Pro 7000 is powered by Intel Alder Lake N
(Intel N-series Platform).

For more information about Intel N-series Platform please refer to
:ref:`intel_adl_n`.

This board configuration enables kernel support for the UP Squared Pro 7000 boards.

Hardware
********

General information about the board can be found at the `UP Squared Pro 7000`_ website.

Connections and IOs
===================

Refer to the `UP Squared Pro 7000`_ website for more information.

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

Use the following procedures for booting an image for an UP Squared Pro 7000 board.

.. contents::
   :depth: 1
   :local:
   :backlinks: top

Build Zephyr application
========================

#. Build a Zephyr application; for instance, to build the ``hello_world``
   application for UP Squared Pro 7000 board:

   .. zephyr-app-commands::
      :zephyr-app: samples/hello_world
      :board: up_squared_pro_7000
      :goals: build

   .. note::

      A Zephyr EFI image file named :file:`zephyr.efi` is automatically
      created in the build directory after the application is built.

Connect Serial Console
======================

Current board configuration assumes that serial console is connected to
connector ``CN14 USB 2.0/UART 1x10P Wafer``. Refer to `User Manual`_ for
description of the connector and location on the board.

Refer to `UP Serial Console`_ for additional information about serial
connection setup.

Booting the UP Squared Pro 7000 Board using UEFI
================================================

.. include:: ../../../../../../../boards/intel/common/efi_boot.rst
   :start-after: start_include_here

Booting the UP Squared Pro 7000 Board over network
==================================================

.. include:: ../../../../../../../boards/intel/common/net_boot.rst
   :start-after: start_include_here

References
**********

.. target-notes::

.. _UP Squared Pro 7000: https://up-board.org/up-squared-pro-7000/
.. _User Manual: https://downloads.up-community.org/download/up-squared-pro-7000-user-manual/
.. _UP Serial Console: https://github.com/up-board/up-community/wiki/Serial-Console

Part 3

한국어 전문 번역

개요

UP Squared Pro 7000은 손바닥 크기 UP Boards 계열의 3세대 developer board이며 Intel N-series platform인 Intel Alder Lake N으로 구동됩니다. 이 board configuration은 UP Squared Pro 7000용 kernel 지원을 활성화합니다.

하드웨어

일반 사양과 연결·I/O 정보는 UP Squared Pro 7000 공식 사이트를 참고합니다.

Programming과 debugging

Zephyr application build

예를 들어 hello_world application을 다음처럼 build합니다.

# From the root of the zephyr repository
west build -b up_squared_pro_7000 samples/hello_world

Serial console 연결

현재 board configuration은 serial console이 CN14 USB 2.0/UART 1x10P Wafer connector에 연결됐다고 가정합니다. Connector 설명과 board 위치는 User Manual을 참고하고, 추가 설정은 UP Serial Console을 참고합니다.

UEFI로 UP Squared Pro 7000 boot

Boot device 준비

Zephyr application image를 boot할 USB flash drive를 준비합니다.

  1. USB flash drive를 FAT32로 format합니다. Windows에서는 File Explorer의 Format에서 FAT32를 선택하고, Linux에서는 gparted 또는 아래 명령을 사용합니다.
  2. Zephyr EFI image zephyr/zephyr.efi를 USB drive에 복사합니다.
mkfs.vfat -F 32 <device-node>

Board에서 Zephyr boot

  1. 준비한 USB flash drive를 board에 연결합니다.
  2. Serial cable로 host에 연결하고 115200 baud로 출력을 관찰합니다.
  3. Board 전원을 켭니다.
  4. 아래 문구가 보이면 F7을 누릅니다.
  5. Menu에서 해당 EFI shell 항목을 선택합니다.
  6. EFI shell에서 Zephyr EFI image를 선택해 boot합니다.
  7. Boot가 끝나면 Zephyr application image 실행이 완료됩니다.
Press <DEL> or <ESC> to enter setup.
Shell> fs0:zephyr.efi

Network로 UP Squared Pro 7000 boot

Linux host 준비

  1. DHCP·TFTP server로 dnsmasq를 설치합니다.
  2. DHCP server가 사용할 interface와 주소 범위를 구성합니다.
  3. TFTP root와 boot file을 구성합니다.
  4. zephyr/zephyr.efi를 /srv/tftp로 복사합니다.
  5. TFTP root tree를 확인합니다.
  6. dnsmasq service를 재시작합니다.
sudo apt-get install dnsmasq
# Only listen to this interface
interface=eno2
dhcp-range=10.1.1.20,10.1.1.30,12h
# tftp
enable-tftp
tftp-root=/srv/tftp
dhcp-boot=zephyr.efi
cp zephyr/zephyr.efi /srv/tftp
tree /srv/tftp
/srv/tftp
└── zephyr.efi
sudo systemctl restart dnsmasq.service

Network boot용 board 준비

  1. BIOS setting에서 PXE network를 활성화합니다.
  2. Network boot를 첫 번째 boot option으로 지정합니다.

Board boot

  1. Serial cable로 host에 연결하고 115200 baud로 출력을 관찰합니다.
  2. Board 전원을 켭니다.
  3. Linux host에서 dnsmasq log를 보고 board가 IP address를 받았는지 확인합니다.
  4. TFTP로 zephyr.efi가 전송됐는지 확인합니다.
  5. Boot가 완료되면 Zephyr application image 실행이 끝납니다.
journalctl -f -u dnsmasq
dnsmasq-dhcp[5386]: DHCPDISCOVER(eno2) 00:07:32:52:25:88
dnsmasq-dhcp[5386]: DHCPOFFER(eno2) 10.1.1.28 00:07:32:52:25:88
dnsmasq-dhcp[5386]: DHCPREQUEST(eno2) 10.1.1.28 00:07:32:52:25:88
dnsmasq-dhcp[5386]: DHCPACK(eno2) 10.1.1.28 00:07:32:52:25:88
journalctl -f -u dnsmasq
dnsmasq-tftp[5386]: sent /srv/tftp/zephyr.efi to 10.1.1.28

참고 자료

Source

출처

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