FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

linux_kernel_driver/example/DriverPractice at master · coder280/linux_kernel_driver · GitHub

Repository navigation

Latest commit

 

History

History
 
 
  1. linux_kernel_driver
  2. example

DriverPractice

README.md

Linux Driver Practices

This is reference from 動手寫 Linux Driver

Environment Preparation

You may use Git to clone the repository, toolchain to build the codes.

If you develope for the embedded system, you may need the Device Tree Compiler (DTC).

Archlinux

  1. Install development tools

    pacman -S git
    pacman -S make gcc
  2. Install the Linux kernel headers. It depends on the environment.

    • x86 series pacman -S linux-headers

    • ARMv7 series linux-armv7-headers

    • Even by the board ...

  3. Install the Device Tree Compiler (DTC)

    pacman -S dtc

Back | FazBrowse Home | New Git URL