Slackware Arm On The Raspberry Pi 3
Slackware Arm On The Raspberry Pi 3
The Raspberry Pi 3 has a Broadcom BCM2837 SoC incorporating a Quad-core ARMv8 Cortex-A53 [64
bit] CPU @ 1.2GHz and VideoCore IV GPU @ 400MHz, and comes with 1GB LPDDR2 SDRAM @
900MHz. This revised and upgraded ARM single board computer succeeds the Raspberry Pi (2), and is
considerably quicker and a lot more powerful. Wi-Fi and Bluetooth are now included on-board. Still no
RTC though. Think of the RPi3 as a renovation, and not an innovation. Slackware ARM, as you would
expect, runs faultlessly on this device, with a very significant increase in speed. Compile times are
much shorter compared to the RPi2, for example.
The Raspberry Pi 3 is supported outside of the official Slackware ARM tree by the Slackware
community.
Slackware ARM -current or Slackware ARM 14.2 can be installed on the Raspberry Pi 3.
Follow the link(s) in the table below. These are maintained by a separate author as part of the
Slackware-on-Raspberry Pi community.
Using official
Slackware Installation
Site Slackware Notes
versions methods
packages
An end-to-end HOW TO
guiding you through the
FatDog 14.2,-current Yes Slackware installer
installation and setup process
for bot.
As long you use the most recent raspbian image and firmware the Raspberry Pi 1 manual install
method also works for the Pi 2 and Pi 3.
This method is for installing Slackware ARM 14.2 on a Raspberry Pi 3 Model B without a Raspbian
image. However, it should work for other Slackware ARM and Raspberry Pi versions.
SlackDocs - https://docs.slackware.com/
Last update: 2017/06/14 15:47 (UTC) howtos:hardware:arm:raspberrypi3 https://docs.slackware.com/howtos:hardware:arm:raspberrypi3
Remarks:
3. Put the Slackware ARM mini root file system in the SD Card
$ wget -c
ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-devtools/minirootfs/ro
ots/slack-14.2-miniroot_01Jul16.tar.xz
$ sudo mount /dev/mmcblk0p2 ~/mnt
$ sudo tar -C ~/mnt -xf slack-14.2-miniroot_01Jul16.tar.xz
$ echo "/dev/mmcblk0p1 /boot vfat defaults 0 0" | sudo tee ~/mnt/etc/fstab
$ echo "/dev/mmcblk0p2 / ext4 defaults 0 0" | sudo tee -a
~/mnt/etc/fstab
$ echo "proc /proc proc defaults 0 0" | sudo tee -a
~/mnt/etc/fstab
$ PASSWD=$(openssl passwd -1 -salt cetkq/enZx6/c2 password)
$ sudo sed -i "s|\(root:\).*\(:16983:0:::::\)|\1${PASSWD}\2|"
~/mnt/etc/shadow
$ sudo sed -i 's|USE_DHCP\[1\]=""|USE_DHCP\[1\]="yes"|'
~/mnt/etc/rc.d/rc.inet1.conf
$ echo "PermitRootLogin yes" | sudo tee -a ~/mnt/etc/ssh/sshd_config
$ sudo umount ~/mnt
Remarks:
Your SD Card is ready so you can insert it in the Raspberry Pi and boot.
$ ssh root@raspberrypi
As soon as you are logged, you might want to install additional Slackware ARM packages:
Remarks:
5.1. Processor
The Raspberry Pi processor can reach 1.2GHz. However, by default, it is stuck to 600MHz even if it is
used at 100%. You can check the current frequency of the processor by typing:
$ cpufreq-info
In order to reach 1.2GHz when the processor is used at 100% (i.e., use the frequency scaling), you
need to change the default governors. Add the following line to the end of the /etc/rc.d/rc.local
file:
5.2. Time
Unfortunately, the Raspberry Pi does not provide a Real-Time Clock (RTC). That is why there is no
SlackDocs - https://docs.slackware.com/
Last update: 2017/06/14 15:47 (UTC) howtos:hardware:arm:raspberrypi3 https://docs.slackware.com/howtos:hardware:arm:raspberrypi3
battery included with the board. It means that each time you shutdown the Raspberry Pi, the time is
reset! However, if you have internet access, you can update the time during the Slackware ARM boot.
Add the following line to the end of the /etc/rc.d/rc.local file:
ntpdate pool.ntp.org
5.3. Video
Unfortunately, the Raspberry Pi is not compatible with OpenGL (it is compatible OpenGL ES that is a
subset of OpenGL). It means that, by default, each application requiring OpenGL will be slow.
However, you can reach 60 FPS with OpenGL applications on the Raspberry Pi by using the correct
driver.
Firstly, you need to build Mesa (>= 17.0.4) with the VC4 DRI driver:
Then build your own Slackware ARM Mesa package and install it.
Secondly, add the following line to the end of the /boot/config.txt file:
dtoverlay=vc4-fkms-v3d
You can check that you are able to get 60 FPS with OpenGL applications on the Raspberry Pi by typing
the following command in an X terminal:
$ glxgears
Sources
Contributions by yugiohjcj
From:
https://docs.slackware.com/ - SlackDocs
Permanent link:
https://docs.slackware.com/howtos:hardware:arm:raspberrypi3
SlackDocs - https://docs.slackware.com/