[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 revisionLast revisionBoth sides next revision | ||
slackwarearm:inst_sa64_cur_rk3399_rockpro64 [2021/11/30 12:41 (UTC)] – mozes | slackwarearm:inst_sa64_cur_rk3399_rockpro64 [2021/12/09 12:08 (UTC)] – mozes | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <note warning>Nov 2021 - wip</ | + | <note warning>Slackware AArch64 is not yet released.</ |
====== 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 < | ||
+ | | 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:// |
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. | + | | 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. |
+ | | 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). | ||
+ | |||
+ | <note tip>Most home routers equipped with Ethernet ports provide a DHCP server which should suffice for this setup</ | ||
===== 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: | ||
< | < | ||
- | rsync -PavL $SLKSRV/ | + | rsync -PavL $SLKSRV/ |
+ | rsync -PavL $SLKSRV/ | ||
</ | </ | ||
Line 176: | Line 184: | ||
== Download the Slackware Linux installer for the RK3399 AArch64 platform == | == Download the Slackware Linux installer for the RK3399 AArch64 platform == | ||
< | < | ||
- | rsync -PavL $SLKSRV/ | + | rsync -PavL $SLKSRV/ |
+ | rsync -PavL $SLKSRV/ | ||
</ | </ | ||
Line 183: | Line 192: | ||
== Download the Slackware tree verficiation tool == | == Download the Slackware tree verficiation tool == | ||
< | < | ||
- | rsync -PavL $SLKSRV/ | + | rsync -PavL $SLKSRV/ |
</ | </ | ||
Line 194: | Line 203: | ||
| | ||
| | ||
- | | + | |
</ | </ | ||
Line 204: | Line 213: | ||
Verify the digital signature of the verification tool: | Verify the digital signature of the verification tool: | ||
< | < | ||
- | gpg2 --verify-files scripts/ | + | gpg --verify-files scripts/ |
</ | </ | ||
Line 223: | Line 232: | ||
< | < | ||
- | chmod 755 scripts/slacktreegpgcheck.sh | + | chmod 755 scripts/slacksigchk.sh |
- | ./scripts/slacktreegpgcheck.sh slackwareaarch64-${SLKVER} | + | ./scripts/slacksigchk.sh slackwareaarch64-${SLKVER} |
</ | </ | ||
Line 319: | Line 328: | ||
- Insert the Micro SD card into the RockPro64' | - Insert the Micro SD card into the RockPro64' | ||
- Connect the power to the RockPro64 | - Connect the power to the RockPro64 | ||
- | - Power on the RockPro64: hold down the Power button for 3 seconds | + | - Power on the RockPro64: hold down the Power button for 2 seconds |
Line 333: | Line 342: | ||
- | Once the process completes, | + | Once the process completes, //hold the power button for approximately **8 seconds**//. The RockPro64 will power off. |
===== Write the Slackware Installer image onto the MicroSD card ===== | ===== Write the Slackware Installer image onto the MicroSD card ===== | ||
Line 458: | Line 467: | ||
Partition | Partition | ||
- | ^ Partition number ^ Size ^ Purpose ^ | + | ^ Partition number |
- | | 1 | 4GB | Swap | | + | | 1 | / |
- | | 2 | Rest of storage | OS root ('/' | + | | 2 | / |
<note tip>/ | <note tip>/ | ||
Line 637: | Line 646: | ||
{{: | {{: | ||
- | {{: | + | {{: |
{{: | {{: | ||
- | {{: | + | {{: |
{{: | {{: | ||
Line 711: | Line 721: | ||
You may now login as ' | You may now login as ' | ||
+ | == Quit the HTTP media server == | ||
- | ===== Post Installation | + | On your Linux Host Computer, you can return to the HTTP server that we started earlier on. |
+ | In the terminal window in which you started it, you will see the access logs from the Slackware Installer downloading the packages. | ||
+ | |||
+ | Simple press CONTROL+c to quit it. | ||
+ | |||
+ | You may now delete the slackwareaarch64 tree, or perhaps keep it around to subsequently update it. | ||
+ | |||
+ | |||
+ | ===== Post Installation | ||
There are a few post-installation configuration tasks to complete. | There are a few post-installation configuration tasks to complete. | ||
- | === Add a plebian | + | === Add a plebeian |
- | You should add a plebian | + | You should add a plebeian |
This is documented [[https:// | This is documented [[https:// | ||
+ | |||
+ | == NTP (Network Time Protocol) setup == | ||
+ | |||
+ | If your RockPro64 does not have an RTC battery backup, you may wish to configure it to [[https:// | ||
== CPU Fan Control == | == CPU Fan Control == |