Difference between revisions of "SOQuartz Software Releases"

From PINE64
Jump to navigation Jump to search
m
(→‎DietPi: Align DietPi section with those from other boards and distros)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== Manjaro ARM ===
This page contains a list of all available operating systems for the [[SOQuartz]].
[[File:Manjaro.png|right|100px]]


Manjaro ARM is a user friendly rolling release distribution, based on Arch Linux ARM.
== Making Your Own ==


* [https://github.com/manjaro-arm/soquartz-cm4-images/releases Images for SOQuartz on GitHub]
Making your own image/installation of Linux for SOQuartz is relatively easy, as all major components are mainlined. You will need:


Release 20220718 and older don't boot on SOQuartz. If you find any image that works please update this page with the details.
* A build of mainline U-Boot ≥ v2023.10, see [[Quartz64 Building U-Boot]]. Flash this to sector 64 (sector size 512, so byte 32768) of your image for SD or eMMC. It's prudent to "protect" it by making a small (~16MiB) partition at this offset.
* A [https://www.kernel.org/ mainline Linux kernel] ≥ v6.2. See [[Quartz64 Development#Linux Kernel Config Options]] for the device specific kernel configuration options.
* The root filesystem of the distribution of your choice. This can be on the same filesystem as your kernel and device tree if using ''extlinux.conf''.


For headless installation, simply enter "root" at the login: prompt and complete setup.
You can either boot the kernel through U-Boot's EFI booting, in which case it gets its device tree from U-Boot, or mark the partition containing your kernel and device tree with the legacy bootable flag and [https://u-boot.readthedocs.io/en/latest/develop/distro.html#boot-configuration-files write an ''extlinux/extlinux.conf''].


== pgwipeout's Quartz CI ==
== Software Releases ==
{{note|'''Note:''' The images are provided by the PINE64 community, not by Pine Store Ltd. Most community projects currently aim at getting mainline Linux running on the board, not some vendor provided kernel that will never be receiving updates. A mainline-first approach allows for the boards to continue receiving important updates, such as security updates, for years to come, as well as have higher quality code in the kernel as it underwent independent review, but does mean that not all aspects of the hardware work right out of the gate.}}
<!--
Add your own images below this section, please sort it alphabetically (don't try to be "first"), don't list one-off hacked together images found by the side of the road.
-->
=== DietPi ===
[[File:dietpi.png|right|100px]]


pgwipeout's [https://gitlab.com/pgwipeout/quartz64_ci/-/jobs Quartz CI] includes a Debian installer image for the SOQuartz, with the CM4 I/O board as the base board. To download, click the "Download artifacts" button on the right hand side, unzip the archive and take a peek inside the "images" folder to see the selection of pre-built images. Assuming your target device is <tt>/dev/sdX</tt>, you can flash it with:
'''DietPi''' is a lightweight, yet easy to setup and feature-rich Linux distribution, based on ''Debian''. To find out more about DietPi, please visit the [https://dietpi.com/docs/ official documentation]. Discuss the Quartz64 builds on the [https://forum.pine64.org/showthread.php?tid=17601 PINE64 forum thread].


sudo -i
Download:
xzcat /path/to/rk3566-soquartz-cm4.dtb.img.xz > /dev/sdX
* [https://dietpi.com/downloads/images/DietPi_SOQuartz-ARMv8-Bookworm.img.xz Direct download from dietpi.com]


You will need 3.3V UART at 1.5 mbauds (1500000) to access the interface.
{| class="wikitable"
!colspan="2" style="background: #a7d7f9;"| Default credentials
|-
! Root user
| <code>root/dietpi</code>
|}


Currently the latest image built on 16.07.2022 doesn't work. If anyone manages to get it working please update this page with the details of which release works.
=== Manjaro ARM ===
[[File:Manjaro-logo.svg|right|100px]]


== Custom Debian image from user PBXForums ==
Manjaro ARM is a user friendly rolling release distribution, based on Arch Linux ARM.


PBXForums shared a custom built Debian image that appears to work to some degree in this GitHub issue:
* [https://github.com/manjaro-arm/soquartz-cm4-images/releases Images for SOQuartz on GitHub]


* [https://github.com/adamfowleruk/deskpi-super6c/issues/2#issuecomment-1223702579 Custom Debian based image]
WiFI, Bluetooth, Ethernet, HDMI USB etc. works, others are not tested.  


== Armbian Ubuntu Jammy with kernel 5.19.7 ==
Currently the image is built for Raspberry Pi CM4 - IO board, so to get it working with other base board like pine64 Soquartz model A base board then follow this steps
*Flash the image to a SD card/ EMMC.
*Go to Boot partition.
*Then change the DTB listed in /boot/extlinux/extlinux.conf to -model-a.dtb instead of -cm4.dtb.
*Now put the SD card/ EMMC to the preferred base board and boot.
*First boot will take time as the user partition will resize to take whole storage size.


A better image, IMHO that the one I shared above. This is a regular Balbes150 image for the Quartz A but with a working uboot and a changed DTB.
For headless installation, simply enter "root" at the login: prompt and complete setup.


Burn the image to SD/EMMC
=== Plebian ===
[[File:Plebian-logo.svg|right|100px]]


Boot up you module, give it a couple of minutes to resize sdcard/emmc and then find its IP
Plebian stands for '''P'''INE64 '''L'''ive D'''ebian''' and aims to be a fairly vanilla live Debian image for Quartz64 and SOQuartz devices, based on Debian Bookworm. It supports both of PINE64's officially released SOQuartz base boards.


Log in via SSH root/1234 and it will take you through the armbian first boot process.
* [https://github.com/Plebian-Linux/quartz64-images/releases Download Release Images]
* [https://github.com/Plebian-Linux/quartz64-images/blob/main/RUNNING.md Read The Instructions]
* [https://plebian.org/ Visit plebian.org to learn more]


https://www.t95plus.com/forums/downloads/Armbian_22.11.0-trunk_soquartz_jammy_current_5.19.7.img.gz
To flash, run (replace <tt>/dev/sdX</tt> with your target block device):


[[Category:SOQuartz]] [[Category:Quartz64]]
$ xzcat imagename.img.xz | sudo dd of=/dev/sdX bs=4M oflag=dsync status=progress
 
Check [https://plebian.org/flashing/ Plebian's flashing instructions] for instructions on how to flash from e.g. Windows.


== DietPi support with Debian/Bullseye ==
Some quick notes:


Info and downloads:  https://dietpi.com/docs/hardware/#pine64
* You will be asked to change your password on first login (for what the default login is, read the instructions!)
* Root file system is grown to take up the entire space of your boot device
* NetworkManager is used instead of Debian's interfaces config to be more flexible with what adapters are plugged in and working
* An sshd is started on port 22 with freshly generated keys
* '''Please flash the correct image for your SOQuartz baseboard!'''


This comes recommended in a review by James Chambers.


* https://jamesachambers.com/pine64-soquartz-cm4-alternative-review/
[[Category:SOQuartz]] [[Category:Quartz64]]

Latest revision as of 15:10, 26 September 2023

This page contains a list of all available operating systems for the SOQuartz.

Making Your Own

Making your own image/installation of Linux for SOQuartz is relatively easy, as all major components are mainlined. You will need:

  • A build of mainline U-Boot ≥ v2023.10, see Quartz64 Building U-Boot. Flash this to sector 64 (sector size 512, so byte 32768) of your image for SD or eMMC. It's prudent to "protect" it by making a small (~16MiB) partition at this offset.
  • A mainline Linux kernel ≥ v6.2. See Quartz64 Development#Linux Kernel Config Options for the device specific kernel configuration options.
  • The root filesystem of the distribution of your choice. This can be on the same filesystem as your kernel and device tree if using extlinux.conf.

You can either boot the kernel through U-Boot's EFI booting, in which case it gets its device tree from U-Boot, or mark the partition containing your kernel and device tree with the legacy bootable flag and write an extlinux/extlinux.conf.

Software Releases

Note: The images are provided by the PINE64 community, not by Pine Store Ltd. Most community projects currently aim at getting mainline Linux running on the board, not some vendor provided kernel that will never be receiving updates. A mainline-first approach allows for the boards to continue receiving important updates, such as security updates, for years to come, as well as have higher quality code in the kernel as it underwent independent review, but does mean that not all aspects of the hardware work right out of the gate.

DietPi

Dietpi.png

DietPi is a lightweight, yet easy to setup and feature-rich Linux distribution, based on Debian. To find out more about DietPi, please visit the official documentation. Discuss the Quartz64 builds on the PINE64 forum thread.

Download:

Default credentials
Root user root/dietpi

Manjaro ARM

Error creating thumbnail: File missing

Manjaro ARM is a user friendly rolling release distribution, based on Arch Linux ARM.

WiFI, Bluetooth, Ethernet, HDMI USB etc. works, others are not tested.

Currently the image is built for Raspberry Pi CM4 - IO board, so to get it working with other base board like pine64 Soquartz model A base board then follow this steps

  • Flash the image to a SD card/ EMMC.
  • Go to Boot partition.
  • Then change the DTB listed in /boot/extlinux/extlinux.conf to -model-a.dtb instead of -cm4.dtb.
  • Now put the SD card/ EMMC to the preferred base board and boot.
  • First boot will take time as the user partition will resize to take whole storage size.

For headless installation, simply enter "root" at the login: prompt and complete setup.

Plebian

Error creating thumbnail: File missing

Plebian stands for PINE64 Live Debian and aims to be a fairly vanilla live Debian image for Quartz64 and SOQuartz devices, based on Debian Bookworm. It supports both of PINE64's officially released SOQuartz base boards.

To flash, run (replace /dev/sdX with your target block device):

$ xzcat imagename.img.xz | sudo dd of=/dev/sdX bs=4M oflag=dsync status=progress

Check Plebian's flashing instructions for instructions on how to flash from e.g. Windows.

Some quick notes:

  • You will be asked to change your password on first login (for what the default login is, read the instructions!)
  • Root file system is grown to take up the entire space of your boot device
  • NetworkManager is used instead of Debian's interfaces config to be more flexible with what adapters are plugged in and working
  • An sshd is started on port 22 with freshly generated keys
  • Please flash the correct image for your SOQuartz baseboard!