SoC Linux 道場 【其ノ五】 Linux カーネルの入手とコンパイル、カスタムドライバの作成とコンパイル(その1)

 

 

Recent embedded products are increasingly equipped with Linux® due to the sophistication of their functions.

 

In this "SoC Linux Dojo", we will target Macnica 's Helio board equipped with Intel® FPGA Cyclone® V SoC, and first, we will write a pre-built SD card binary image to the SD card and confirm that Linux boots. .

After that, prepare a compilation environment (Linux machine + cross-compiler), obtain and compile the Linux kernel source code, create a custom driver, add a user circuit to the SoC FPGA, check the operation of PWM control, etc. We will explain the basic development method in all 8 times.

 

『SoC Linux 道場 【其ノ五】 Linux カーネルの入手とコンパイル、カスタムドライバの作成とコンパイル(その1)』

Document overview

 

今回は、インテル® FPGA SoC FPGA 向け Yocto ソース・パッケージを利用した Linux® カーネルの入手とコンパイルの手順について解説します。

RocketBoards.org ポータル・サイトから Linux カーネルの git ツリーのクローンを作成し、その後、カーネル・コンフィギュレーションとコンパイルを実行します。

 

<Contents>

1.First of all

2. Linux カーネルの入手とコンパイル

 2-1. インターネットに接続するためのネットワーク設定の変更

  2-1-1. Windows のネットワーク設定

  2-1-2. Vine Linux のネットワーク設定

  2-1-3. VMware のネットワーク設定

  2-1-4. インターネットへの接続確認

 2-2. Linux カーネルの入手

 2-3. Linux カーネルのコンパイル

 2-4. Helio に接続するためのネットワーク設定の変更

  2-4-1. Windows のネットワーク設定

  2-4-2. Vine Linux のネットワーク設定

  2-4-3. VMware のネットワーク設定

  2-4-4. Helio との接続確認

 2-5. コンパイルした Linux カーネルに差し替えて Helio を起動してみる

  2-5-1. Windows 側に zImage ファイルをコピーする

  2-5-2. microSD カード内の zImage ファイルを差し替える

  2-5-3. zImage ファイルを差し替えた microSD カードで Helio を起動する

 

Related Documents

 

SoC Linux Dojo [No.1] Checking Linux boot on Helio board using pre-built SD card image

SoC Linux Dojo [No.2] Preparation of Linux machine

SoC Linux Dojo [Part 3] Cross compiler installation and compilation, GDB debugging

SoC Linux Dojo [No.4] Compiling GNU Applications

SoC Linux Dojo [Part 5] Obtaining and compiling a Linux kernel, creating and compiling a custom driver (Part 1)

SoC Linux Dojo [Part 6] Creating and compiling a custom driver (Part 2)

SoC Linux Dojo [No.7] Addition of user circuit and operation check

SoC Linux Dojo [Part 8] How to create remote PWM control, motor control, and startup scripts with network applications

 

List of Intel® FPGA Software Resources