Enjoy Slackware 15.0!
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
slackwarearm:development_di_rk3399 [2021/05/07 04:52 (UTC)] mozes |
slackwarearm:development_di_rk3399 [2022/01/13 10:42 (UTC)] mozes |
||
---|---|---|---|
Line 7: | Line 7: | ||
< | < | ||
- | ====== | + | ====== |
- | + | ||
- | * sd card images | + | The boot loader employed on the RockPro64 and PineBook Pro is [[https:// |
+ | |||
+ | ====== Trusted Firmware-A (ARM Trusted Firmware) ====== | ||
+ | |||
+ | 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. | ||
+ | |||
+ | The single build script is used to produce the trusted firmware assets for all supported Hardware Models. | ||
+ | |||
+ | ^ Asset(s) ^ Description ^ | ||
+ | | [[http:// | ||
+ | | [[http:// | ||
+ | |||
+ | ====== U-Boot | ||
+ | |||
+ | ======= 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 | ||
====== Slackware Operating System ====== | ====== Slackware Operating System ====== | ||
Line 26: | 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 38: | 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 50: | Line 94: | ||
^ Asset ^ Description ^ | ^ Asset ^ Description ^ | ||
- | | [[http:// | + | | [[http:// |
< | < | ||
Line 70: | Line 114: | ||
====== Serial Console System Login ====== | ====== Serial Console System Login ====== | ||
+ | |||
+ | <note important> | ||
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 ^ | ^ Package Series ^ Package ^ Asset changed ^ Src ^ | ||
| a | sysvinit-scripts | / | | a | sysvinit-scripts | / | ||
- | | a | etc | / | ||
The additions script has inline documentation. | The additions script has inline documentation. | ||
Line 92: | 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. | ||
- | ====== Slackware Installer ====== | + | Other Hardware Models contain configuration within this doinst.sh script. |
- | < | + | ====== |
- | Merging some of these changes back upstream is on the to do list </ | + | |
==== Automatic Handling of the OS /boot Partition ==== | ==== Automatic Handling of the OS /boot Partition ==== | ||
Line 107: | Line 153: | ||
==== 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/ | ||
+ | / | ||
+ | |||
==== Disabling Filesystem Checks ==== | ==== Disabling Filesystem Checks ==== | ||
Line 118: | Line 187: | ||
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:// | ||