The Wiki has moved to new hardware, and the old server died.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howtos:hardware:arm:raspberrypi [2015/12/30 10:18 (UTC)]
louigi600 [Slackware ARM on the Raspberry Pi]
howtos:hardware:arm:raspberrypi [2019/07/25 23:36 (UTC)] (current)
exaga updated SARPi URL
Line 1: Line 1:
-====== Slackware ARM on the Raspberry Pi ======+ 
 +====== Slackware ARM on the Raspberry Pi ======
  
 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.===+=== Slackware releases 13.37, 14.014.===
  
 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/​maintained,​ that runs on the Raspberry Pi 1. Releases of Slackware ARM greater than version 14.2 are not backwards compatible, since they moved to a hard floating point ABI and has a minimum CPU requirement of ARMv7. ​ The Raspberry Pi 1 only has ARMv6 architecture.
  
 You should follow one of the links in the table below. ​ Each is maintained by a separate author as part of the Slackware-on-Raspberry Pi community. You should follow one of the links in the table below. ​ Each is maintained by a separate author as part of the Slackware-on-Raspberry Pi community.
  
 ^ 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 ​you through the installation and setup process. |+| [[http://sarpi.fatdog.eu/​|SARPi Project]] | 14.| Yes | Slackware installer | An end-to-end HOW TO tutorial taking ​you through the installation and setup process. |
 | [[http://​stanleygarvey.com/​slackwarearm_rpi/​index.php|Stanley Garvey]] | 14.0 | Yes | Slackware installer & pre-made images | Pre-made installed OS images ready to copy to an SD card | | [[http://​stanleygarvey.com/​slackwarearm_rpi/​index.php|Stanley Garvey]] | 14.0 | Yes | Slackware installer & pre-made images | Pre-made installed OS images ready to copy to an SD card |
 | [[http://​www.daves-collective.co.uk/​raspi/​|Dave'​s Collective]] | 13.37 | Yes | Slackware installer | An excellent set of instructions in order to have Slackware ARM running on your Raspberry Pi. | | [[http://​www.daves-collective.co.uk/​raspi/​|Dave'​s Collective]] | 13.37 | Yes | Slackware installer | An excellent set of instructions in order to have Slackware ARM running on your Raspberry Pi. |
Line 29: Line 32:
 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:/​tmp#​ fdisk -l 2013-09-10-wheezy-raspbian.img ​+  root@darkstar:/​tmp#​ fdisk -l 2016-05-10-raspbian-jessie-lite.img
   ​   ​
-  Disk 2013-09-10-wheezy-raspbian.img: 1939 MB1939865600 ​bytes +  Disk 2016-05-10-raspbian-jessie-lite.img: 1.3 GiB1386217472 ​bytes, ​2707456 ​sectors 
-  255 heads63 sectors/​track,​ 235 cylinders, total 3788800 ​sectors +  Unitssectors of 1 * 512 = 512 bytes
-  Units sectors of 1 * 512 = 512 bytes+
   Sector size (logical/​physical):​ 512 bytes / 512 bytes   Sector size (logical/​physical):​ 512 bytes / 512 bytes
   I/O size (minimum/​optimal):​ 512 bytes / 512 bytes   I/O size (minimum/​optimal):​ 512 bytes / 512 bytes
-  Disk identifier: ​0x000b03b7+  ​Disklabel type: dos 
 +  ​Disk identifier: ​0x84f9d19f 
 +   
 +  Device ​                              ​Boot ​ Start     End Sectors ​ Size Id Type 
 +  2016-05-10-raspbian-jessie-lite.img1 ​       8192  137215 ​ 129024 ​  ​63M ​ c W95 FAT 
 +  2016-05-10-raspbian-jessie-lite.img2 ​     137216 2707455 2570240 ​ 1.2G 83 Linux
   ​   ​
-                         ​Device Boot      Start         ​End ​     Blocks ​  ​Id  System +  root@darkstar:/​tmp#​ losetup -o $((8192 * 512)) /​dev/​loop0 ​2016-05-10-raspbian-jessie-lite.img 
-  2013-09-10-wheezy-raspbian.img1 ​           8192      122879 ​      ​57344 ​   c  W95 FAT32 (LBA) +  root@darkstar:/​tmp#​ losetup -o $((137216 ​* 512)) /​dev/​loop1 ​2016-05-10-raspbian-jessie-lite.img
-  2013-09-10-wheezy-raspbian.img2 ​         122880 ​    ​3788799 ​    ​1832960 ​  ​83 ​ Linux +
-  ​root@darkstar:/​tmp#​ losetup -o $((8192 * 512)) /​dev/​loop0 ​2013-09-10-wheezy-raspbian.img +
-  root@darkstar:/​tmp#​ losetup -o $((122880 ​* 512)) /​dev/​loop1 ​2013-09-10-wheezy-raspbian.img+
   root@darkstar:/​tmp#​ mount -o ro /dev/loop1 /​mnt/​floppy/​   root@darkstar:/​tmp#​ mount -o ro /dev/loop1 /​mnt/​floppy/​
   root@darkstar:/​tmp#​ mount -o ro /dev/loop0 /​mnt/​floppy/​boot   root@darkstar:/​tmp#​ mount -o ro /dev/loop0 /​mnt/​floppy/​boot
Line 48: Line 52:
   root@darkstar:/​mnt/​hd#​ tar vcpzf /​tmp/​raspbian_boot_stuff.tgz boot lib/​modules/​ lib/​firmware opt/vc   root@darkstar:/​mnt/​hd#​ tar vcpzf /​tmp/​raspbian_boot_stuff.tgz boot lib/​modules/​ lib/​firmware opt/vc
  
-Please note the sectors of the beginning of the partitions: 8192 and 122880. We need to multiply these by 512 to get the byte offset for the loop device setup. This is done by <​nowiki>​$((8192 * 512))</​nowiki>​ and <​nowiki>​$((122880 ​* 512))</​nowiki>​. You will need to change these if the image partitioning scheme changes.\\+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 <​nowiki>​$((8192 * 512))</​nowiki>​ and <​nowiki>​$((137216 ​* 512))</​nowiki>​. You will need to change these if the image partitioning scheme changes.\\
 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 85: Line 89:
 You might want to edit or comment the serial console in inittab to suppress the "​s0"​ respawning to fast message. You might want to edit or comment the serial console in inittab to suppress the "​s0"​ respawning to fast message.
  
-Incidentally if you download a recent version of raspbian this procedure will create bootable images for both RPi and RPi2.+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 =====
  

In Other Languages
QR Code
QR Code howtos:hardware:arm:raspberrypi (generated for current page)