Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.10.y / 5.17.y

RussianNeuroMancer
Posts: 67
Joined: Sat Mar 30, 2019 1:43 pm
languages_spoken: english
Has thanked: 2 times
Been thanked: 3 times
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.9.y

Post by RussianNeuroMancer »

Using his .config didn't help, so it's seems like I should try either vendor uboot (because this is what tobetter use in his image, where pinky grey workaround works) or chewitt amlogic-2021.01 branch.

igorpec
Posts: 1048
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, HC4, C4, C2, C1+
Has thanked: 67 times
Been thanked: 157 times
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.9.y

Post by igorpec »

Added support for ZFS 2.x
https://twitter.com/armbian/status/1350883539584217093

Code: Select all

apt update
apt upgrade
What that brings (besides its needed for upcoming K5.10.y upgrade)
https://arstechnica.com/gadgets/2020/12 ... -features/
ARMBIAN
Linux for ARM development boards
What is Armbian?

gom
Posts: 38
Joined: Tue Apr 03, 2018 8:43 pm
languages_spoken: english
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.9.y

Post by gom »

Linux odroidhc4 5.9.14-meson64 #20.11.3 SMP PREEMPT Fri Dec 11 21:02:17 CET 2020 aarch64 GNU/Linux

how is the fan controlled

igorpec
Posts: 1048
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, HC4, C4, C2, C1+
Has thanked: 67 times
Been thanked: 157 times
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.9.y

Post by igorpec »

gom wrote:
Mon Jan 18, 2021 4:28 am
Linux odroidhc4 5.9.14-meson64 #20.11.3 SMP PREEMPT Fri Dec 11 21:02:17 CET 2020 aarch64 GNU/Linux

how is the fan controlled
This question was already asked. So you didn't read this topic at all?

We don't know yet, but we are working on it: https://github.com/armbian/build/pull/2552
ARMBIAN
Linux for ARM development boards
What is Armbian?

igorpec
Posts: 1048
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, HC4, C4, C2, C1+
Has thanked: 67 times
Been thanked: 157 times
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.10.y

Post by igorpec »

Major upgrade to 21.02.y
https://docs.armbian.com/Release_Change ... 2021-02-03

Many new clean desktop daily builds for testing:
https://www.armbian.com/odroid-c4/

Focal budgie desktop
Focal cinnamon desktop
Focal gnome desktop
Focal mate desktop
Focal xfce desktop
Hirsute CLI (upcoming Ubuntu 21.04)

All are coming with mainline u-boot and latest 5.10.y kernel.
These users thanked the author igorpec for the post:
Cobble123 (Tue Feb 16, 2021 6:56 pm)
ARMBIAN
Linux for ARM development boards
What is Armbian?

legogris
Posts: 9
Joined: Fri Jan 31, 2020 12:05 pm
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.10.y

Post by legogris »

Has anyone attempted to to encrypted root filesystem (cryptroot) for armbian on the HC4?

I'm able to do build image with cryptroot for C4, and without cryptroot for HC4.

Trying to do cryptroot on HC4, the boot process hangs at "Starting kernel..."

GH issue with details: https://github.com/armbian/build/issues/2649

igorpec
Posts: 1048
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, HC4, C4, C2, C1+
Has thanked: 67 times
Been thanked: 157 times
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.10.y

Post by igorpec »

v21.02.3 (2021-03-09)

- All kernels received upstream updates
- All images has been rebuilt
- Fixed reboot troubles on meson64 family (Odroid N2, C2, H4, HC4)
- ZSH upgrade fixed

https://www.armbian.com/download/?tx_maker=hardkernel
These users thanked the author igorpec for the post:
Cobble123 (Wed Mar 10, 2021 8:05 am)
ARMBIAN
Linux for ARM development boards
What is Armbian?

Seb_Lz
Posts: 7
Joined: Thu May 14, 2020 7:54 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.10.y

Post by Seb_Lz »

Is it mandatory to have an eMMC module if we want armbian system on an external usb ssd ? I've just tried the latest image on SD card but system won't boot after running nand-sata-install.
The steps I've done:
-Start system from sd card flashed with balenaEtcher
-run apt update & apt upgrade
-start nand-sata-install and update uboot then choose ext4 partition on my ssd to move system data to
-reboot (as prompted) after transfer completed successfully

igorpec
Posts: 1048
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, HC4, C4, C2, C1+
Has thanked: 67 times
Been thanked: 157 times
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.10.y

Post by igorpec »

Seb_Lz wrote:
Sat Mar 27, 2021 6:40 pm
Is it mandatory to have an eMMC module if we want armbian system on an external usb ssd ? I've just tried the latest image on SD card but system won't boot after running nand-sata-install.
The steps I've done:
-Start system from sd card flashed with balenaEtcher
-run apt update & apt upgrade
-start nand-sata-install and update uboot then choose ext4 partition on my ssd to move system data to
-reboot (as prompted) after transfer completed successfully
Can you try to power cycle? dl;dr; There used to be a bug that caused board to hang at boot loader. It was fixed, but now fix that was sent upstream broke this again ...
ARMBIAN
Linux for ARM development boards
What is Armbian?

