LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-10-2017, 01:13 AM   #1
Reedych
Member
 
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37

Rep: Reputation: Disabled
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.
 
Old 05-10-2017, 09:42 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,675

Rep: Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373Reputation: 1373
Quote:
Originally Posted by Reedych View Post
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
 
Old 05-10-2017, 10:24 AM   #3
Reedych
Member
 
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by drmozes View Post
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.
 
Old 05-11-2017, 01:52 PM   #4
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,071

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
Quote:
Originally Posted by Reedych View Post
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?
 
Old 05-12-2017, 06:48 AM   #5
Reedych
Member
 
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Exaga View Post
Can you explain what you are trying to achieve as an end result?
I want a package like this.
 
Old 05-12-2017, 09:24 AM   #6
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
Quote:
Originally Posted by Reedych View Post
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.
Old 05-12-2017, 11:59 AM   #7
Reedych
Member
 
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Penthux View Post
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.
 
Old 05-15-2017, 03:12 PM   #8
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
Quote:
Originally Posted by Reedych View Post
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.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] How to make an amd64 package depend on an i386 package? pillarsdotnet Debian 4 09-04-2012 04:40 PM
Setting Up A Local Repository For An Arm Package radiodee1 Linux - Embedded & Single-board computer 1 12-04-2011 10:20 AM
How to make distribution package for linux kernel Mr.J Linux - Kernel 1 11-04-2008 01:01 AM
To make known to linux the usb hardware at compiling linux kernel for arm based sbc selmaguzel Linux - Embedded & Single-board computer 1 06-08-2008 04:02 PM
How to make kernel package??? komuthan Slackware 19 10-10-2005 06:27 AM

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

All times are GMT -5. The time now is 06:23 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