Difference between revisions of "User:RemDogKap/SandBox/First Setup"

From PINE64
Jump to navigation Jump to search
(Prereqs rough out)
 
(began section on flashing the image)
Line 8: Line 8:
**[https://pine64.com/product/64gb-class10-microsd-card/ SD card] of at least ??GB, no greater than 256GB
**[https://pine64.com/product/64gb-class10-microsd-card/ SD card] of at least ??GB, no greater than 256GB
**[https://pine64.com/product-category/star64-accessories/ eMMC Module] with [https://pine64.com/product/usb-adapter-for-emmc-module/ USB adapter]
**[https://pine64.com/product-category/star64-accessories/ eMMC Module] with [https://pine64.com/product/usb-adapter-for-emmc-module/ USB adapter]
*Ability to flash a storage device. [https://etcher.balena.io/ Balena Etcher] is recommended, but advanced users can also use dd in a Unix-like OS
*Ability to flash a storage device with a disk image. [https://etcher.balena.io/ Balena Etcher] is recommended, but advanced users can also use dd in a Unix-like OS
 
==Flashing the image==
There are currently two working distributions of Linux compatible with the Star64, Pocky and Armbian. Both distributions use the same kernel[???].The Pocky distribution is built using Yocto which is an open source project used to create Linux distributions for embedded devices. The Pocky distribution currently has some GPU support and is further developed than Armbian. 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.
 
More information about support for features can be accessed [[Status_of_Features | here]]
===Pocky 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 [https://pine64.my-ho.st:8443/ here] (source code available [https://github.com/Fishwaldo/meta-pine64 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  <nowiki>https://pine64.my-ho.st:8443/${Name of Image File}</nowiki>
 
Where ${Name of Image File} is the name of your chosen image file.
Example:
 
$ wget <nowiki>https://pine64.my-ho.st:8443/star64-image-minimal-star64-1.2.wic.bz2</nowiki>
 
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
 
====Windows====
 
===Armbian Install===
 
===SD Card===
 
===eMMC Flash===
[Not sure if eMMC flash is any different, I (Rem) do not have experience using it]
====Using SD Card====
[As mbuggle said in Discord #Star64 on 2023-06-05 1:10 AM CDT (Message ID: 1115160713439223859) it seems like it may be possible to use an SD Card to first boot, use the SSD to transfer the disk image to the eMMC, remove the SD Card and boot from eMMC]
====Using eMMC to USB Adapter====

Revision as of 04:46, 8 June 2023

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, Pocky and Armbian. Both distributions use the same kernel[???].The Pocky distribution is built using Yocto which is an open source project used to create Linux distributions for embedded devices. The Pocky distribution currently has some GPU support and is further developed than Armbian. 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.

More information about support for features can be accessed here

Pocky 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

Windows

Armbian Install

SD Card

eMMC Flash

[Not sure if eMMC flash is any different, I (Rem) do not have experience using it]

Using SD Card

[As mbuggle said in Discord #Star64 on 2023-06-05 1:10 AM CDT (Message ID: 1115160713439223859) it seems like it may be possible to use an SD Card to first boot, use the SSD to transfer the disk image to the eMMC, remove the SD Card and boot from eMMC]

Using eMMC to USB Adapter