Seb_Lz
Posts: 7
Joined: Thu May 14, 2020 7:54 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.10.y

Post by Seb_Lz »

Do you mean pull power cable off, then plug it in ? If so, I've done it and unfortunately the result is the same. The odroid starts, the red led is on and the blue one blinks. The led of SSD case remains solid blue.
Not sure if this info is of any value, but this combination (sd card boot + system on on ssd) worked with HassOS & stock image on same hardware.
Last edited by Seb_Lz on Sun Mar 28, 2021 7:49 am, edited 1 time in total.

Seb_Lz
Posts: 7
Joined: Thu May 14, 2020 7:54 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.10.y

Post by Seb_Lz »

I've just made another attempt with n-1 version (Armbian_21.02.1_Odroidc4_focal_current_5.10.12.img), same procedure but without apt upgrade, and got the same result.

Mull
Posts: 2
Joined: Thu Jun 24, 2021 5:59 am
languages_spoken: english
ODROIDs: C4
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.10.y

Post by Mull »

Apologies, not Focal but Buster 5.10.y question....

I feel like I am going around in circles, how would I get HDMI-CEC working? It is my last thing I need to enable and my little C4 is golden.

igorpec
Posts: 1048
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, HC4, C4, C2, C1+
Has thanked: 67 times
Been thanked: 157 times
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.10.y

Post by igorpec »

Mull wrote:
Thu Jun 24, 2021 6:08 am
Apologies, not Focal but Buster 5.10.y question....

I feel like I am going around in circles, how would I get HDMI-CEC working? It is my last thing I need to enable and my little C4 is golden.
No idea if that hw feature was ever ported to modern kernels. For Armbian HDMI-CEC feature is exotics - check Libreelec for best multimedia support ...

In general, if feature is not developed on / ported to modern Linux, but you like to have it, answer is identical as this one:
https://forum.armbian.com/topic/15654-u ... nanopc-t4/
ARMBIAN
Linux for ARM development boards
What is Armbian?

Mull
Posts: 2
Joined: Thu Jun 24, 2021 5:59 am
languages_spoken: english
ODROIDs: C4
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Groovy 5.10.y

Post by Mull »

Thank you Igor, you have answered my question perfectly - I was not blindly missing something, it just isn't there.

All the best.

chewitt
Posts: 179
Joined: Mon Aug 12, 2019 12:27 pm
languages_spoken: english
Has thanked: 3 times
Been thanked: 132 times
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Hirsute 5.10.y / 5.12.y

Post by chewitt »

It's something I never test, but CEC should work in modern kernels.

Sebas_Ledesma
Posts: 258
Joined: Thu Jun 08, 2017 2:49 am
languages_spoken: english
ODROIDs: C4, C2, C1+
Has thanked: 50 times
Been thanked: 24 times
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Hirsute 5.10.y / 5.12.y

Post by Sebas_Ledesma »

Hi:

I'm evaluating ARMBian as alternative for Hardkernel UBUNTU.
I've downloaded the minimal distro and flashed an eMMC memory.

uname -a returns:
Linux odroidc4 5.14.11-meson64 #trunk.29 SMP PREEMPT Sat Oct 9 18:51:11 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Just a question:
- How to install odroid-wiringpi package?
I've tried adding hardkernel repository
sudo add-apt-repository ppa:hardkernel/ppa
but the package it's not listed for download.

Thanks in advance,
Sebas

igorpec
Posts: 1048
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, HC4, C4, C2, C1+
Has thanked: 67 times
Been thanked: 157 times
Contact:

Re: Armbian for Odroid C4/HC4 - Focal & Hirsute 5.10.y / 5.12.y

Post by igorpec »

Sebas_Ledesma wrote:
Fri Oct 15, 2021 7:13 am
Hi:

I'm evaluating ARMBian as alternative for Hardkernel UBUNTU.
I've downloaded the minimal distro and flashed an eMMC memory.

uname -a returns:
Linux odroidc4 5.14.11-meson64 #trunk.29 SMP PREEMPT Sat Oct 9 18:51:11 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Just a question:
- How to install odroid-wiringpi package?
I've tried adding hardkernel repository
sudo add-apt-repository ppa:hardkernel/ppa
but the package it's not listed for download.

Thanks in advance,
Sebas
Armbian comes with a stock (4.9.y) or mainline kernel (CURRENT LTS and daily EDGE which you choose and which is not recommended to use, since its fragile and support very expensive and we have no interest or budget to cover). If you want to use modern kernel, deprecated (support also abandoned by its original authors many years ago) Hardkernel proprietary IO libraries will almost certainly not work. You need to look for universal ones:

https://forum.armbian.com/topic/6523-us ... nterfaces/
https://forum.armbian.com/topic/5655-ar ... i-proposal
https://www.kernel.org/doc/html/v4.19/d ... index.html
These users thanked the author igorpec for the post:
Sebas_Ledesma (Fri Oct 15, 2021 10:19 pm)
ARMBIAN
Linux for ARM development boards
What is Armbian?

