[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 13:55 (UTC)] – old revision restored (2021/11/30 11:40 (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 | ||
- Setting up local environment to support the installation over the network | - Setting up local environment to support the installation over the network | ||
- | - Downloading the Slackware assets | + | - Downloading |
- Writing the Initialisation Bootware to the Micro SD card | - Writing the Initialisation Bootware to the Micro SD card | ||
- Setup of the RockPro64 hardware | - Setup of the RockPro64 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 42: | Line 46: | ||
| [[https:// | | [[https:// | ||
| [[https:// | | [[https:// | ||
- | | [[https:// | + | | [[https:// |
| Jumper or Dupont cable | See images below | This is to bridge the pins required for initial firmware deployment and/or Hardware Model recovery| | | Jumper or Dupont cable | See images below | This is to bridge the pins required for initial firmware deployment and/or Hardware Model recovery| | ||
| [[https:// | | [[https:// | ||
Line 61: | Line 65: | ||
However, powering spinning 3.5" SATA drives from the RockPro64 directly have resulted in instability of the hardware. | However, powering spinning 3.5" SATA drives from the RockPro64 directly have resulted in instability of the hardware. | ||
The Slackware AArch64 primary build machines run with this power configuration and have proven stable over time. | The Slackware AArch64 primary build machines run with this power configuration and have proven stable over time. | ||
+ | |||
+ | == eMMC == | ||
+ | |||
+ | From the factory, your RockPro64 may contain an eMMC storage module. During the development of Slackware AArch64, it was found that the life span of these storage modules is short which makes them inappropriate for housing an Operating System. Whilst it's possible to use eMMC with Slackware, this documented installation process does not provide a supported path and the eMMC should be removed. | ||
+ | |||
=== Computing / Network Environment === | === Computing / Network Environment === | ||
Line 66: | 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 78: | Line 90: | ||
{{: | {{: | ||
+ | |||
+ | == Remove eMMC storage module == | ||
+ | |||
+ | In the image above you will see that the eMMC module has been removed (bottom right, left hand side of 'Head phones jack' | ||
+ | See the note above for the reasons behind this. | ||
+ | |||
+ | Gently prize the eMMC module from the board and store it some place safe as you may wish to experiment with it in the future. | ||
+ | |||
+ | <note tip>If you are planning on using the RockPro64 as an ' | ||
=== 2. Connect the peripherals === | === 2. Connect the peripherals === | ||
Line 155: | 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 162: | 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 169: | Line 192: | ||
== Download the Slackware tree verficiation tool == | == Download the Slackware tree verficiation tool == | ||
< | < | ||
- | rsync -PavL $SLKSRV/ | + | rsync -PavL $SLKSRV/ |
</ | </ | ||
Line 180: | Line 203: | ||
| | ||
| | ||
- | | + | |
</ | </ | ||
Line 190: | 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 209: | Line 232: | ||
< | < | ||
- | chmod 755 scripts/slacktreegpgcheck.sh | + | chmod 755 scripts/slacksigchk.sh |
- | ./scripts/slacktreegpgcheck.sh slackwareaarch64-${SLKVER} | + | ./scripts/slacksigchk.sh slackwareaarch64-${SLKVER} |
</ | </ | ||
Line 305: | 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 319: | 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 444: | 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 628: | Line 651: | ||
{{: | {{: | ||
+ | |||
{{: | {{: | ||
Line 697: | 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 == | ||
Line 751: | Line 788: | ||
- | ===== Using the Serial adapter ===== | + | ===== Using the Serial/UART adapter ===== |
This documentation discusses using the RockPro64 without the UART/Serial console. | This documentation discusses using the RockPro64 without the UART/Serial console. |