HCL:OdroidC2
The Hardkernel ODROID-C2 is a single-board computer.
Technical data
- Amlogic S905 SoC
- 4x ARM Cortex-A53 CPU
- 2 GB RAM
- 4x USB, 1x USB OTG
- 1x GbE
- 1x HDMI
- 40-pin largely Raspberry Pi compatible header (except pins 37, 38, 40)
Writing a disk image to the SD card
- Download the image you want (Leap is stable, Tumbleweed is rolling) from here:
This image uses the Tumbleweed kernel and userspace, but relies on firmware packages and tools not in Tumbleweed.TumbleweedJeOS image If the direct links above do not work for you, please check the general download directory for the images.
This image (unofficial, from home project!) uses the Leap 15.6 kernel and userspace, but relies on firmware packages and tools that are not part of the distribution.
Leap-15.6JeOS image If the direct links above do not work for you, please check the general download directory for the images.
This image (unofficial, from home project!) uses the Leap 15.3 kernel and userspace, but relies on firmware packages and tools that are not part of the distribution.
Leap-15.3JeOS image If the direct links above do not work for you, please check the general download directory for the images.
- As root extract the image onto your SD card (replace sdX with the device name of your SD card).
WARNING: all previous data on the SD card will be lost. Check first if the device you have selected is really your SD card!xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct; sync
- Insert the SD card with the openSUSE image into your board.
- Connect the board to your PC via serial port (optional, but helpful for debugging; USB-TTL serial cable needed).
- Connect the board to your monitor (via DVI/HDMI, optional).
- Power on the board.
- Walk through the first boot steps.
- Ethernet is configured to request an IP via DHCP, check your DHCP server for the board IP if used.
- Have a lot of fun...
Manual installation
Mainline U-Boot
A u-boot-odroid-c2 package is available in Tumbleweed. From version v2017.05-rc2 on (in Base:System:Staging at the time of writing) it contains support for booting from Micro SD; before that only network boot is possible.
For the goal of creating bootable images in OBS, an experimental tool to replace Amlogic's proprietary x86_64 binary aml_encrypt_gxb is available on GitHub. The meson-tools package is used by odroidc2-firmware package.
Extract bl1.bin.hardkernel and u-boot.odroidc2 from odroidc2-firmware package.
Your SD card must be using MBR partitions (not GPT).
# dd if=bl1.bin.hardkernel of=/dev/sdX conv=fsync bs=1 count=442 # dd if=bl1.bin.hardkernel of=/dev/sdX conv=fsync bs=512 skip=1 seek=1 # dd if=u-boot.odroidc2 of=/dev/sdX conv=fsync bs=512 seek=97
GRUB works.
Mainline kernel
The Tumbleweed kernel works. The Leap 15.2 and 15.3 kernels work, too. On 15.3, you need to install `kernel-default-extra` for the AMLogic/Meson drivers.
See also
- Tronsmart Vega S95 for S905 mainlining info
- Hardkernel Wiki
- Hardkernel project on Github. They've got branches of the kernel, u-boot, buildroot, and various other projects. Infrequently updated, but still a useful source of information.
- Armbian forum for s905x boards
- NanoPi K2
- ODROID-C1
- ODROID-N2