Jump to content

ODROID HC2 (odroid-hc2): Difference between revisions

From postmarketOS Wiki
No edit summary
Knuxify (talk | contribs)
suggest picking console as UI in pmbootstrap init
 
(30 intermediate revisions by 8 users not shown)
Line 6: Line 6:
| imagecaption = ODROID HC2
| imagecaption = ODROID HC2
| releaseyear = 2018
| releaseyear = 2018
| originalsoftware = Ubuntu 20.04 LTS
| category = testing
| originalsoftware = Ubuntu
| originalversion = 20.04 LTS
| chipset = Samsung Exynos 5422
| chipset = Samsung Exynos 5422
| cpu = 4x 1.9 GHz A15 & 4x 1.3 GHz A7
| cpu = 4x 1.9 GHz A15 & 4x 1.3 GHz A7
Line 14: Line 16:
| memory = 2GB LPDDR3
| memory = 2GB LPDDR3
| architecture = armv7
| architecture = armv7
| type = Single Board Computer
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| status_usbnet =  
| status_usbnet = -
| status_flashing = -
| status_flashing = -
| status_emmc = -
| status_sdcard = Y
| status_touch = -
| status_touch = -
| status_sata = Y
| status_screen = -
| status_screen = -
| status_wifi = -
| status_wifi = -
Line 24: Line 30:
| status_mainline = Y
| status_mainline = Y
| status_battery = -
| status_battery = -
| status_3d = Y
| status_3d = N
| status_accel = -
| status_accel = -
| status_audio = -
| status_audio = -
Line 36: Line 42:
| status_otg = -
| status_otg = -
| status_nfc = -
| status_nfc = -
| status_trustzone = no
| status_irtx = -
| status_fossbootloader = Y
| status_usba = Y
| status_ethernet = Y
| status_magnet = -
| status_accel = -
| status_proximity = -
| status_light = -
| status_haptics = -
| status_hall = -
| status_barometer = -
| status_keyboard = -
| status_touchpad = -
| status_hdmidp = -
| status_cameraflash = -
| status_uboot = yes
| status_uboot_primary = Y
| status_uboot_secondary = -
| status_uboot_mainline = Y
| status_uboot_internalstorage =
| status_uboot_sd = Y
| status_uboot_usbhost =
| status_uboot_usbperipheral =
| status_uboot_screen = 
| status_uboot_keyboard = 
| status_uboot_buttons = -
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->


<!-- you can also use these lines if you need to:
<!-- you can also use these lines if you need to:
if the device haven't originally ran Android OS, e.g. Nokia N900
if the device haven't originally ran Android OS, e.g. Nokia N900
| n-android =  ✔
Version of the kernel that pmos is running
Version of the kernel that pmos is running
| pmoskernel = 5.12.9
| pmoskernel = 5.12.9
Line 65: Line 97:
== Installation ==
== Installation ==


Use pmbootstrap to create a bootable SD card:
* Use [[pmbootstrap]] to create a bootable SD card: <syntaxhighlight lang="shell-session">
$ pmbootstrap init  # pick 'odroid' as manufacturer, 'hc2' as device and 'console' as UI.
$ pmbootstrap install --sdcard=/dev/sdX
</syntaxhighlight>
** Only the UI 'console' is supported by the ODROID HC2 as there's no HDMI or any other video port available on this device. With UI 'none' you won't have SSH access over Ethernet.
* Insert SD card into the Odroid HC2, plug in the Ethernet cable and turn it on.
* The Odroid HC2 should boot up and become accessible over SSH.
 
== v22.12 or later ==
 
postmarketOS v22.12 or later runs <code>linux-edge</code> from Alpine, we don't have any kernel fork anymore in pmaports.
 
== RootFS on external HDD ==
 
{{warning|1=This process is irreversible without reflashing postmarketOS on the microSD card, you have been warned.}}
 
After installing postmarketOS on your ODROID HC2, you may want to move the rootFS to the external HDD of the ODROID HC2.
A set of tools to accomplish this are provided in the <code>device-odroid-hc2-tools</code> package which can be used as followed with <code>root</code> permissions:


   pmbootstrap init # pick 'odroid' as manufacturer and 'hc2' as device
   apk add device-odroid-hc2-tools  # install tools
   pmbootstrap install --sdcard=/dev/sdX
   install-rootfs-hdd  # run script and answer 'y' and with the device node you want to have the rootFS on (/dev/sdX)
  reboot


== See also ==
== See also ==
* {{MR|2249|pmaports}} Initial merge request
* {{MR|2069|pmbootstrap}} Boot binary flashing support
<!--
<!--
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):

Latest revision as of 15:10, 23 March 2025

ODROID HC2
ODROID HC2
ODROID HC2
Manufacturer ODROID
Name HC2
Codename odroid-hc2
Released 2018
Type single board computer
Hardware
Chipset Samsung Exynos 5422
CPU 4x 1.9 GHz A15 & 4x 1.3 GHz A7
GPU Mali-T628
Display None
Storage external HDD or microSD
Memory 2GB LPDDR3
Architecture armv7
Software
Original software Ubuntu
Original version 20.04 LTS
FOSS bootloader yes
postmarketOS
Category testing
Pre-built images no
Mainline yes
Features
SD card
Works
Multimedia
3D Acceleration
Broken
Connectivity
Ethernet
Works
Miscellaneous
FDE
No data
USB-A
Works
SATA/eSATA
Works
U-Boot
Primary Bootloader
Works
Mainline
Works
Internal Storage
No data
SD card
Works
USB Host
No data
USB Peripheral
No data
Display
No data
Keyboard
No data


Contributors

Maintainer(s)

Users owning this device


Installation

  • Use pmbootstrap to create a bootable SD card:
    $ pmbootstrap init  # pick 'odroid' as manufacturer, 'hc2' as device and 'console' as UI.
    $ pmbootstrap install --sdcard=/dev/sdX
    
    • Only the UI 'console' is supported by the ODROID HC2 as there's no HDMI or any other video port available on this device. With UI 'none' you won't have SSH access over Ethernet.
  • Insert SD card into the Odroid HC2, plug in the Ethernet cable and turn it on.
  • The Odroid HC2 should boot up and become accessible over SSH.

v22.12 or later

postmarketOS v22.12 or later runs linux-edge from Alpine, we don't have any kernel fork anymore in pmaports.

RootFS on external HDD

Warning WARNING: This process is irreversible without reflashing postmarketOS on the microSD card, you have been warned.

After installing postmarketOS on your ODROID HC2, you may want to move the rootFS to the external HDD of the ODROID HC2. A set of tools to accomplish this are provided in the device-odroid-hc2-tools package which can be used as followed with root permissions:

 apk add device-odroid-hc2-tools  # install tools
 install-rootfs-hdd  # run script and answer 'y' and with the device node you want to have the rootFS on (/dev/sdX)
 reboot

See also