The configuration package odroid/common
contains common configurations for the
Odroid series of boards by HardKernel. There are specific packages for each
board/series.
If using the n2 or n2l, set the boot switch to MMC.
Reference:
- https://github.com/tobetter/linux/commits/odroid-5.18.y
- https://github.com/armbian/build/tree/master/patch/kernel/archive/meson64-5.17
Set the comma-separated SKIFF_CONFIG
variable:
$ export SKIFF_CONFIG=odroid/n2,skiff/core
$ make configure # configure the system
$ make compile # build the system
Once the build is complete, we will flash to a MicroSD card to boot. You will
need to sudo bash
for this on most systems.
$ sudo bash # switch to root
$ export ODROID_SD=/dev/sdz # make sure this is right! (usually sdb)
$ make cmd/odroid/common/format # tell skiff to format the device
$ make cmd/odroid/common/install # tell skiff to install the os
You only need to run the format
step once. It will create the partition table.
The install
step will overwrite the current Skiff installation on the card,
taking care to not touch any persistent data (from the persist partition). It's
safe to upgrade Skiff independently from your persistent data.
There are specific packages tuned to each model. The boards are all actively tested by the developers unless otherwise noted.
Board | Config Package | Status |
---|---|---|
c2 | odroid/c2 | |
c4 | odroid/c4 | Reboot issue |
h2 + h2+ | odroid/h3 | Obsolete |
h3 + h3+ | odroid/h3 | Intel x86 |
hc2 | odroid/xu | |
hc4 | odroid/hc4 | |
m1 | odroid/m1 | |
n2 | odroid/n2 | Includes n2+ |
n2l | odroid/n2l | |
u + u2 | odroid/u | Obsolete |
xu3 | odroid/xu | Obsolete |
xu4 (+ xu4q) | odroid/xu |
The current SD cards used / tested by developers are:
- PNY Turbo Performance 16GB High Speed MicroSDHC Class 10 UHS-1
- SanDisk 128GB Extreme MicroSDXC UHS-I
- SanDisk 128GB MicroSDXC Nintendo Switch Edition
- SanDisk Ultra MicroSDXC (Any)
The current cards that are known to NOT work are:
- Intenso MicroSDXC Card, UHS-I, 64 GB
Some SD cards may not work as well with the Odroid hardware.
All Odroid boards use u-boot. U-boot is flashed to the beginning of the SD card, before the first partition. It loads and executes a boot.ini configuration.
Note: there may be some binary bootloader blobs used that are provided by the vendor & signed, and cannot be compiled by Skiff, depending on the board.
If using the n2 or n2l, set the boot switch to MMC.
If using the hc4, petitboot must be bypassed.
See the details in the odroid/hc4 docs.
On default, the HC4 boots from SPI, which contains petitboot. If the black button on the bottom of the device (the "boot select" switch) is pressed, the board will use u-boot from the MicroSD card.
Thank you to tobetter for patching / testing the latest Linux kernels for the Odroid series of boards.
The Amlogic Linux fork has some additional fixes.
The SkiffOS Linux fork restores support for older boards in newer kernels.