Odroid-C2: Difference between revisions

From Alpine Linux
No edit summary
No edit summary
Line 16: Line 16:


On the hardware side:
On the hardware side:
* Odroid-C2
* [https://wiki.odroid.com/odroid-c2/odroid-c2 Odroid-C2]
* Official PSU or just a micro-SD cable (the barrel plug is recommended)
* 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)
* micro-SD (or eMMC)
* USB to TTL (official or CP2102 chipset or an old rpi)
* USB to TTL ([https://wiki.odroid.com/accessory/development/usb_uart_kit official] or [https://duckduckgo.com/?q=CP2102+ttl&t=h_&iax=images&ia=images 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==
==Build u-boot from source==
''Work in progress''
''Work in progress''


==Build the latest LTS kernel from source==
==Build the latest LTS kernel from source==
''Work in progress''
''Work in progress''


==Assembly==
==Assembly==
''Work in progress''
''Work in progress''


==Booting==
==Booting==
''Work in progress''
''Work in progress''


==Troubleshooting==
==Troubleshooting==
''Work in progress''
''Work in progress''

Revision as of 10:15, 19 March 2022

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