Firefly Open Source Community

Title: How to install Kernel development packages? [Print This Page]

Author: Srikrishna    Time: 8/8/2019 15:08
Title: How to install Kernel development packages?
Last edited by Srikrishna In 8/8/2019 15:09 Editor

I am trying to install PCIe drivers which needs kernel development packages. Can anyone help me with in installing the kernel package for an Ubuntu RK3399-PC?
Author: leungÏÈÉ­    Time: 8/12/2019 11:42
Last edited by leungÏÈÉ­ In 8/12/2019 11:52 Editor

1.Put kernel source code under this directory£º/usr/src/kernel
2.Install kernel package tool on the board£º
apt-get install kernel-package
3.Make package deb on the board£º
For example with firefly-rk3288:
make firefly-rk3288-linux_defconfig
make-kpkg kernel_headers --config menuconfigExecute second command will display the dialog of menuconfig, pls load .config then save .config , exit for auto complie . finally create: /usr/src/kernel/debian/linux-headers-3.10.0/  and  /usr/src/linux-headers-3.10.0_3.10.0-10.00.Custom_armhf.deb
4.Install head-file:
dpkg -i /usr/src/linux-headers-3.10.0_3.10.0-10.00.Custom_armhf.deb
Will create file after install £º/usr/src/linux-headers-3.10.0
Then, if you want to complie kernel source code on the board , pls add patch below on Makefile£º
KERNELDR := /usr/src/linux-headers-3.10.0/

Author: tomward961    Time: 1/10/2026 02:07
I¡¯m truly thankful for your article, it really stood out. I¡¯m sharing the Valid braindumps PL-400 pdf test that helped me achieve a promotion and raise. It's free for you today¡ªbest of luck in reaching your career goals!
Author: zackcoo679    Time: 1/19/2026 00:33
Truly a magnificent read, thank you for this wonderful share. Here¡¯s the CGEIT latest exam camp sheet test I took to earn my promotion and raise, now free for you today. Best of luck in your professional journey!
Author: gusston139    Time: 1/19/2026 01:40
Your article is brilliant, thank you for sharing! The Valid dumps 010-160 free download questions are now free! Wishing you all the best for your exams!




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1