[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
Next revisionBoth sides next revision
slackwarearm:development_di_rk3399 [2021/05/09 14:57 (UTC)] – old revision restored (2021/05/06 12:16 (UTC)) mozesslackwarearm:development_di_rk3399 [2021/11/18 10:12 (UTC)] mozes
Line 8: Line 8:
  
 ======  Bootware ====== ======  Bootware ======
-  
-==== ARM Trusted Firmware ==== 
  
-==== U-Boot Boot Loader ====+The boot loader employed on the RockPro64 and PineBook Pro is [[https://www.denx.de/wiki/U-Boot|U-Boot]].
  
-===== U-Boot configured to boot from SPI Flash =====+====== Trusted Firmware-A (ARM Trusted Firmware) ======
  
-===== U-Boot configured to boot from SD Card =====+The ARM Trusted Firmware is embedded within the supplied U-Boot loader, and aren't used by the end-user directly. 
 +However, some platforms require the Trusted Firmware to boot a Kernel.
  
-Built and available but not used for either the Operating System Installation nor Operating System Proper. +The single build script is used to produce the trusted firmware assets for all supported Hardware Models
-The image can be written to an SD Card as a header and booted, but U-Boot would fail to boot sometimes after changes to the /boot filesystem, so it couldn't be used.+
  
 +^ Asset(s) ^ Description ^
 +| [[http://ftp.arm.slackware.com/slackwarearm/platform/aarch64/bootware/bin/rk3399/|ATF binaries]]|ATF for RK3399 | 
 +| [[http://ftp.arm.slackware.com/slackwarearm/platform/aarch64/bootware/src/atf.build|Build script]] | Builds the Trusted Firmware for supported Hardware Models | 
  
 +====== U-Boot Boot Loader ======
 +
 +======= Recovery / Initialisation SD Card image =======
 +
 +* Needs script work to create one
 +
 +======= U-Boot configured to boot from SPI Flash =======
 +
 +======= U-Boot configured to boot from SD Card =======
 +
 +Built and available but not used for either the Operating System Installation nor Operating System Proper.
 +The image can be written to an SD Card as a header and booted, but U-Boot would fail to boot sometimes after changes to the /boot filesystem, so it was unsuitable as a solution.
  
 ==== Boot Media ==== ==== Boot Media ====
Line 66: Line 79:
  
 ^ Asset ^ Description ^ ^ Asset ^ Description ^
-| [[http://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/source/SlkOS-initrd-overlay/load_kernel_modules.scr/platform/aarch64/rk3399|k/SlkOS-initrd-overlay/load_kernel_modules.scr/platform/aarch64/rk3399]]|Kernel Module Configuration script for RK3399 Hardware Models (including RockPro64, PineBook Pro) |+| [[http://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/source/k/SlkOS-initrd-overlay/load_kernel_modules.scr/platform/aarch64/rk3399|k/SlkOS-initrd-overlay/load_kernel_modules.scr/platform/aarch64/rk3399]]|Kernel Module Configuration script for RK3399 Hardware Models (including RockPro64, PineBook Pro) |
  
 <note>For the settings, view the script directly (see the table above)</note> <note>For the settings, view the script directly (see the table above)</note>
Line 109: Line 122:
 ==== X11/Xorg Window System ==== ==== X11/Xorg Window System ====
  
-Uses existing fbturbo driver package. +Package: x/x11-skel 
-No changes required.+Asset: doinst.sh
  
 +The x11-skel package's post-installation script detects the RockPro64 and Pinebook Pro at install time, and deletes /etc/X11/xorg.conf enabling
 +Xorg to automatically configure the video display.
 +
 +Other Hardware Models contain configuration within this doinst.sh script.
  
 ====== Slackware Installer ====== ====== Slackware Installer ======
Line 121: Line 138:
 ==== Installing the Boot Loader onto SPI Flash ==== ==== Installing the Boot Loader onto SPI Flash ====
  
-/usr/lib/setup/armedslack-spi-flash +/usr/lib/setup/armedslack-bootloader-flash 
 + 
 +==== Hardware Model Installer Runtime Configuration Adjustments ==== 
 + 
 +/etc/rc.d/rc.installerconfig 
 + 
 +Pinebook Pro and RockPro64 - select larger font size. 
 + 
 + 
 +==== Configure console settings: RockPro64 and Pinebook Pro ==== 
 + 
 +/usr/lib/setup/armedslack-setconsole 
 + 
 +==== Firmware ==== 
 + 
 +RockPro64/Pinebook Pro: 
 +/lib/firmware/rockchip 
 + 
  
 ==== Disabling Filesystem Checks ==== ==== Disabling Filesystem Checks ====
Line 132: Line 167:
 Should the Hardware Model not have an RTC, there is a change to make within the Slackware Installer. Should the Hardware Model not have an RTC, there is a change to make within the Slackware Installer.
 /usr/lib/setup/armedslack-nofscheck /usr/lib/setup/armedslack-nofscheck
 +
 +====== Hardware Management ======
 +
 +==== Monitoring ====
 +
 +Not yet implemented
 +
 +[[https://www.linuxquestions.org/questions/slackware-arm-108/modified-argon-one-case-fan-script-for-raspberry-pi-4-without-systemd-4175689926|Fan control]]
  
  
 slackwarearm:development_di_rk3399 ()