[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:development_di_rk3399 [2021/05/09 14:57 (UTC)] – old revision restored (2021/05/06 12:16 (UTC)) mozes | slackwarearm:development_di_rk3399 [2022/01/31 11:37 (UTC)] – mozes | ||
---|---|---|---|
Line 1: | Line 1: | ||
<note warning> | <note warning> | ||
- | ====== | + | ====== |
This exposition also covers Slackware ARM (32bit ARMv7), although at present (May 2021) AArch64 is wider ranging with regard to the //plugin// development model. | This exposition also covers Slackware ARM (32bit ARMv7), although at present (May 2021) AArch64 is wider ranging with regard to the //plugin// development model. | ||
Line 8: | Line 8: | ||
====== | ====== | ||
- | |||
- | ==== ARM Trusted Firmware ==== | ||
- | ==== U-Boot Boot Loader ==== | + | The boot loader employed on the RockPro64 and PineBook Pro is [[https:// |
- | ===== U-Boot configured to boot from SPI Flash ===== | + | ====== Trusted Firmware-A (ARM Trusted Firmware) ====== |
- | ===== U-Boot | + | The ARM Trusted Firmware is embedded within the supplied |
+ | However, some platforms require the Trusted Firmware | ||
- | 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 image can be written to an SD Card as a header and booted, but U-Boot would fail to boot sometimes after changes | + | |
+ | ^ Asset(s) ^ Description ^ | ||
+ | | [[http:// | ||
+ | | [[http:// | ||
+ | ====== 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 42: | Line 55: | ||
^Change Management Process^ | ^Change Management Process^ | ||
| Email the new Kernel configuration to the Slackware ARM devel mailing list with a summary of what the changes were for. | | | Email the new Kernel configuration to the Slackware ARM devel mailing list with a summary of what the changes were for. | | ||
+ | |||
+ | ==== Kernel Package Build Helpers ==== | ||
+ | |||
+ | The Pinebook Pro (RK3399 SoC) requires a firmware blob to be installed within the OS InitRD (see further down) in order to light up one of the display ports. | ||
+ | To facilitate this, a helper script is executed from the kernel.SlackBuild script when the OS InitRD is constructed. | ||
+ | |||
+ | ^ Package Series ^ Package ^ Asset ^ Src ^ | ||
+ | | k | kernel-source | platform/ | ||
==== Kernel Patches ==== | ==== Kernel Patches ==== | ||
Line 54: | Line 75: | ||
http:// | http:// | ||
needed? | needed? | ||
+ | |||
+ | == Firmware within the OS InitRD == | ||
+ | |||
+ | The RockPro64 requires a small blob of firmware for one of the display drivers. | ||
+ | This is included within / | ||
+ | |||
+ | <note important> | ||
==== Kernel Module Loader ==== | ==== Kernel Module Loader ==== | ||
Line 66: | Line 94: | ||
^ Asset ^ Description ^ | ^ Asset ^ Description ^ | ||
- | | [[http:// | + | | [[http:// |
< | < | ||
Line 100: | Line 128: | ||
| This is a simple script and should not be made more complex, because this code typically never changes, thus modularising it serves no utility. Please email a diff to the Slackware ARM devel mailing list and it will be applied | | | This is a simple script and should not be made more complex, because this code typically never changes, thus modularising it serves no utility. Please email a diff to the Slackware ARM devel mailing list and it will be applied | | ||
- | ====== Local Console (HDMI video, USB Keyboard / Mouse ) ====== | + | ====== |
==== Console Video Display ==== | ==== Console Video Display ==== | ||
Line 109: | Line 137: | ||
==== 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' | ||
+ | Xorg to automatically configure the video display. | ||
+ | |||
+ | Other Hardware Models contain configuration within this doinst.sh script. | ||
+ | |||
+ | ====== Slackware Operating System Post Boot Configuration ====== | ||
+ | |||
+ | Package: a/ | ||
+ | Assets: / | ||
+ | These scripts perform such things as setting the LCD panel brightness, setting fan speeds, etc. | ||
+ | |||
+ | Used on the RockPro64, Pinebook Pro. | ||
====== Slackware Installer ====== | ====== Slackware Installer ====== | ||
Line 121: | Line 161: | ||
==== Installing the Boot Loader onto SPI Flash ==== | ==== Installing the Boot Loader onto SPI Flash ==== | ||
- | / | + | / |
+ | |||
+ | ==== Hardware Model Installer Runtime Configuration Adjustments ==== | ||
+ | |||
+ | / | ||
+ | |||
+ | Pinebook Pro and RockPro64 - select larger font size. | ||
+ | |||
+ | ==== Set the clock ==== | ||
+ | |||
+ | / | ||
+ | |||
+ | This is called from / | ||
+ | |||
+ | ==== Configure console settings: RockPro64 and Pinebook Pro ==== | ||
+ | |||
+ | / | ||
+ | |||
+ | ==== Firmware ==== | ||
+ | |||
+ | RockPro64/ | ||
+ | / | ||
+ | |||
+ | ==== Operating System Configuration (per Hardware Model) ==== | ||
+ | |||
+ | / | ||
+ | |||
+ | This runs helper scripts found within the Slackware Installer. | ||
+ | These scripts are named after the SoC they support, e.g. / | ||
+ | |||
+ | Examples of usage include: | ||
+ | * Configuring suspend/ | ||
+ | |||
+ | === Operating System configuration assets === | ||
+ | |||
+ | Some static assets are installed to the Operating System to provide sane/useful defaults for particular Hardware Models. | ||
+ | |||
+ | / | ||
+ | |||
+ | An ALSA config also exists for the rockpro64: | ||
+ | / | ||
==== Disabling Filesystem Checks ==== | ==== Disabling Filesystem Checks ==== | ||
Line 132: | Line 213: | ||
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. | ||
/ | / | ||
+ | |||
+ | ====== Hardware Management ====== | ||
+ | |||
+ | ==== Monitoring ==== | ||
+ | |||
+ | Not yet implemented | ||
+ | |||
+ | [[https:// | ||