LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 11-19-2021, 06:42 AM   #16
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 336

Rep: Reputation: Disabled

Quote:
Originally Posted by glorsplitz View Post
And when you do, make sure you let us know how long it all took, I'm curious.
Kernel took 1 hr to build. Modules I'm not completely sure. I started at 10pm and went to bed. When I woke up and checked at 6am it was completed. I used -j10 for compiling. I haven't testing it out yet to see if everything works. Need to make a backup just in case something goes wrong.

Last edited by kermitdafrog8; 11-19-2021 at 06:44 AM.
 
1 members found this post helpful.
Old 11-19-2021, 07:06 AM   #17
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Original Poster
Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by glorsplitz View Post
Code:
root@slackware:~# git clone --depth=1 --branch rpi-5.15.y git://github.com/raspberrypi/linux
root@slackware:~# cd  linux
At that point there should be config for the source just cloned? If needing to change something before continuing?
The kernel source which is downloaded from kernel.org or Raspberry Pi GitHub repository is in a raw state. It has not been configured in any way and no .config file exists for that reason. Until 'make menuconfig' (etc.) is run and a kernel .config file is created the source is not prepared to build or compile anything. In this case running 'make bcm2709_defconfig' would create a .config file which will compile a kernel for the Raspberry Pi 2/3 ARM device architecture. Source that has already been compiled (for example, with the sarpi*-kernel-source packages) then a kernel .config file is included as it's generally accepted and good practice that it should be. Any changes that need to be carried out can then be made in the .config file before it is used to compile the kernel source.

Another way that changes might be implemented is by applying patches or including drivers (modules) to the kernel source, where certain hardware is not already supported.

Hope this answers your query.
 
1 members found this post helpful.
Old 11-19-2021, 07:15 AM   #18
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Original Poster
Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by kermitdafrog8 View Post
Kernel took 1 hr to build. Modules I'm not completely sure. I started at 10pm and went to bed. When I woke up and checked at 6am it was completed. I used -j10 for compiling. I haven't testing it out yet to see if everything works. Need to make a backup just in case something goes wrong.
WOW! Using -j10 multijobs is way more than I have ever specified. It's a general rule of thumb that number of CPUs ,$(nproc) + half that amount, combined is acceptable. So, say if you have a 4 core CPU then -j6 would be fine. I always use -j4 because I don't care at all about speed, and it's a constant that I use to test and compare over devices and build jobs. i would assert that if you used -j4 or -j6 you might find that compiling the kernel and modules runs and completes a little quicker on the Raspberry Pi 3. The size of the /swap partition is also a factor. I usually have a 2G or 4G /swap for build systems using a microSD card for storage. On my Raspberry Pi 4 [4GB] R&D test machine the /swap partition is 8G because it's running with a 500GB SSD through a sata-usb3 adapter.
 
1 members found this post helpful.
Old 11-19-2021, 08:33 PM   #19
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 336

Rep: Reputation: Disabled
Raspberry Pi 4 - kernel 5.15.x available for testing on Slackware ARM

How many threads per core does the Pi3 have?
 
Old 11-20-2021, 01:44 AM   #20
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Original Poster
Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by kermitdafrog8 View Post
How many threads per core does the Pi3 have?
One thread per core, and four cores.
 
Old 11-24-2021, 01:25 AM   #21
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Original Poster
Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
SARPi installers updated to kernel 5.15.x

You will see from the Slackware ARM website's Beehive glimpse (build server farm) that Stuart is running (and building) kernel 5.15.4 on Slackware ARM and AArch64. So, the SARPi Project, which closely follows in the footsteps of his work, has updated its installers and system packages to kernel 5.15.x accordingly. The 'test' installers and packages running kernel 5.15.1, that where previously available in a seperate directory on the Slackware.UK repository, are no longer required and have been removed.

Incidentally, if you aren't aware of this inspired Beehive glimpse presentation which Stuart has created then I strongly advise you to bookmark the page and watch it like it's your favourite TV station.

As always, the SARPi installers and packages are available from: https://sarpi.penthux.net/index.php?p=downloads and https://slackware.uk/sarpi/
 
1 members found this post helpful.
Old 11-26-2021, 02:00 PM   #22
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 336

Rep: Reputation: Disabled
Raspberry Pi 4 - kernel 5.15.x available for testing on Slackware ARM

5.15.5 compiled for me on the Rpi3
 
1 members found this post helpful.
Old 11-26-2021, 02:11 PM   #23
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Original Poster
Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by kermitdafrog8 View Post
5.15.5 compiled for me on the Rpi3
The RPi kernel source should always build without any problems on these devices, or there'd be something wrong.

Great that you built them yourself though. Good work!

[EDIT] I'm currently testing the sarpi installer and packages before I upload them.

Last edited by Exaga; 11-26-2021 at 02:13 PM. Reason: edit
 
  


Reply

Tags
kernel 5.15, raspberry pi 4, sarpi, slackware arm



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] For Testing: Slackware ARM installation media for ARM and Aarch64 mralk3 Slackware - ARM 12 10-05-2021 08:07 AM
[SOLVED] KODI Leia - 18.x MediaPlayer - Optimized for Raspberry Pi1/Zero/Pi2B/Pi3B(+) on Slackware ARM 14.2 SF & Slackware ARM - current HF abga Slackware - ARM 25 04-29-2020 05:43 PM
[SOLVED] KODI Krypton - 17.x MediaPlayer - Optimized for Raspberry Pi1/Pi2/Pi3 on Slackware ARM 14.2 SF & Slackware ARM - current HF abga Slackware - ARM 40 08-28-2018 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration