Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.19.y / 6.1.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: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 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/

gom
Posts: 39
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: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 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

igorpec
Posts: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 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)

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: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 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)

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: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 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 ...

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: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 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/

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: 201
Joined: Mon Aug 12, 2019 12:27 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 138 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: 267
Joined: Thu Jun 08, 2017 2:49 am
languages_spoken: english
ODROIDs: C4, C2, C1+
Has thanked: 52 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: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 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)

igorpec
Posts: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 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 2422 times

Danielsan
Posts: 101
Joined: Thu Dec 27, 2018 5:52 am
languages_spoken: english
ODROIDs: Odroid-XU4 | Odroid-HC4
Has thanked: 34 times
Been thanked: 6 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: 101
Joined: Thu Dec 27, 2018 5:52 am
languages_spoken: english
ODROIDs: Odroid-XU4 | Odroid-HC4
Has thanked: 34 times
Been thanked: 6 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: 10037
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 788 times
Been thanked: 587 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: 10037
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 788 times
Been thanked: 587 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.

Sakura
Posts: 13
Joined: Fri Jun 10, 2022 10:23 pm
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

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

Post by Sakura »

does armbian support WoL and hardware video decoding?

igorpec
Posts: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 times
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.19.y / 6.0.y

Post by igorpec »

- stable images were update to kernel 5.19.y
- headers are pre-installed on CLI and (XFCE, Gnome, Cinnamon) desktop images
- added stripped down minimal CLI images
- kernel upgrade is frozen by default to maximise stability (upgrade via armbian-config)
- ZFS compilation works on Debian and Ubuntu
- wireless drivers that can work with Linux, works here
- Added rolling Debian Sid and Ubuntu Kinetic with kernel 6.0.y
...

Image
These users thanked the author igorpec for the post (total 2):
anatife (Tue Nov 29, 2022 3:54 pm) • Cobble123 (Tue Nov 29, 2022 7:05 pm)

anatife
Posts: 24
Joined: Wed May 14, 2014 10:52 am
languages_spoken: english french spanish c c++ java perl python
ODROIDs: C4 (in a recycled food container) as desktop, Armbian Bullseye
U3 (in a recycled food container) as version-control server, Meveric Bullseye
C1 (in a genuine case) as Wiki server, Ubuntu 18.04 LTS
Has thanked: 15 times
Been thanked: 1 time
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.19.y / 6.0.y

Post by anatife »

2022-11-28 _ My Odroid C4 was delivered last week. ^_^ Writing this to say hello from Armbian Bullseye with Xorg, XDM, and Openbox.

Thanks for your hard work!
These users thanked the author anatife for the post:
igorpec (Tue Nov 29, 2022 6:13 pm)

igorpec
Posts: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 times
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.19.y / 6.0.y

Post by igorpec »

These users thanked the author igorpec for the post:
Cobble123 (Mon Dec 12, 2022 7:59 pm)

igorpec
Posts: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 times
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.19.y / 6.1.y

Post by igorpec »

Nightly and weekly community builds were bumped to 6.1.y
https://github.com/armbian/community

Mercury
Posts: 16
Joined: Sat Dec 19, 2020 6:13 pm
languages_spoken: english
ODROIDs: HC4
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.19.y / 6.1.y

Post by Mercury »

A bit of a noob question but If I want to access another OS via petitboot, can I?...

1. Remove the current armbian SD card and restore petitboot spi
2. Test a new OS on a new SD card
3. Once finished, remove that card and erase petitboot
4. Reinsert the original armbian SD card and boot as before (including OMV)

I'm thinking yes as I assume that armbain does use the spi for anything?

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

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.19.y / 6.1.y

Post by rooted »

Yes
These users thanked the author rooted for the post:
Mercury (Tue Feb 07, 2023 8:41 pm)

igorpec
Posts: 1106
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 73 times
Been thanked: 168 times
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.19.y / 6.1.y

Post by igorpec »

In order to provide best possible support status, please help us with testings Armbian 23.02 (Quoll)
https://forum.armbian.com/topic/26661-a ... -testings/

buggy
Posts: 1
Joined: Sat Mar 11, 2023 6:10 am
languages_spoken: english
ODROIDs: C4 HC1
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.19.y / 6.1.y

Post by buggy »

Hi guys, I had issues with audio - only dummy interface shown - after the system update of ~year old armbian. Did not find a solution, so I decided to go for latest build - so I flashed latest image Armbian 23.02 Jammy XFCE to the emmc drive of my odroid C4. System started ok, but unfortunately no HDMI audio device shown. Have no idea what to do, my dmesq is full of these lines:

Code: Select all

[   13.936415]  fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[   13.937748]  fe.dai-link-0: ASoC: error at dpcm_fe_dai_prepare on fe.dai-link-0: -22
...
[  935.795034]  fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[  935.801472]  fe.dai-link-0: ASoC: error at dpcm_fe_dai_prepare on fe.dai-link-0: -22
I somehow feel it is connected - there are some similar issues reported on various distros.
Only solution, which seems to me would work, was reinstall odroid-base and odroid-alsa packages, however these are not in the armbian repositories.
Would you please help?

yikestone
Posts: 1
Joined: Tue Mar 14, 2023 10:36 pm
languages_spoken: english
ODROIDs: XU-4, HC-4, N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: Armbian for Odroid C4/HC4 - Jammy & Bullseye 5.19.y / 6.1.y

Post by yikestone »

Hi,

I am running "Armbian 23.02.2 Bullseye with Linux 6.1.11-meson64" on an HC4. I am using this for NAS and 98% of the time it is in idle condition.

I want to minimize power consumption and CPU temp, currently running at 52°C with ambient temp 25°C.

The minimum default cpu frequency is 1GHz. And I am not able to change it to anything lower than that. I have tried setting it by cpufrequtils and manually by setting it in "/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq" file.

Is the minimum cpu freq hard coded in kernel code?
Can it be set using some commandline args passed to kernel when booting?
Is there any other way to set it apart from compiling kernel?

Thanks and Regards.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest