Slackware - ARM This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-10-2017, 01:13 AM
|
#1
|
Member
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37
Rep: 
|
How to make a kernel package for Raspberry Pi?
I know about this helpful manual, but I don't understand what to do with compiled files. In x86 it's easy, but there are some kernel.img files. So I can't find any slackbuild to make a package. I know about source/ directory in the repo, but I think it's not for raspberry pi. Thanks!
Last edited by Reedych; 05-10-2017 at 10:24 AM.
|
|
|
05-10-2017, 09:42 AM
|
#2
|
Slackware Contributor
Registered: Apr 2008
Distribution: Slackware
Posts: 1,675
|
Quote:
Originally Posted by Reedych
I know about this helpful manual, but I don't understand what to do with compiled files. In x86 it's easy, but there are some kernel.img files. So I can't find any slackbuild to make a package. I know about source/ directory in the repo, but I think it's not for raspberry pi. Thanks!
|
Would you be able to rename the topic to include "Raspberry Pi" ? I was poised to write short treatise on how to build a Kernel using the build scripts in the ARM source tree, but as you noticed - it does not support the Raspberry Pi since it's not an officially supported device.
If someone were to search the forums for a similar question, it'd help to have a subject line more closely representing the question.
Thanks
|
|
|
05-10-2017, 10:24 AM
|
#3
|
Member
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37
Original Poster
Rep: 
|
Quote:
Originally Posted by drmozes
Would you be able to rename the topic to include "Raspberry Pi" ? I was poised to write short treatise on how to build a Kernel using the build scripts in the ARM source tree, but as you noticed - it does not support the Raspberry Pi since it's not an officially supported device.
If someone were to search the forums for a similar question, it'd help to have a subject line more closely representing the question.
Thanks
|
Ok, thanks.
|
|
|
05-11-2017, 01:52 PM
|
#4
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,071
|
Quote:
Originally Posted by Reedych
I know about this helpful manual, but I don't understand what to do with compiled files. In x86 it's easy, but there are some kernel.img files. So I can't find any slackbuild to make a package. I know about source/ directory in the repo, but I think it's not for raspberry pi. Thanks!
|
Can you explain what you are trying to achieve as an end result?
|
|
|
05-12-2017, 06:48 AM
|
#5
|
Member
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37
Original Poster
Rep: 
|
Quote:
Originally Posted by Exaga
Can you explain what you are trying to achieve as an end result?
|
I want a package like this.
|
|
|
05-12-2017, 09:24 AM
|
#6
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by Reedych
I want a package like this.
|
What version of Raspberry Pi are you building a kernel for?
Are you starting from scratch with building the kernel or do you have it already built and just want to make a package to install it?
When I needed to learn about Slackware packages I found Mozes' introduction to Slackware Packages (.PDF) a great resource. I pretty much picked up everything I needed to know from there, and Slack Docs was a great help too.
|
|
1 members found this post helpful.
|
05-12-2017, 11:59 AM
|
#7
|
Member
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37
Original Poster
Rep: 
|
Quote:
Originally Posted by Penthux
What version of Raspberry Pi are you building a kernel for?
Are you starting from scratch with building the kernel or do you have it already built and just want to make a package to install it?
When I needed to learn about Slackware packages I found Mozes' introduction to Slackware Packages (.PDF) a great resource. I pretty much picked up everything I needed to know from there, and Slack Docs was a great help too.
|
Raspberry Pi 3. I'm going to build the kernel and package it. I know how to use makepkg, but I don't understand the format of /boot.
|
|
|
05-15-2017, 03:12 PM
|
#8
|
Member
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264
Rep:
|
Quote:
Originally Posted by Reedych
Raspberry Pi 3. I'm going to build the kernel and package it. I know how to use makepkg, but I don't understand the format of /boot.
|
In the /boot directory you need the Raspberry Pi firmware, including the /boot/overlays directory, and of course the kernel7.img
<edit> you could simply explode the sarpi3-boot-firmware-armv7-1_slackcurrent_fd0.txz package to view the contents and recreate it with your own kernel and latest firmware included.
Last edited by Penthux; 05-15-2017 at 03:17 PM.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 06:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|