[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.

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 revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
slackwarearm:inst_sa64_cur_rk3399_rockpro64 [2021/11/30 12:56 (UTC)] mozesslackwarearm:inst_sa64_cur_rk3399_rockpro64 [2021/12/09 12:08 (UTC)] mozes
Line 1: Line 1:
-<note warning>Nov 2021 - wip</note>+<note warning>Slackware AArch64 is not yet released.</note> 
 ====== Installing Slackware AArch64 on the RockPro64 ====== ====== Installing Slackware AArch64 on the RockPro64 ======
  
Line 5: Line 6:
 ^  ^ Target ^ ^  ^ Target ^
 | Platform | AArch64 |  | Platform | AArch64 | 
-| Slackware Distribution|Slackware AArch64 Current |      
 | Hardware Model |Rock Pro64 | | Hardware Model |Rock Pro64 |
 +| Document Version | 1.00, Dec 2021 |
 +| Author | Stuart Winter <mozes@slackware> |
 +| Contributors | Brent Earl |
  
  
 ==== Video Tutorial ==== ==== Video Tutorial ====
  
-This tutorial is also available in video form (to be created)+This tutorial is also available in [[https://www.youtube.com/watch?v=uXAL9jz-yaA|video form]].
  
  
Line 18: Line 21:
 ==== Installation Lifecycle ==== ==== Installation Lifecycle ====
  
-The Installation consists of nine distinct stages:+The Installation consists of a number of distinct stages:
  
   - Acquiring all required hardware   - Acquiring all required hardware
Line 31: Line 34:
   - Completing the installation   - Completing the installation
   - Booting the Slackware OS   - Booting the Slackware OS
 +  - Post installation configuration and tweaks
  
 ===== Requirements ===== ===== Requirements =====
Line 71: Line 75:
  
 ^ Item ^ Specification ^ Notes ^ ^ Item ^ Specification ^ Notes ^
-| Host Computer: an Internet-connected computer running an existing Linux distribution | Preferably a full installation of Slackware x86/64, but any distribution that can provide the required Python environment and HTTP server module. The Host Computer needs approximately **5GB free storage** to download the required software assets.  **You must be able to obtain //root// access to this Host computer**.  | This will be used to download the Slackware distribution from the Internet, and serve the Pinebook Pro client to install Slackware over the LAN (Local Area Network).  |+| Host Computer: an Internet-connected computer running an existing Linux distribution | Preferably a full installation of Slackware x86/64, but any distribution that can provide the required Python environment and HTTP server module. The Host Computer needs approximately **5GB free storage** to download the required software assets.  **You must be able to obtain //root// access to this Host computer**.  | This will be used to download the Slackware distribution from the Internet, and serve the RockPro64 client to install Slackware over the LAN (Local Area Network).  | 
 +| Network DHCP server | Provide an IP address and routing information for the RockPro64 to be able to contact the Linux Host Computer (to download the Slackware tree) and the Internet (to set date via NTP) | This document expects the RockPro64 to be able to obtain an IP address via DHCP over the LAN.  However, you can also manually configure an IP address once the Slackware Installer has booted (note that a lack of DHCP server will stall the Installer by several seconds).  You could also copy the Slackware media to a USB stick and install from there.  This is outside of the scope of this document, however [[https://docs.slackware.com/howtos:network_services:dhcp_server_via_dnsmasq|this document]] describes how to set up a simple DHCP service on Slackware. | 
 + 
 +<note tip>Most home routers equipped with Ethernet ports provide a DHCP server which should suffice for this setup</note>
  
 ===== Hardware Setup ===== ===== Hardware Setup =====
Line 169: Line 176:
 The U-Boot Boot Loader that will be installed onto the SPI flash: The U-Boot Boot Loader that will be installed onto the SPI flash:
 <code> <code>
-rsync -PavL $SLKSRV/platform/aarch64/bootware/recovery/rk3399/flash-spi-rockpro64.img.xz .+rsync -PavL $SLKSRV/slackwarearm/platform/aarch64/bootware/recovery/rk3399/flash-spi-rockpro64.img.xz 
 +rsync -PavL $SLKSRV/slackwarearm/platform/aarch64/bootware/recovery/rk3399/flash-spi-rockpro64.img.xz.asc .
 </code> </code>
  
Line 176: Line 184:
 == Download the Slackware Linux installer for the RK3399 AArch64 platform == == Download the Slackware Linux installer for the RK3399 AArch64 platform ==
 <code> <code>
-rsync -PavL $SLKSRV/platform/aarch64/bootware/installer/slackwareaarch64-${SLKVER}/rk3399_generic.sdimg_latest.img.xz .+rsync -PavL $SLKSRV/slackwarearm/platform/aarch64/bootware/installer/slackwareaarch64-${SLKVER}/rk3399_generic.sdimg_latest.img.xz 
 +rsync -PavL $SLKSRV/slackwarearm/platform/aarch64/bootware/installer/slackwareaarch64-${SLKVER}/rk3399_generic.sdimg_latest.img.xz.asc .
 </code> </code>
  
Line 183: Line 192:
 == Download the Slackware tree verficiation tool == == Download the Slackware tree verficiation tool ==
 <code> <code>
-rsync -PavL $SLKSRV/platform/all/scripts .+rsync -PavL $SLKSRV/slackwarearm/platform/all/scripts .
 </code> </code>
  
Line 194: Line 203:
    --exclude '*/source/*' \    --exclude '*/source/*' \
    --delete -Prlvv \    --delete -Prlvv \
-   $SLKSRV/slackwareaarch64-${SLKVER} .+   $SLKSRV/slackwarearm/slackwareaarch64-${SLKVER} .
 </code> </code>
  
Line 204: Line 213:
 Verify the digital signature of the verification tool: Verify the digital signature of the verification tool:
 <code> <code>
-gpg2 --verify-files scripts/slacksigchk.sh.asc+gpg --verify-files scripts/slacksigchk.sh.asc
 </code> </code>
  
Line 223: Line 232:
  
 <code> <code>
-chmod 755 scripts/slacktreegpgcheck.sh +chmod 755 scripts/slacksigchk.sh 
-./scripts/slacktreegpgcheck.sh slackwareaarch64-${SLKVER}+./scripts/slacksigchk.sh slackwareaarch64-${SLKVER}
 </code> </code>
  
Line 458: Line 467:
 Partition  Partition 
  
-^ Partition number ^ Size ^ Purpose ^ +^ Partition number ^ Device name ^ Size ^ Purpose ^ 
-| 1 | 4GB | Swap | +| 1                | /dev/sda1   | 4GB   | Swap | 
-| 2 | Rest of storage | OS root ('/') partition |+| 2                | /dev/sda2   | Rest of storage | OS root ('/') partition |
  
 <note tip>/boot will reside on the Micro SD card and is automatically configured by the Slackware Installer</note> <note tip>/boot will reside on the Micro SD card and is automatically configured by the Slackware Installer</note>
Line 637: Line 646:
 {{:slackwarearm:41-LoadGPMatboot.jpg?400|}} {{:slackwarearm:41-LoadGPMatboot.jpg?400|}}
  
-{{:slackwarearm:42-ConfigureNetwork-enterDomainname.jpg?400|}}+{{:slackwarearm:42-ConfigureNetwork.jpg?400|}}
  
 {{:slackwarearm:42-ConfigureNetwork-enterhostname-rpro64.jpg?400|}} {{:slackwarearm:42-ConfigureNetwork-enterhostname-rpro64.jpg?400|}}
  
-{{:slackwarearm:42-ConfigureNetwork.jpg?400|}}+{{:slackwarearm:42-ConfigureNetwork-enterDomainname.jpg?400|}} 
  
 {{:slackwarearm:43-ConfigureNetwork-ConnectViaVLAN.jpg?400|}} {{:slackwarearm:43-ConfigureNetwork-ConnectViaVLAN.jpg?400|}}
Line 731: Line 741:
  
 This is documented [[https://www.slackbook.org/html/essential-sysadmin.html|here]]. This is documented [[https://www.slackbook.org/html/essential-sysadmin.html|here]].
 +
 +== NTP (Network Time Protocol) setup ==
 +
 +If your RockPro64 does not have an RTC battery backup, you may wish to configure it to [[https://docs.slackware.com/howtos:network_services:ntp|set time from an NTP Server]].
  
 == CPU Fan Control == == CPU Fan Control ==
 slackwarearm:inst_sa64_cur_rk3399_rockpro64 ()