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.
Slackware ARM (SA64) does not support the RockPi 4C+ currently. SPI flash is not strictly necessary to boot any hardware model in SA64. As an example, the raspberry pi does not boot from SPI flash. The Slackware installer boots from an SD Card on all hardware models. You can modify your installation after the fact in a chroot to boot from the eMMC.
Using the ubuntu kernel and bootloader on the SD card I was able to point it at the slackware root partition on the NVME I loaded it on. After modifying the extlinux/extlinux.conf file to point the root at the nvme.
I asked this question in another thread though it's better here. When a new board is released can the DTB from a different board be used for it? How does the DTB/kernel relate to each other. This is my first go at ARM boards so I really have no idea how that works.
Short answer: You should use the dtb that is meant for the board you want to light up. The kernel relies on the dtb to identify the hardware and load the correct/required drivers (kernel modules).
Long and fuzzy answer: A DTB is a device tree blob. It is used to describe the hardware it is meant for. Generally, it isn't a good idea to use a dtb for a different board than it was meant for. In some cases it can help you get an unsupported/bleeding edge board up and running. An example is Orange Pi R1 Plus (rk3328 chipset) that uses an include in the dts (device tree source) from the nano pi r2s (if memory serves me right) dts during build time. It is recommended that this be done with similar hardware and especially the same chip set.
I do not have any experience with the Rock Pi hardware models. You may be able to use a dtb from a previous Rock Pi model, but there are no guarantees. This is a guess based on many assumptions. The main things you need to boot the Slackware installer are the storage driver (sd card, hard drive, SSD), ethernet port driver, generic keyboard driver, and the serial or display driver. If those are present, you can install Slackware, then rebuild the kernel/dtb file with support for your board.
Last edited by mralk3; 06-24-2022 at 01:40 PM.
Reason: typo
I have the Slackware system booting under 4.4 kernel that radxa provides with their Ubuntu distro dtb. I simply provided the NVME as the root in kernel options and booted from the SD.
However, the wifi doesnt work for some reason. Since I'm booting with their kernel/dtb I figured all would be well. Very strange.
I'd like to use a pure latest Slackware kernel. How would I do the rebuild?
Thanks for your great explanation as well mrtalk3!
Well... I figured it out ...
The wifi worked under ubuntu with the same kernel so I figured there must be something on the root filesystem missing on slackware which caused this. I've spent a week trying to figure this out but I finally realized after I walked 'dmesg' that there is a '/system' on the root of the ubuntu filesystem that contained a bunch of .hcd and .bin files. Those filenames matched the wifi card. I copied over that directory to the slackware root and bam.. boot was fine. I think something (vmlinuz?) is pointing at that directory path to load those files.
Anyway it's fixed now. I'd still like to get a later kernel running but at least now I have wifi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.