Odroid-C2

From Alpine Linux
Revision as of 10:15, 19 March 2022 by Yuu (talk | contribs)
This material needs wiki syntax or style improvements ...

Please feel free to help us clean it up.

(Parts of this page are WIP, still incomplete and some might be incorrect.)

Introduction

The Odroid-C2 single board computer is not very well supported by Alpine/Linux. However the "Generic ARM (aarch64)" build contains almost everything we need !


What do we need ?

  • kernel : provided kernel by the Alpine team does not boot
  • u-boot : provided u-boot does not autoboot without serial
  • system files : everything is okay


On the hardware side:

  • Odroid-C2
  • Official PSU or just a micro-SD cable (notes : the barrel plug (inner(positive) diameter 0.8mm and outer(negative) diameter 2.5mm) is recommended, without the J1 jumper)
  • micro-SD (or eMMC)
  • USB to TTL (official or CP2102 chipset or an old rpi)


Toolchain

Using GNU/Linux is recommended and this guide and here are the required dependencies: Example on debian : apt install bc bison flex make gcc gcc-aarch64-linux-gnu libncurses-dev


Build u-boot from source

Work in progress


Build the latest LTS kernel from source

Work in progress


Assembly

Work in progress


Booting

Work in progress


Troubleshooting

Work in progress