Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm looking for a way to list and view built-in kernel drivers to see if my target driver is working.
I'm using an arm64 ubuntu rootfs I found somewhere which is not official of my hardware (zynqMP). It runs with the kernel I built, not perfectly I think.
I found that a lot threads suggest to list kernel drivers with somefile in /lib/modules/:
But, this does not work for me, as I don't have the $(uname -r) folder inside /lib/modules/
Those threads says that /lib/modules is maintained by linux, but seems not my case.
I want to see the built-in drivers and find my targeted one, and see if it is loaded with the kernel successfully, How should I do that if the /lib/modules/ method not working ?
hm. I don't really understand what do you mean by built-in driver. Usually this means a driver which is built into the kernel, so you cannot (and need not) modprobe it.
What kind of OS is it? (arm64 ubuntu rootfs is not an OS - at least I don't know about it).
hm. I don't really understand what do you mean by built-in driver. Usually this means a driver which is built into the kernel, so you cannot (and need not) modprobe it.
What kind of OS is it? (arm64 ubuntu rootfs is not an OS - at least I don't know about it).
Hi,
You are right, the kernel is built into the kernel, I cannot modprobe it. In fact the rootfs I use is an nvidia rootfs provided for their TX2, It's like an OS with out the linux kernel for embeded systems.
The link I get all suggest to look the built-in kernel in /lib/modules/$(uname -r)/modules.builtin.
But the $(uname -r) folder (which is typically named with the kernel version, for me it's 4.14.0-xilinx-v2018.3) does not exist for my case.
I also want to know where the folder come from, is it maintained by the kernel or the rootfs vendor ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.