SoC Linux 道場 【其ノ六】 カスタムドライバの作成とコンパイル(その2)

 

 

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 道場 【其ノ六】 カスタムドライバの作成とコンパイル(その2)』

"Sample code"

Document overview

 

Macnica Helio board comes with a basic reference design that includes LEDs (LED_PIO), dip switches (DIP_PIO), push buttons (BTN_PIO), etc.

今回は、このリファレンス・デザイン内の LED を制御するカスタム・ドライバを作成してコンパイルします。Helio ボードに NFS 経由で転送してから実行し、作成したドライバによる LED アクセス状態を確認してみます。

 

<Contents>

1.First of all

2. カスタム・ドライバの作成とコンパイル

 2-1. GPIO (LED) ドライバの作成

 2-2. Helio のリファレンス・デザインの入手と確認

 2-3. カスタム・ドライバのコンパイルとロード

 2-4. Quartus II Programmer による .sof ファイルのプログラミング

 2-5. デバイス・ファイルの作成とドライバ・アクセス

 2-6. LED の CGI 制御

 

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