Slackware - ARMThis forum is for the discussion of Slackware ARM.
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.
What is the correct procedure for building your own kernel from source in Slackwareaarch64?
I've done this many times on x86(_64): make oldconfig, make all, make install, make modules install, make headers install (or similar) followed by mkinitrd in /boot.
However, looking at the /boot folder in slackwareaarch64, the naming conventions seem different and there is an additional os-initrd-mgr file. The naming conventions I think I can figure out (simply rename vmlinuz? Or does make install do this for you?), but is the initrd created in a similar way? Does os-initrd-mgr replace mkinitrd? Or is that solely concerned with firmware?
What is different is the boot sequence on your particular SBC, which you don't mention. I can only tell you about my own SBC which is a Raspberry Pi 4. Whether uboot is being used or not affects the naming conventions & files read.
Presumably the way Stuart builds the kernel is some "universal" way? My guess would be that "Image-armv8-x.x.x" is simply "vmlinuz" (in x86 speak) renamed, but the initrd appears to contain much more than just the ext4 module that I would expect on x86.
As I say, I'm quite relaxed in the x86 world, but I have a lot to learn about arm! Hence my request for an "idiot's guide"!
It is all written in shell scripts and should be fine if you stick with bash. There are additional README's and man pages for slackkit that should get you started. There are comments everywhere in the code of the toolkit.
If you would like to use other computers on your network as networked build machines, he wrote a tool that will make this happen on x86_64, x86, arm, and aarch64. slackwarearm-devtools/x-toolchain/
Last edited by mralk3; 05-18-2022 at 11:24 AM.
Reason: typo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.