Enjoy Slackware 15.0!

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 revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
slackwarearm:development_di_rk3399 [2021/05/08 05:02 (UTC)]
mozes
slackwarearm:development_di_rk3399 [2021/11/17 11:32 (UTC)]
mozes
Line 7: Line 7:
 <note>In general, the new or changed assets (scripts, config files, etc.) have extensive documentation that provides purpose and context, and the code is annotated where appropriate.  As such, this exposition document acts more as an index.</note> <note>In general, the new or changed assets (scripts, config files, etc.) have extensive documentation that provides purpose and context, and the code is annotated where appropriate.  As such, this exposition document acts more as an index.</note>
  
-====== Hardware Model Details ======+======  Bootware ======
  
-^ ^ Details ^ +The boot loader employed on the RockPro64 and PineBook Pro is [[https://www.denx.de/wiki/U-Boot|U-Boot]]. 
-| Vendor | PINE 64 + 
-| SoC (System on Chip| RK3399 | +====== Trusted Firmware-A (ARM Trusted Firmware====== 
-Hardware Models supported by this Direct Integration | RockPro64 v2.(4GB RAM version), Pinebook Pro | + 
-Slackware AArch64 Integration Date May 2021 +The ARM Trusted Firmware is embedded within the supplied U-Boot loader, and aren't used by the end-user directly. 
-Slackware AArch64 Integration Developer(s) | Stuart Winter <mozes@slackware>, Brent Earl | +However, some platforms require the Trusted Firmware to boot a Kernel. 
-Status Developed and Maintained |+ 
 +The single build script is used to produce the trusted firmware assets for all supported Hardware Models.  
 + 
 +^ 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 ==== 
 + 
 +* OS and Installer Bootware for SD cards
  
-======  Boot Loader ====== 
-  
-* sd card images 
  
 ====== Slackware Operating System ====== ====== Slackware Operating System ======
Line 51: Line 70:
 ====  Kernel Module Loader ==== ====  Kernel Module Loader ====
    
-<note>The [[slackwarearm:development_component_kmodloader|Slackware ARM / AArch64 Kernel Module Loader]] is a shared resource with the Slackware Installer.  The assets are stored within the Kernel source directory.</note>+<note>The Kernel Module Loader is a shared resource with the Slackware Installer.  The assets are stored within the Kernel source directory.</note>
  
 The Kernel Module Loader is responsible for loading software drivers (in the form of Kernel Modules) for a variety of common hardware, plus hardware for specific Hardware Models. The Kernel Module Loader is responsible for loading software drivers (in the form of Kernel Modules) for a variety of common hardware, plus hardware for specific Hardware Models.
Line 60: 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 80: Line 99:
  
 ====== Serial Console System Login ====== ====== Serial Console System Login ======
 +
 +<note important>This is a hard requirement</note>
  
 To enable a TTY that presents a OS login prompt, which enables system access via the Serial adapter. To enable a TTY that presents a OS login prompt, which enables system access via the Serial adapter.
-**All Hardware Models must support this.**+All Hardware Models must support this.
  
-^ Package Series ^ Package ^ Asset changed ^ Src ^ Notes +^ Package Series ^ Package ^ Asset changed ^ Src ^ 
-| a | sysvinit-scripts | /install/doinst.sh | [[http://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/source/a/sysvinit-scripts/sources/doinst.sh-set-serial-port|Install script additions (appended to the standard script)]] | | +| a | sysvinit-scripts | /install/doinst.sh | [[http://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/source/a/sysvinit-scripts/sources/doinst.sh-set-serial-port|Install script additions]] |
-| a | etc | /install/doinst.sh | [[http://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/source/a/etc/sources/doinst.sh.serialconsole-allowroot|Install script additions (prepended to the standard script)]] | This script doesn't perform install-time Hardware Model discovery as it's deemed unnecessary. A static list is sufficient. |+
  
 The additions script has inline documentation. The additions script has inline documentation.
Line 102: 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.
  
-====== Slackware Installer ======+Other Hardware Models contain configuration within this doinst.sh script.
  
-<note>Presently, the installer modifications are not available directly within the Slackware ARM source tree. +====== Slackware Installer ======
-Merging some of these changes back upstream is on the to do list </note>+
  
 ==== Automatic Handling of the OS /boot Partition ==== ==== Automatic Handling of the OS /boot Partition ====
Line 117: 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. 
 + 
 +==== Firmware ==== 
 + 
 +RockPro64/Pinebook Pro: 
 +/lib/firmware/rockchip 
 + 
  
 ==== Disabling Filesystem Checks ==== ==== Disabling Filesystem Checks ====
Line 128: Line 162:
 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]]
  
  

In Other Languages
QR Code
QR Code slackwarearm:development_di_rk3399 (generated for current page)