[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 revision | ||
slackwarearm:inst_sa64_cur_rk3399_rockpro64 [2021/12/06 14:37 (UTC)] – mozes | slackwarearm:inst_sa64_cur_rk3399_rockpro64 [2021/12/13 11:05 (UTC)] (current) – removed mozes | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | ====== Installing Slackware AArch64 on the RockPro64 ====== | ||
- | |||
- | |||
- | ^ ^ Target ^ | ||
- | | Platform | AArch64 | | ||
- | | Slackware Distribution|Slackware AArch64 Current | | ||
- | | Hardware Model |Rock Pro64 | | ||
- | |||
- | |||
- | ==== Video Tutorial ==== | ||
- | |||
- | This tutorial is also available in [[https:// | ||
- | |||
- | |||
- | Pine64 also provide unboxing and setup [[https:// | ||
- | |||
- | ==== Installation Lifecycle ==== | ||
- | |||
- | The Installation consists of a number of distinct stages: | ||
- | |||
- | - Acquiring all required hardware | ||
- | - Setting up local environment to support the installation over the network | ||
- | - Downloading and verifying the Slackware assets | ||
- | - Writing the Initialisation Bootware to the Micro SD card | ||
- | - Setup of the RockPro64 hardware | ||
- | - Initialising the RockPro64 with the Bootware | ||
- | - Writing the Slackware Installer to the Micro SD card | ||
- | - Booting the Slackware Installer | ||
- | - Installing Slackware | ||
- | - Completing the installation | ||
- | - Booting the Slackware OS | ||
- | - Post installation configuration and tweaks | ||
- | |||
- | ===== Requirements ===== | ||
- | |||
- | |||
- | === Hardware === | ||
- | |||
- | ^ Item ^ Specification ^ Notes ^ | ||
- | | [[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| | ||
- | | [[https:// | ||
- | | [[https:// | ||
- | | [[https:// | ||
- | | SATA storage | Any SSD or spinning hard disk should work | Will contain the Operating System. You can install to other storage, but this documentation covers this particular configuration only. | | ||
- | | [[https:// | ||
- | | [[https:// | ||
- | | [[https:// | ||
- | | [[https:// | ||
- | |||
- | |||
- | === Notes on storage setup === | ||
- | |||
- | |||
- | The setup documented here (2.5" SSD connected to a USB-to-Serial adapter for power and data) has proven stable for this author. | ||
- | |||
- | 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. | ||
- | |||
- | == 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 === | ||
- | |||
- | |||
- | ^ 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. | ||
- | | 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 ===== | ||
- | |||
- | In this section we'll prepare the physical aspects of the RockPro64 to receive Slackware Linux. | ||
- | |||
- | === 1. Place the computer onto a non-conductive surface ready for setup === | ||
- | |||
- | If you have a case, install the board into it. If you do not, it should be placed onto a non-conductive surface such as plastic, wood or rubber. | ||
- | |||
- | {{: | ||
- | |||
- | |||
- | == 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 === | ||
- | |||
- | * Connect the CPU fan or heat sink | ||
- | * Connect the Wifi & Bluetooth module (optional) | ||
- | * Connect the storage (the image shows the USB-to-SATA adapter, but you may use the PCI card). If using the USB adapter, connect it to the **blue USB3.0 port**. | ||
- | * Connect the Ethernet cable | ||
- | * Connect the HDMI cable | ||
- | * Connect the USB keyboard and mouse | ||
- | |||
- | The basic hardware setup is complete. | ||
- | |||
- | {{: | ||
- | |||
- | ===== Software and Network Environment Setup ===== | ||
- | |||
- | In this section, we'll prepare the Linux Host Computer to receive and download the Slackware assets required for the installation. | ||
- | |||
- | === 1. Downloading the Slackware Linux AArch64 Distribution and Installation Assets | ||
- | |||
- | <note important> | ||
- | |||
- | Open a shell on the Linux Host Computer. | ||
- | |||
- | == Determine where you are within the Host Computer' | ||
- | |||
- | < | ||
- | $ cd | ||
- | $ pwd | ||
- | / | ||
- | </ | ||
- | |||
- | <note important> | ||
- | |||
- | == Prepare a directory to hold and serve the Slackware Distribution == | ||
- | |||
- | We'll download the Slackware Linux distribution into a directory named ' | ||
- | |||
- | <note warning> | ||
- | The contents of this directory will be served via an HTTP server to the LAN (Local Area Network), so only place the Slackware assets here. | ||
- | </ | ||
- | |||
- | < | ||
- | $ mkdir slackware | ||
- | $ cd slackware | ||
- | </ | ||
- | |||
- | == Installing the Slackware ARM GPG key == | ||
- | |||
- | The Slackware ARM GPG key will be used to verify the Bootware and Slackware Installation images. | ||
- | |||
- | < | ||
- | $ curl -sSL https:// | ||
- | </ | ||
- | |||
- | == Set the version of Slackware AArch64 to download == | ||
- | |||
- | At the time of writing, the only version available is ' | ||
- | < | ||
- | $ SLKVER=current | ||
- | </ | ||
- | |||
- | == Set the distribution server == | ||
- | |||
- | If you are using a mirror server rather than the master Slackware ARM server, set it here. | ||
- | The format is: < | ||
- | |||
- | < | ||
- | $ SLKSRV=ftp.arm.slackware.com:: | ||
- | </ | ||
- | |||
- | == Download the Bootware == | ||
- | |||
- | <note important> | ||
- | |||
- | The U-Boot Boot Loader that will be installed onto the SPI flash: | ||
- | < | ||
- | rsync -PavL $SLKSRV/ | ||
- | rsync -PavL $SLKSRV/ | ||
- | </ | ||
- | |||
- | //The Bootware (recovery/ | ||
- | |||
- | == Download the Slackware Linux installer for the RK3399 AArch64 platform == | ||
- | < | ||
- | rsync -PavL $SLKSRV/ | ||
- | rsync -PavL $SLKSRV/ | ||
- | </ | ||
- | |||
- | //The Slackware Installer images are approximately 300MBytes in size.// | ||
- | |||
- | == Download the Slackware tree verficiation tool == | ||
- | < | ||
- | rsync -PavL $SLKSRV/ | ||
- | </ | ||
- | |||
- | == Download the Slackware AArch64 tree == | ||
- | |||
- | You will now download the Slackware distribution. This contains all of the software included within Slackware. | ||
- | |||
- | < | ||
- | rsync \ | ||
- | | ||
- | | ||
- | | ||
- | </ | ||
- | |||
- | //The Slackware distribution is approximately 4.5GBytes in size.// | ||
- | |||
- | |||
- | == Verify the assets == | ||
- | |||
- | Verify the digital signature of the verification tool: | ||
- | < | ||
- | gpg --verify-files scripts/ | ||
- | </ | ||
- | |||
- | The output will be similar to this. You are looking for 'Good signature from Slackware ARM...' | ||
- | |||
- | < | ||
- | gpg: assuming signed data in ' | ||
- | gpg: Signature made Wed 24 Nov 2021 06:07:44 PM BST | ||
- | gpg: using RSA key F7ABB8691623FC33 | ||
- | gpg: Good signature from " | ||
- | gpg: WARNING: This key is not certified with a trusted signature! | ||
- | gpg: There is no indication that the signature belongs to the owner. | ||
- | Primary key fingerprint: | ||
- | </ | ||
- | |||
- | |||
- | Verify the Bootware and Slackware tree: | ||
- | |||
- | < | ||
- | chmod 755 scripts/ | ||
- | ./ | ||
- | </ | ||
- | |||
- | <note warning> | ||
- | |||
- | === Write the Initialisation Bootware to the SD Card === | ||
- | |||
- | Slackware stores the U-Boot Boot Loader firmware within the SPI flash of the Hardware Models that use the RK3399 SoC (including the Pinebook Pro, RockPro64 et al). | ||
- | |||
- | In this step, we'll write the Boot Loader firmware to the same Micro SD card that will later be used to contain the Slackware Installer, and subsequently the Slackware OS' /boot partition. | ||
- | If you have multiple Micro SD cards available, you may prefer to use separate SD cards; but this document assumes the availability of a single Micro SD card. | ||
- | |||
- | |||
- | == Elevate yourself to root == | ||
- | |||
- | On your Host Computer, obtain root: | ||
- | |||
- | <note tip>The # prefix indicates that you're using the **root** user - it's not to be typed in!</ | ||
- | |||
- | < | ||
- | $ su - ## Note the hyphen - it's required | ||
- | </ | ||
- | |||
- | == Check what block devices are present == | ||
- | |||
- | Prior to inserting the Micro SD Card into the USB adapter, we need to see what's already present within the OS so that we can easily locate our Micro SD card: | ||
- | |||
- | < | ||
- | # lsblk | ||
- | NAME | ||
- | sda 8:0 0 465.8G | ||
- | ├─sda1 | ||
- | └─sda2 | ||
- | </ | ||
- | |||
- | As you can see, this Host Computer there is a single storage device - //sda//. | ||
- | |||
- | |||
- | Now insert the Micro SD card into your USB Card Reader and connect the adapter to a free USB port on the Host Computer. | ||
- | |||
- | Run lsblk again: | ||
- | |||
- | < | ||
- | # lsblk | ||
- | NAME | ||
- | sda 8:0 0 465.8G | ||
- | ├─sda1 | ||
- | └─sda2 | ||
- | sdc 8:32 | ||
- | sdd 8:48 | ||
- | </ | ||
- | |||
- | As you can see, //sdc// is 58GBytes in size. This is the Micro SD card (in this example, it's labeled as ' | ||
- | |||
- | If your Micro SD card has existing partitions, you will see them surfaced in this list also. | ||
- | |||
- | <note tip> | ||
- | |||
- | === Write the Bootware Initialisation Image to the Micro SD Card === | ||
- | |||
- | Still as the **root** user, we'll switch to the directory to which the the Slackware assets have been downloaded (see earlier steps): | ||
- | |||
- | < | ||
- | # cd / | ||
- | </ | ||
- | |||
- | Write the Bootware Initialisation Image to the device identified as our Micro SD card. | ||
- | You'll then exit the root shell, returning to your usual standard user environment: | ||
- | |||
- | <note warning> | ||
- | |||
- | < | ||
- | # dd if=/ | ||
- | # xzcat flash-spi-rockpro64.img.xz > / | ||
- | # sync | ||
- | # exit | ||
- | </ | ||
- | |||
- | The Bootware Initialisation image is now ready to boot on the RockPro64. | ||
- | |||
- | ===== Installing the Boot Loader to SPI flash ===== | ||
- | |||
- | You need to perform this one-time step to flash a Slackware version of the U-Boot Boot Loader to the SPI flash of the RockPro64. | ||
- | |||
- | This is required if your RockPro64 is brand new out of the box, or has previously had another Linux distribution running on it. | ||
- | |||
- | <note tip>If you reinstall Slackware you do **not** need to repeat this step, as long as the Slackware version of U-Boot remains within the SPI flash.</ | ||
- | |||
- | |||
- | {{: | ||
- | |||
- | |||
- | - Position the jumper/ | ||
- | - Insert the Micro SD card into the RockPro64' | ||
- | - Connect the power to the RockPro64 | ||
- | - Power on the RockPro64: hold down the Power button for 2 seconds | ||
- | |||
- | |||
- | After a few seconds, you should see a message appearing on the screen - instructing you that the process will begin in 10 seconds' | ||
- | |||
- | {{: | ||
- | |||
- | Now //remove the jumper/ | ||
- | |||
- | The flashing process will begin and takes approximately 1 minute to complete. | ||
- | |||
- | {{: | ||
- | |||
- | |||
- | Once the process completes, //hold the power button for approximately **8 seconds**// | ||
- | |||
- | ===== Write the Slackware Installer image onto the MicroSD card ===== | ||
- | |||
- | Now that the Boot Loader has been installed to the RockPro64' | ||
- | |||
- | * Remove the MicroSD card from the RockPro64 | ||
- | * Insert the MicroSD card back into the Host Computer (as in the earlier section) | ||
- | |||
- | == Elevate yourself to root == | ||
- | |||
- | On your Host Computer, obtain root: | ||
- | |||
- | <note tip>The # prefix indicates that you're using the **root** user</ | ||
- | |||
- | < | ||
- | $ su - ## Note the hyphen - it's required | ||
- | </ | ||
- | |||
- | == Write the Slackware Installer to the Micro SD card == | ||
- | |||
- | Follow the instructions in the previous section to determine which block device name it occupies. | ||
- | |||
- | <note tip> | ||
- | |||
- | <note tip>The # prefix indicates that you're using the **root** user - it's not to be typed in!</ | ||
- | |||
- | Enter the directory into which the Slackware assets were downloaded previously: | ||
- | < | ||
- | # cd / | ||
- | # xzcat rk3399_generic.sdimg_latest.img.xz > /dev/sdc ## Replace /dev/sdc with the correct block device | ||
- | # sync | ||
- | # exit | ||
- | </ | ||
- | |||
- | == Remove the MicroSD card from the Host Computer == | ||
- | |||
- | You may now disconnect the USB adapter from the Host Computer and remove the MicroSD card. | ||
- | |||
- | ===== Start the installation media server ===== | ||
- | |||
- | We will direct the Slackware Installer to download the packages from a web server that we'll run temporarily on your Linux Host Computer. | ||
- | |||
- | == Determine the Linux Host Computer' | ||
- | |||
- | For most basic installations, | ||
- | |||
- | < | ||
- | $ hostname -I | ||
- | 192.168.1.1 | ||
- | </ | ||
- | |||
- | In this example, the IP address of the Linux Host Computer is **192.168.1.1** | ||
- | |||
- | |||
- | == Start the HTTP server on the Linux Host Computer == | ||
- | |||
- | As your normal (not root) user on your Linux Host Computer, we'll enter the Slackware AArch64 directory and start the HTTP web server: | ||
- | |||
- | < | ||
- | $ cd ~/ | ||
- | $ python3 -m http.server | ||
- | </ | ||
- | |||
- | <note important> | ||
- | |||
- | === Installing Slackware === | ||
- | |||
- | To proceed, you must have: | ||
- | |||
- | * Connected the storage to the RockPro64 | ||
- | * Connected the HDMI monitor | ||
- | * Connected the keyboard (and optionally, mouse) | ||
- | * Connected the Ethernet cable, and have a DHCP server serving the network from which the RockPro64 can obtain an IP address | ||
- | * Inserted the Micro SD card containing the Slackware Installer | ||
- | |||
- | == Begin installation == | ||
- | |||
- | <note warning> Disconnect any USB storage devices that aren't required for the OS installation</ | ||
- | |||
- | == Power on the RockPro64 == | ||
- | |||
- | Press the Power Button for aproximately two seconds | ||
- | |||
- | After a few seconds, the you will see the following on screen: | ||
- | |||
- | {{: | ||
- | |||
- | It takes several seconds to load and boot the installer, and it may take several seconds more for any further output to appear on the HDMI monitor. | ||
- | The process of obtaining an IP address via DHCP can also delay the ability to interact with the Installer. | ||
- | |||
- | Once an IP address has been obtained, you will be presented with a prompt. | ||
- | Press **ENTER** | ||
- | |||
- | {{: | ||
- | |||
- | |||
- | == Set the keymap == | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | == Set the date/time == | ||
- | |||
- | Even if you have a battery pack for the RTC (Real Time Clock), the date on your system may be incorrect. | ||
- | We will sync the date from a highly-available NTP server: | ||
- | |||
- | < | ||
- | ntpdate clock.akamai.com | ||
- | hwclock -w | ||
- | </ | ||
- | |||
- | |||
- | {{: | ||
- | |||
- | |||
- | == Setup disk partitions == | ||
- | |||
- | For this installation a basic partitioning scheme will be created. | ||
- | |||
- | Partition | ||
- | |||
- | ^ Partition number ^ Device name ^ Size ^ Purpose ^ | ||
- | | 1 | / | ||
- | | 2 | / | ||
- | |||
- | <note tip>/ | ||
- | |||
- | Open fdisk against the /dev/sda partition (which will be your primary storage, and in these instructions is the SDD connected to the USB adapter). | ||
- | |||
- | < | ||
- | fdisk /dev/sda | ||
- | </ | ||
- | |||
- | {{: | ||
- | |||
- | Create the Swap partition: | ||
- | |||
- | Type ' | ||
- | |||
- | {{: | ||
- | |||
- | Type ' | ||
- | |||
- | Press ENTER for the 'First sector' | ||
- | |||
- | Type ' | ||
- | |||
- | |||
- | Change the partition type to ' | ||
- | Type ' | ||
- | |||
- | {{: | ||
- | |||
- | Create the partition for the root filesystem ('/' | ||
- | |||
- | Type ' | ||
- | Press ENTER to accept the defaults - this will create partition 2 as the maximum size available. | ||
- | |||
- | {{: | ||
- | |||
- | |||
- | Type ' | ||
- | Type ' | ||
- | |||
- | {{: | ||
- | |||
- | Type ' | ||
- | |||
- | {{: | ||
- | |||
- | Type ' | ||
- | |||
- | {{: | ||
- | |||
- | fdisk will now exit. | ||
- | |||
- | == Load the Setup menu == | ||
- | |||
- | {{: | ||
- | |||
- | == Setup Swap partition == | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | == Select and format the partition for the OS' root file system == | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | == Resize /boot partition to full extent == | ||
- | |||
- | The Micro SD card that contains the /boot partition presently occupies approximately 1GB. | ||
- | Most MicroSD cards are several GBs in size. This option will resize the partition to its full capacity to avoid wasting storage. | ||
- | If you plan on manually adding parttions to this later, you will want to choose ' | ||
- | |||
- | <note important> | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | == Boot Loader Configuration == | ||
- | |||
- | The Installer will configure the Boot Loader and the OS' /etc/fstab automatically: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | == Select Source Media == | ||
- | |||
- | {{: | ||
- | |||
- | <note tip>The IP address here is the one you determine earlier within these instructions. | ||
- | |||
- | Pick option //'5 - Install from FTP/HTTP server'// | ||
- | < | ||
- | URL: http:// | ||
- | Directory: / | ||
- | </ | ||
- | |||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | == Package Series Selection == | ||
- | |||
- | You can now choose the package sets to install. | ||
- | A full Slackware installation will occupy approximately 15GB. | ||
- | |||
- | <note tip>If you do not plan to use the graphical window manager such as KDE, you should de-select it.</ | ||
- | |||
- | {{: | ||
- | |||
- | Pick the ' | ||
- | |||
- | {{: | ||
- | |||
- | The packages will begin installing: | ||
- | |||
- | {{: | ||
- | |||
- | == Configure the Console Settings == | ||
- | |||
- | If you plan on using the UART/' | ||
- | If you plan on exclusively using an HDMI monitor, you should pick ' | ||
- | |||
- | <note tip>This setting can be reset to the default by editing / | ||
- | |||
- | {{: | ||
- | |||
- | == Install the Boot Loader to SPI flash == | ||
- | |||
- | If this is the first time you have installed Slackware, you must flash the Boot Loader. | ||
- | The initial Boot Loader flash performed earlier in these instructions typically contains an older version of the Boot Loader, where as the version packaged within the Installer contains the latest tested version. | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | == Remove the Slackware Installer from the SD card == | ||
- | |||
- | The Micro SD card is transformed from being the Slackware Installer into the Slackware OS's /boot partition. | ||
- | At this stage, if the installation has worked for you (at certain points in the Slackware installer you are past the point of no return) you can delete the Installer. | ||
- | However, if something has gone wrong you can reset the RockPro64 and reboot the installer without having to re-deploy the Slackware Installer image from your Linux Host Computer. | ||
- | |||
- | Generally you should say ' | ||
- | |||
- | {{: | ||
- | |||
- | == Post Installation Configuration == | ||
- | |||
- | The Slackware Installer will walk you through the standard Slackware setup. | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | |||
- | == Select a Console Font == | ||
- | |||
- | It's recommended for the RockPro64 and Pinebook Pro that a larger console font is configured. | ||
- | |||
- | {{: | ||
- | |||
- | |||
- | {{: | ||
- | |||
- | The recommended font is ' | ||
- | |||
- | {{: | ||
- | |||
- | == Continue Post Installation Configuration == | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | == Configure GUI Window Manager == | ||
- | |||
- | This author recommends using XFCE as it's light weight versus KDE. | ||
- | |||
- | {{: | ||
- | |||
- | == Continue Post Installation Configuration == | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | == Slackware Setup Complete == | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | {{: | ||
- | |||
- | Generally you'll want to reboot into the OS. | ||
- | |||
- | However, if you are planning on setting up RAID or need to customise the Operating System Initial RAM Disk, you should select ' | ||
- | |||
- | The Slackware OS will be found within '/ | ||
- | You can use the ' | ||
- | |||
- | |||
- | == Booting the Slackware OS == | ||
- | |||
- | {{: | ||
- | |||
- | == Login to the Slackware OS == | ||
- | |||
- | {{: | ||
- | |||
- | You may now login as ' | ||
- | |||
- | == Quit the HTTP media server == | ||
- | |||
- | 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 Configuration ===== | ||
- | |||
- | There are a few post-installation configuration tasks to complete. | ||
- | |||
- | |||
- | === Add a plebeian user === | ||
- | |||
- | You should add a plebeian (non-root) user using the ' | ||
- | |||
- | This is documented [[https:// | ||
- | |||
- | == CPU Fan Control == | ||
- | |||
- | If you are using a fan, you'll need to set it up. | ||
- | At present this is a work-around until a proper tool/ | ||
- | |||
- | You may wish to add something like this to / | ||
- | |||
- | < | ||
- | root@bladswede: | ||
- | #!/bin/bash | ||
- | |||
- | [ ! -f / | ||
- | |||
- | export DEVTYPE=$( strings / | ||
- | |||
- | # RockPro64 settings: | ||
- | case $DEVTYPE in | ||
- | " | ||
- | ( while [ ! -f / | ||
- | sleep 1 | ||
- | done ) > /dev/null 2>&1 | ||
- | echo 255 > / | ||
- | sleep 2 | ||
- | echo 255 > / | ||
- | for fanspeed in $( seq 255 -10 65 ) ; do | ||
- | sleep 0.20 | ||
- | echo $fanspeed > / | ||
- | done | ||
- | ;; | ||
- | esac | ||
- | </ | ||
- | |||
- | |||
- | ===== Known bugs ===== | ||
- | |||
- | == KDE == | ||
- | |||
- | On the first invocation of KDE the screen may appear stretched and in the wrong screen mode. | ||
- | Kill KDE with ctrl+alt+backspace, | ||
- | If anybody knows of the fix for this please let me know! | ||
- | |||
- | |||
- | ===== Using the Serial/UART adapter ===== | ||
- | |||
- | This documentation discusses using the RockPro64 without the UART/Serial console. | ||
- | If you'd like to use one, the image below shows the recommended adapter connected to the RockPro64: | ||
- | |||
- | {{: | ||
- | |||
- | You can then connect the USB end of the adapter into your Linux Host Computer, and use the following command. | ||
- | This assumes that there are no other similar adapters occupying / | ||
- | |||
- | < | ||
- | screen | ||
- | </ | ||
- | |||
- | Other adapters use a different baud rate: | ||
- | < | ||
- | screen -T screen-256color / | ||
- | </ | ||
- | |||