igorpec
Posts: 1048
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, HC4, C4, C2, C1+
Has thanked: 67 times
Been thanked: 157 times
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.10.y / 5.17.y

Post by igorpec »

Release documentation
banner2205.png
banner2205.png (31.63 KiB) Viewed 276 times
ARMBIAN
Linux for ARM development boards
What is Armbian?

Danielsan
Posts: 78
Joined: Thu Dec 27, 2018 5:52 am
languages_spoken: english
ODROIDs: Odroid-XU4 | Odroid-HC4
Has thanked: 24 times
Been thanked: 3 times
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.10.y / 5.17.y

Post by Danielsan »

Hi guys,

I've just installed Armbian CLI 22.04 on HC4, which at least works, but I found a couple of issues:
  • Does not recognize /dev/mt* therefore you must start Petiteboot and delete the SPI Flash memory manually.
  • Does not reboot but it shutdowns instead, which is not nice.
The first point is easy to solve, the second it is not, and I do not have clue. The only hint I have is that I installed the code to make the lcd working, and since it downloaded a lot of stuff, might that compromised anything?

I think I am going to reflash 22.04 check if everything works before to install anything, and for the the mini lcd I am going to use this other program which is a static go binary with not dependencies:

https://github.com/ChandlerSwift/odroidhc4-display

Thanks,
D.

Danielsan
Posts: 78
Joined: Thu Dec 27, 2018 5:52 am
languages_spoken: english
ODROIDs: Odroid-XU4 | Odroid-HC4
Has thanked: 24 times
Been thanked: 3 times
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.10.y / 5.17.y

Post by Danielsan »

I reinstalled it again but I confirm that the OS does not reboot...

Armbian 22.05.1 Bullseye with Linux 5.10.110-meson64

TheLillo
Posts: 3
Joined: Wed Jun 15, 2022 12:37 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.10.y / 5.17.y

Post by TheLillo »

We have developed a script to create an SD image for Odroid HC4. With this method you can use Armbian without erase Petitboot partition.

https://github.com/TheLillo/generate-image-hc4-armbian

Hope will be usefull for someone :)

User avatar
rooted
Posts: 9499
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 761 times
Been thanked: 486 times
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.10.y / 5.17.y

Post by rooted »

TheLillo wrote:We have developed a script to create an SD image for Odroid HC4. With this method you can use Armbian without erase Petitboot partition.

https://github.com/TheLillo/generate-image-hc4-armbian

Hope will be usefull for someone :)
Which bootloader are you injecting? Hardkernels I'm assuming?

TheLillo
Posts: 3
Joined: Wed Jun 15, 2022 12:37 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.10.y / 5.17.y

Post by TheLillo »

rooted wrote:
Thu Jun 16, 2022 3:28 pm
TheLillo wrote:We have developed a script to create an SD image for Odroid HC4. With this method you can use Armbian without erase Petitboot partition.

https://github.com/TheLillo/generate-image-hc4-armbian

Hope will be usefull for someone :)
Which bootloader are you injecting? Hardkernels I'm assuming?
Actually we get from hardkernel official image the config.ini. We configure Petitboot with boot.ini to load Armbian kernel and dtb, obviously SATA controller works :)
Last edited by TheLillo on Sun Jun 19, 2022 8:45 pm, edited 1 time in total.

User avatar
rooted
Posts: 9499
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 761 times
Been thanked: 486 times
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.10.y / 5.17.y

Post by rooted »

TheLillo wrote:
rooted wrote:
Thu Jun 16, 2022 3:28 pm
TheLillo wrote:We have developed a script to create an SD image for Odroid HC4. With this method you can use Armbian without erase Petitboot partition.

https://github.com/TheLillo/generate-image-hc4-armbian

Hope will be usefull for someone :)
Which bootloader are you injecting? Hardkernels I'm assuming?
Actually we get from hardkernel official image the spiboot.img and config.ini. We configure Petitboot with boot.ini to load Armbian kernel and dtb, obviously SATA controller works :)
Awesome, this should be helpful to plenty running Armbian and want Petitboot functionality.

TheLillo
Posts: 3
Joined: Wed Jun 15, 2022 12:37 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.10.y / 5.17.y

Post by TheLillo »

rooted wrote:
Fri Jun 17, 2022 10:11 am
TheLillo wrote:
rooted wrote:
Thu Jun 16, 2022 3:28 pm
TheLillo wrote:We have developed a script to create an SD image for Odroid HC4. With this method you can use Armbian without erase Petitboot partition.

https://github.com/TheLillo/generate-image-hc4-armbian

Hope will be usefull for someone :)
Which bootloader are you injecting? Hardkernels I'm assuming?
Actually we get from hardkernel official image the config.ini. We configure Petitboot with boot.ini to load Armbian kernel and dtb, obviously SATA controller works :)
Awesome, this should be helpful to plenty running Armbian and want Petitboot functionality.
We make some experiment and now we know that the spiboot.img was useless. So we take only config.ini from the official hardkernel image.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 3 guests