[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:hardware:arm:raspberrypi [2013/11/21 01:54 (UTC)] – [Slackware ARM on the Raspberry Pi] typos sycamorex | howtos:hardware:arm:raspberrypi [2021/05/16 16:59 (UTC)] (current) – [Slackware ARM on the Raspberry Pi 1] updated sarpi project URL exaga | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Slackware ARM on the Raspberry Pi ====== | + | |
+ | ====== Slackware ARM on the Raspberry Pi 1 ====== | ||
Since there are so many ARM devices coming on to the market, it is not possible | Since there are so many ARM devices coming on to the market, it is not possible | ||
Line 7: | Line 8: | ||
- | === Slackware releases 13.37, 14.0 & 14.1 === | + | === Slackware releases 13.37, 14.0, 14.2 === |
Since the release of Slackware ARM 14.0, there have been a number of community | Since the release of Slackware ARM 14.0, there have been a number of community | ||
efforts to bring Slackware to the device: | efforts to bring Slackware to the device: | ||
+ | |||
+ | Slackware ARM 14.2 is the only available version of Slackware that is officially supported/ | ||
+ | |||
+ | You should follow one of the links in the table below. | ||
^ Site ^ Slackware versions ^ Using official Slackware packages ^ Installation methods ^ Notes ^ | ^ Site ^ Slackware versions ^ Using official Slackware packages ^ Installation methods ^ Notes ^ | ||
- | | [[http://rpi.fatdog.eu/|fatdog]] | 14.0, 14.1 | Yes | Slackware installer | An end-to-end HOW TO guiding | + | | [[https://sarpi.penthux.net/|SARPi Project]] | 14.2 | Yes | Slackware installer | An end-to-end HOW TO tutorial taking |
| [[http:// | | [[http:// | ||
| [[http:// | | [[http:// | ||
+ | === Manual installation method === | ||
+ | Although the community does its best to keep up with the hardware changes there may be times when the above notes and images are unusable. If this happens you may work around the problem by using a miniroot image and a functional boot partition from some other source (like borrowing them from rasbian). If the kernel is the only issue you can compile your own kernel from sources (see here for a guide on doing that [[http:// | ||
- | Although | + | Here are the steps involved in setting |
Download the current stable raspbian image from http:// | Download the current stable raspbian image from http:// | ||
Unzip it and mount the partitions therein via loopback and then put all that is needed in a tarball for later use: | Unzip it and mount the partitions therein via loopback and then put all that is needed in a tarball for later use: | ||
- | root@darkstar:/ | + | root@darkstar:/ |
| | ||
- | Disk 2013-09-10-wheezy-raspbian.img: 1939 MB, 1939865600 | + | Disk 2016-05-10-raspbian-jessie-lite.img: 1.3 GiB, 1386217472 |
- | 255 heads, 63 sectors/ | + | Units: sectors of 1 * 512 = 512 bytes |
- | Units = sectors of 1 * 512 = 512 bytes | + | |
Sector size (logical/ | Sector size (logical/ | ||
I/O size (minimum/ | I/O size (minimum/ | ||
- | Disk identifier: | + | |
+ | | ||
| | ||
- | Device Boot Start | + | |
- | | + | |
- | | + | |
- | root@darkstar:/ | + | |
- | root@darkstar:/ | + | root@darkstar:/ |
+ | root@darkstar:/ | ||
root@darkstar:/ | root@darkstar:/ | ||
root@darkstar:/ | root@darkstar:/ | ||
root@darkstar:/ | root@darkstar:/ | ||
- | root@darkstar:/ | + | root@darkstar:/ |
- | Please note the sectors of the beginning of the partitions: 8192 and 122880. We need to multiply these by 512 to get the bite offset for the loop device setup. This is done by < | + | Please note the sectors of the beginning of the partitions: 8192 and 137216. We need to multiply these by 512 to get the byte offset for the loop device setup. This is done by < |
Now partition and format an SD like this: (NB the "fdisk -l" is just to show how I partitioned my SD) | Now partition and format an SD like this: (NB the "fdisk -l" is just to show how I partitioned my SD) | ||
Line 59: | Line 67: | ||
/ | / | ||
/ | / | ||
- | root@darkstar: | + | root@darkstar: |
root@darkstar: | root@darkstar: | ||
root@darkstar: | root@darkstar: | ||
Line 65: | Line 73: | ||
root@darkstar: | root@darkstar: | ||
| | ||
+ | It's not a typo I got a bad headache figuring out why it did not work: the boot partition is to me made with id " | ||
+ | |||
Now you can extract the Slackware ARM miniroot and then the raspbian_boot_stuff.tgz in / | Now you can extract the Slackware ARM miniroot and then the raspbian_boot_stuff.tgz in / | ||
Edit the / | Edit the / | ||
Line 78: | Line 88: | ||
I generally add whatever else I need by simply using wget to pull down slackpkg, installing manually the downloaded slackpkg, editing the mirrors file and then install the rest that's needed with slackpkg itself (internet connection is required for this).\\ | I generally add whatever else I need by simply using wget to pull down slackpkg, installing manually the downloaded slackpkg, editing the mirrors file and then install the rest that's needed with slackpkg itself (internet connection is required for this).\\ | ||
You might want to edit or comment the serial console in inittab to suppress the " | You might want to edit or comment the serial console in inittab to suppress the " | ||
+ | |||
+ | Incidentally if you download a recent version of raspbian this procedure will create bootable images for the RPi, RPi 2, RPi 3, and RPi Zero. | ||
+ | |||
+ | |||
===== Sources ===== | ===== Sources ===== | ||
* Originally written by [[wiki: | * Originally written by [[wiki: | ||
+ | * Contributions by [[wiki: | ||