February 10, 20242 yr Hi, I'm new to Armbian and this is my first time ever compiling any Linux system. I'm sorry to bother you with such a basic question, but I just don't understand. I want to enable a kernel module. Upon browsing the kernel configuration utility menus, I don't see this functionality anywhere. But if I run search with '/', I find this, this is the module I want: How do I now proceed to enable it? Or make sure that it's enabled (if present by default)? Also, what's the meaning of =y and =m? It's listed in the resulting .config file as =y, just as the search shows.
February 10, 20242 yr Solution Hi, =y means the driver/functionality is directly compiled into the kernel =m means it will be built and made available as kernel module
February 11, 20242 yr Author Thank you very much, that explains it. One nitpick, definitely not worth a separate thread. compile.sh suggested that I should first run it with the "kernel-config" option, and after it runs, it says to build using make. But that doesn't work as no makefiles are created. The two-stage process (first configure, then compile) makes a lot of sense to me, but how to run the second stage?
February 11, 20242 yr There are actual two ways. You can use ./compile.sh KERNEL_CONFIGURE=yes which will continue to assemble an image with the modified config file which is more user friendly. On the other hand there is ./compile.sh kernel-config which will export the modified kernel config into output/ folder and stops there which is more developer friendly. If you chose latter route you need to move the exported config to userpatches or overwrite the one in config/kernel/. Once you done that simply execute ./compile.sh and the modified config will be used.
February 11, 20242 yr Author Thanks! So everything works fine, it's only the "run make" instruction that's misleading. Other than that, I have successfully compiled Armbian and it runs perfectly! Edited February 11, 20242 yr by VioletGiraffe
February 12, 20242 yr Author It is the last line of output from compile.sh when it's invoked with kernel-config Edited February 12, 20242 yr by VioletGiraffe
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.