This is an old revision of the document!
Table of Contents
Installing Slackware AArch64 on the RockPro64
Target | |
---|---|
Platform | AArch64 |
Slackware Distribution | Slackware AArch64 Current |
Hardware Model | Rock Pro64 |
Hardware Model: RockPro64
Place holder.
Requirements
Needs organising - update model number for serial adapter
Item | Status | Specification | Notes |
---|---|---|---|
Micro SD Card | Required | 2GB minimum, fast speed, good quality make | Used as the OS' /boot partition |
USB to Serial adapter | Required | PL2303 chip. Other models may work, but this one has been tested. | If your model has the option to set voltages, ensure 3volts is set! |
USB to SATA adapter | Optional | Many models will work, but this one has been tested. | You can also use the SATA PCI card (see below) |
PCIe to Dual SATA-III Interface Card | Optional | PINE64's own | Optional - can use USB to SATA adapter |
Jumper or cable | Required | Ground pins required for initial firmware deployment and/or board recovery | |
SATA storage | Required | 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. |
Extra possibilities: SATA PCI card. table needs to include SSD/hard disk. Can run a 2.5“ SSD off a USB to SATA cable.
Hardware Requirements
Network Requirements
A network with a DHCP server. Connection to the network.
USB to Serial Adapter
NOTE: Ensure adapter is set to 3volts not 5!
This is the output from the serial adapter listed in the Requirements section.
[ 326.882289] usb 4-1: Product: FT232R USB UART [ 326.882294] usb 4-1: Manufacturer: FTDI [ 326.882298] usb 4-1: SerialNumber: AB0KSUZJ [ 327.011277] usbcore: registered new interface driver ftdi_sio [ 327.011319] usbserial: USB Serial support registered for FTDI USB Serial Device [ 327.011512] ftdi_sio 4-1:1.0: FTDI USB Serial Device converter detected [ 327.011592] usb 4-1: Detected FT232RL [ 327.015653] usb 4-1: FTDI USB Serial Device converter now attached to ttyUSB0
Downloading
Installing the Boot Loader firmware
https://github.com/ayufan-rock64/linux-build/blob/master/recipes/flash-spi.md
One-off step. Fresh from the Factory or for moving from another Linux distribution.
If your machine is fresh from the factory, you can possibly skip this step since the SPI flash is usually empty. However, if it doesn't work, try this. Pin 23 is SPI_CLK_M2 Pin 25 is GND
Booting
Without serial adaptor, you have no visibility until a certain point in the boot process. Installer ships with network support…. so you need to wait if there's no network.
you need to wait for the console to become active because
Why ship with network support? it'll ask you anyway if it's not setup…
screen -T screen-256color /dev/ttyUSB0 1500000,n
Other adapter configs:
screen -T screen-256color /dev/ttyUSB0 1500000,crtscts
Initial Setup
/boot - SD card. Resize later.
HTTP Installation
Installation Finalisation
Installing the Boot Loader to onboard ('SPI') flash
Resize /boot
Fan control
# Max setting: root@bladswede:/tmp# echo 255 > /sys/devices/platform/pwm-fan/hwmon/hwmon3/pwm1 # Happy medium - I can't hear it: echo 100 > /sys/devices/platform/pwm-fan/hwmon/hwmon3/pwm1 # Lowest setting (lower figures cause the fan to stop spinning): echo 50 > /sys/devices/platform/pwm-fan/hwmon/hwmon3/pwm1 # If the fan is stopped, it can be restarted by sending '100' to that # interface.