2. How to add a new driver in Linux

Written in the front I
have never known how to make a Linux driver, and I don't know where to start, until I need a custom ip core to do PYNQ, it just happens that I don't want to learn Python. So determined to get the Linux driver.

There are three ways to visually inspect the Linux driver to join the Linux system. Method one: dynamic loading; method two: compile into the kernel; method three: compile the kernel, which means making an embedded Linux system by yourself.

Insert picture description here
Insert picture description here
If you want to recompile the kernel to make the system, Xilinx has designed a tool: petalinux, which can be well designed for the development of embedded Linux zynq with the vivado family bucket. Unfortunately, this tool requires too much computer configuration, and my computer cannot afford it.

Talk about the above "adding a new driver to the kernel" problem:

make menuconfig post-instruction, presentation make: No ru

Guess you like

Origin blog.csdn.net/qq_45467083/article/details/110346617