Linux graphics card driver is compiled into the kernel

Reported answer
Linux graphics card driver is compiled into the kernel
Ask online customer service
Scan the code to ask online customer service
  • Number of answers

    three

  • Number of browses

    6,304

3 answers Default sorting
  • Default sorting
  • Sort by time

Adopted
1、 Steps for compiling drivers into the kernel
Adding programs to the Linux kernel requires the following three tasks:
1. Copy the source code to the corresponding directory of the Linux kernel source code;
2. Add the compilation configuration option of the project corresponding to the new source code in the Kconfig file of the directory;
3. Add a compilation entry for the new source code in the Makefile file of the directory.

The specific steps for compiling the bq27501 driver into the kernel are as follows:
1. First copy the driver code bq27501 folder to the ti navinci/drivers/directory.
Determine where the bq27501 driver module should be in the kernel source code tree.
The device drivers are stored in the subdirectory of the root directory drivers/of the kernel source tree. Inside, the device driver files are further organized by category, type, etc.
a. The character device exists in the drivers/char/directory
b. Block devices are stored in the drivers/block/directory
c. USB devices are stored in the drivers/usb/directory.
cancel comment
When compiling the kernel
cancel comment
No, ydfuoyu
cancel comment
ZOL Q&A > Graphics card > Other classifications > Linux graphics card driver is compiled into the kernel

report

Thank you for contributing to the harmony of the community. Please select the type of report

Reported successfully

It will be handled after verification
Thank you for your contribution to community harmony

Scan the code to participate in the trial of new products at 0 yuan
You can get the sheets and grand gifts on the top floor

 Scan and pay attention to us
Tips

Are you sure you want to cancel this registration and exit this activity?