These instructions explain how to install, and boot, CoreELEC on supported Odroid SBCs from µSD Card, by using a Windows PC. The instructions can easily be modified for other Operating Systems.
There are 2 methods of installation: external media (SD Card, USB Flash Drive,…), or eMMC. Both methods are covered in this document.
Application | Function | Linux | Mac | Windows |
---|---|---|---|---|
balenaEtcher | Bootable Media Creator | X | X | X |
UNetbootin | Bootable Media Creator | X | X | X |
USBImager | Bootable Media Creator | X | X | X |
DDRescue / DDRescue-GUI | Disk Utility | X | ||
Disk Utility | Disk Utility | X | ||
Rufus | Bootable Media Creator | X |
These instructions can also be used for a USB Flash Drive.
SBC | Edition | SoC | Image |
---|---|---|---|
Odroid N2 | 2G/4G | S922X | CoreELEC-Amlogic-ng.arm-xxxx-Odroid_N2.img.gz |
Odroid N2+ | 2G/4G | S922X | CoreELEC-Amlogic-ng.arm-xxxx-Odroid_N2.img.gz |
Odroid C4 | 4G | S905X3 | CoreELEC-Amlogic-ng.arm-xxxx-Odroid_C4.img.gz |
Odroid HC4 | 4G | S905X3 | CoreELEC-Amlogic-ng.arm-xxxx-Odroid_HC4.img.gz |
Once the image is transfered to μSD Card, the device is Ready To Boot (RTB), meaning no Device Tree Blob (DTB) needs to be copied.
Odroid N2, N2+, C4 & HC4
NOTE (N2, N2+ only): when booting from USB, the switch has to be set to SPI. Select the CoreELEC menu entry to boot.
Never add or remove the eMMC module, or toggle the boot select switch, while the device is powered on. Doing so may cause irreversible hardware damage.
Hardkernel eMMC Module compatibility reference chart
|
There are 3 options listed to install CoreELEC onto the N2/N2+ eMMC Module.
Option | Type | Notes |
---|---|---|
A | eMMC Module Writer | Bundle module writer with other purchase to save on shipping |
B | μSD Card & SSH | Requires a functional LAN |
C | USB OTG | Requires a more elaborate setup |
The Odroid N2 has a Boot Select Switch (1). When the switch is set to SPI, the CPU will fetch the Petitboot bootloader from SPI flash memory. When the switch is set to MMC, the bootloader from the eMMC module, USB Flash Drive, or μSD Card will be fetched by the CPU. The CPU will fetch from μSD Card if the eMMC module is detached or lacking a bootloader.
This information only pertains to eMMC migration options B & C, and to devices dual-boot betweeb CoreELEC and another OS.
Petitboot (PB) version 2022-03-17 or better is required for use with CoreELEC.
This is also the first edition including support for compressed Amlogic Multi-DTB.
Please refer to the Hardkernel User Support Forums for help with Petitboot.
Occasionally Petitboot can become corrupted. In such situations, prior to re-flashing Petitboot, it is recommended to clear the dedicated PB flash module.
flash_eraseall /dev/mtd0 flash_eraseall /dev/mtd1 flash_eraseall /dev/mtd2
There are 3 ways to boot CoreELEC on Odroid N2(+)
Used with: μSD Card, eMMC module.
Used with: USB Flash Drive, USB HDD/SSD.
NOTE: it can take up to 30 seconds for an SSD drive to show up.
Once CoreELEC has booted:
installtoemmc
Once the installation script is finished:
Enabling USB OTG allows the Odroid N2(+) SBC to be used as a Memory Card Reader
This feature is enabled from the Petitboot shell
Exit to shell
To share the eMMC module as USB Storage enter this command in the PB shell:
ums /dev/mmcblk0
Once the image is successfully written, turn off USB Mass Storage mode (ums). The eMMC module will safely unmount.
ums
NOTE: The USB OTG method can also be used to install CoreELEC onto USB or SD card.
Device | Command |
---|---|
eMMC module | ums /dev/mmcblk0 |
μSD Card | ums /dev/mmcblk1 |
USB Storage Device | ums /dev/sda |
ums /dev/sdb |
This random behavior can occur when using older versions of Petitboot in combination with certain television sets.
New installation
Existing installation
Perform a Petitboot firmware update.
spiboot.img
spiboot.img
to the root of a μSD Card
NOTE: Petitboot can also be updated by running pb-update
in the Petitboot shell.
An eMMC Module Writer is required to write a bootable eMMC module
For support unrelated to CoreELEC, please refer to the Hardkernel User Support Forums.