User:RemDogKap/SandBox/First Setup

From PINE64
< User:RemDogKap‎ | SandBox
Revision as of 23:18, 9 June 2023 by RemDogKap (talk | contribs) (combined eMMC and SD card sections)
Jump to navigation Jump to search

The Star64 is a 64 bit, 4 core Single Board Computer.

Prerequisites

Flashing the image

There are currently two working distributions of Linux compatible with the Star64, pinix and Armbian. Both distributions use the same kernel[???].The pinix distribution is a custom distribution built by Fishwaldo using Yocto which is an open source project used to create Linux distributions for embedded devices. The pinix distribution is currently focusing on support for GPU and VGPU acceleration for desktop environments. Both distributions use the deb package manager. The Armbian distribution is based on Debian/Ubuntu with changes to make it lightweight and compatible with ARM/RISC-V development boards.

While there are other RISC-V compatible distributions, none of these have the required device tree entries for the Star64 meaning that none will work fully on the Star64. This includes images for the StarFive2, a sister board which uses the same processor, due to other hardware differences. It may be possible to get other distributions to run on the Star64 by cross compiling the working kernel into another distribution.

More information about support for features can be accessed here.

pinix Install

Linux

First, if not already installed, install bzip2 and wget.

$ sudo apt update && sudo apt install bzip2 wget

Second, download a compressed disk image (.wic.bz2) from here (source code available here) using wget. There are three types of images, one command line only and two desktop environments.

  • star64-image-minimal - A command line only image
  • star64-image-weston - A Weston/Wayland "Demo" image.
  • star64-image-plasma- A Plasma Based Image.
$ wget  https://pine64.my-ho.st:8443/${Name of Image File}

Where ${Name of Image File} is the name of your chosen image file. Example:

$ wget https://pine64.my-ho.st:8443/star64-image-minimal-star64-1.2.wic.bz2

Next, decompress the file using bzip2.

$ bzip2 -d ${Path to Image File}

Where ${Path to Image File} is the path to your image file. Example:

$ bzip2 -d star64-image-minimal-star64-1.2.wic.bz2

Next, flash the image to the SD card or eMMC module. The open source Balena Etcher with GUI support is recommended but dd will work as well if you are an advanced user.

Windows

First, make sure that you have 7zip installed and if not, install it.

Second, download a compressed disk image (.wic.bz2) from here (source code available here) by clicking on the files. There are three types of images, one command line only and two desktop environments.

  • star64-image-minimal - A command line only image
  • star64-image-weston - A Weston/Wayland "Demo" image.
  • star64-image-plasma- A Plasma Based Image.

Third, right click on the downloaded file and select 7-zip. Next click extract.

Finally, use Balena Etcher to write your disk image to the SD Card or eMMC module .

Armbian Install

Booting the Image