Armbian for C1/C0 with 5.8.y

Post Reply
igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Armbian for C1/C0 with 5.8.y

Post by igorpec »

[ minimal server with powerful config and installer ]

Image

[ with or without minimal XFCE based desktop ][ with Chromium ]

Image

Download

[ Configuration ]

Code: Select all

armbian-config
- wireless network connect,
- AP (hotspot) in bridged or NAT mode,
- freeze and unfreeze kernel and BSP upgrades,
- edit boot environment, network, FEX, welcome screen items,
- switching between avaliable kernels and nightly builds,
- enabling read only root filesystem (Ubuntu only),
- set display resolution (H3 boards with legacy kernel),

[ Installation ]

Code: Select all

softy
- TV headend (IPTV server)
- Syncthing (personal cloud)
- SoftEther VPN server (VPN server)
- Transmission (torrent server)
- ISPConfig (WEB & MAIL server)
- Openmediavault NAS (NAS server)
- PI hole (ad blocker)
- MiniDLNA (media sharing)

[ Built with ]

https://github.com/armbian/build (Odroid C1)

[ More info ]

https://www.armbian.com/odroid-c1

[ Support ]

https://forum.armbian.com/index.php?/forum/16-amlogic

[ Follow us on Twitter ]

https://twitter.com/armbian
Last edited by igorpec on Wed Sep 02, 2020 12:42 am, edited 12 times in total.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: [OS] Armbian Ubuntu Xenial for C1/C0 with 3.10.x

Post by igorpec »

v5.30 / 14.06.2017

- mainline kernel updated to 4.11
- mainline u-boot updated to v2017.05
- Firefox was replaced with Chromium (desktop images)
- sunxi mainline configuration: added Device Tree overlays support (new images only)
- sunxi mainline configuration: added armbian-add-overlay helper for compiling and activating DT overlays (new images only)
- log2ram: fixed saving /var/log contents on shutdown
- new hardware support (stable/supported images): Xunlong Orange Pi Zero Plus 2 (H3), ASUS TinkerBoard, MiQi
- reworked package updates MOTD script to speed up the login process
- added config file /etc/default/armbian-motd for disabling MOTD components
- added armbian-config dialog-based configuration program (WIP)
- Banana Pi M2: fixed HDMI video output
- Clearfog: adjusted temperature readout
- i.MX6 mainline: enabled support for HDMI audio and PCIe bus
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: [OS] Armbian Ubuntu Xenial for C1/C0 with 3.10.107

Post by igorpec »

C1 kernel update to 3.10.107

a) Change to beta repository and issue update / upgrade

or

b) Download and install kernel those two packages:

https://beta.armbian.com/pool/main/l/li ... _armhf.deb
https://beta.armbian.com/pool/main/l/li ... _armhf.deb
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

User avatar
bcclsn
Posts: 116
Joined: Thu Mar 05, 2015 12:04 am
languages_spoken: italian
ODROIDs: Odroid C1
Location: avellino, Italy
Has thanked: 6 times
Been thanked: 0
Contact:

Re: [OS] Armbian Ubuntu Xenial Docker for C1/C0 with 3.10.10

Post by bcclsn »

hi,

is there kodi 17 in the repo?

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: [OS] Armbian Ubuntu Xenial Docker for C1/C0 with 3.10.10

Post by igorpec »

bcclsn wrote:hi,

is there kodi 17 in the repo?
No, we don't deal with KODI.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

User avatar
bcclsn
Posts: 116
Joined: Thu Mar 05, 2015 12:04 am
languages_spoken: italian
ODROIDs: Odroid C1
Location: avellino, Italy
Has thanked: 6 times
Been thanked: 0
Contact:

Re: [OS] Armbian Ubuntu Xenial Docker for C1/C0 with 3.10.10

Post by bcclsn »

igorpec wrote:
bcclsn wrote:hi,

is there kodi 17 in the repo?
No, we don't deal with KODI.
:(

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: [OS] Armbian for C1/C0 with 3.10.y and 4.17.y

Post by igorpec »

- added Stretch and Bionic for Odroid C1 with 4.17.12:

Boot log: http://ix.io/1j5d

Issues:
- serial console only
- no DVFS, fixed CPU frequency
- no USB hotplugging, power the board with USB device is needed
- eMMC not supported
- reboot doesn't bring up the board, you need to power cycle.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: [OS] Armbian for C1/C0 with 3.10.y and 4.18.y

Post by igorpec »

Updated to 4.18.y
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: [OS] Armbian for C1/C0 with 3.10.y and 4.18.y

Post by igorpec »

Update: https://docs.armbian.com/Release_Changelog/

apt update & apt upgrade
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

ujsrwidc
Posts: 37
Joined: Sat Nov 03, 2018 9:00 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by ujsrwidc »

What is the reason for having a serial output only on Odroid C0/C1/C1+ 4.18 image but having a graphical output on Odroid C2 4.18 image? Both have the Mali 450 graphics chipset and there is the Lima Mali 400/450 driver available.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by igorpec »

ujsrwidc wrote:What is the reason for having a serial output only on Odroid C0/C1/C1+ 4.18 image but having a graphical output on Odroid C2 4.18 image? Both have the Mali 450 graphics chipset and there is the Lima Mali 400/450 driver available.
Because there is no support for HDMI output in modern kernel. Not developed.

MALI is 3D engine and not "GPU".
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

ujsrwidc
Posts: 37
Joined: Sat Nov 03, 2018 9:00 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by ujsrwidc »

HDMI output support have to be added to the mainline support for the Amlogic S805 chipset?
With other words: The HDMI output support is been added to the S905 mainline kernel but until now not for the S805?

This is what is needed for the S805 but recently only available for the S905, S905X, S905D and S912? https://git.kernel.org/pub/scm/linux/ke ... 837da09ddd

Sadly the 3.10 kernel is outdated and dont get security updates backported since a year because support for the kernel 3.10 is stopped ( viewtopic.php?f=111&t=19292#p237188 ). There is now no kernel existing that can be run secure when connected to the internet to provide graphics output. I think most people know how security-broken devices get when they dont get security updates for a year.

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by OverSun »

So what's the latest kernel issue you can exploit through the internet?

ujsrwidc
Posts: 37
Joined: Sat Nov 03, 2018 9:00 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by ujsrwidc »

There is not one. There are over 50 known issues listed here: https://www.cvedetails.com/vulnerabilit ... 0.102.html

For example CVE-2018-14619 . When you have a service running on your device(this is something you want to do when you connect it to the internet), CVE-2018-14619 can be used to crash the system over the internet or gain root access to the system.

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by OverSun »

The issue you linked is "leading to a local user being able to crash the system or possibly escalate privileges".
There are very few, if not none possibilities to access and exploit system kernel remotely if the system is properly configured and maintained.

ujsrwidc
Posts: 37
Joined: Sat Nov 03, 2018 9:00 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by ujsrwidc »

The service connecting with the internet is running localy with normal user rights (if thats not being configured wrong and running as root). You use that part for the attack. You have checked all other CVEs? Could you provide me this list where you go in detail and explain every single issue and why this does not affect the system security?
And what about the issues that are now in this moment in the disclosure program and get fixed silent upstream before the security issue is released to the public (example: https://www.eff.org/security )? Are you doing from now on for every single outdated system a professional analysis if this non-released issue affects their usecase or not?

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by igorpec »

ujsrwidc wrote:This is what is needed for the S805 but recently only available for the S905, S905X, S905D and S912?
Yes, similar.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by OverSun »

can you provide me security analysis that prove latest kernel has no flaws? that’s the same level of demands. no product is flawless, and it is always a trade off between what can be provided and how much effort is needed to make it better.
you know, once i worked in a company where were five managers per three engineers. most of the time work there was looking like endless schedule of meetings where different set of managers was trying to find who is going to do task they have. what you are trying to perform look very much same for me. going different topics with „i have a task, could you give me an answer how it can be done?“ kind of posts. with the same effort you can already find out everything you need.
no, s805 devices are not going to have latest kernel support, there is no reason to put so much effort in it. but yes, for the task of running a video stream being publically accessible current state they are can be considered fine if configured and maintained properly.

ujsrwidc
Posts: 37
Joined: Sat Nov 03, 2018 9:00 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by ujsrwidc »

The Endless Mini board support ( https://endlessos.com/computers/ ) is been added recently to the mainline kernel. Its also Amlogic S805 based. Does it mean that this device have also no HDMI output at the moment when using mainline kernel?

Linus Torvalds writes " On the 32-bit side, we gain support for an actual end-user product, the Endless Computers Endless Mini based on Meson8b (S805), see https://endlessos.com/computers/ " here: https://git.kernel.org/pub/scm/linux/ke ... c0fd2bc1b0

Support for the endless mini is been added here: https://git.kernel.org/pub/scm/linux/ke ... 2f04fc10d0

EDIT:
Here is the answer from Martin Blumenstingl from 04.11.2018 about if HDMI can work on recent kernel in near future with the S805 chipset:

>unfortunately HDMI is not supported on the 32-bit SoCs
>it's not clear which HDMI controller IP Amlogic used on these SoCs
>(the 64-bit ones use a customized Synopsys DesignWare HDMI
>transmitter, but the register definitions for the old SoCs are a lot
>different)
>
>the whole display subsystem is very complex and adding support for the
>older SoCs is a lot of work (even for CVBS output, HDMI is a lot more
>work on top of that)

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 4.18.y

Post by OverSun »

ujsrwidc wrote:The service connecting with the internet is running localy with normal user rights (if thats not being configured wrong and running as root). You use that part for the attack.
you understanding of "local user being able to crash" is wrong.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.0.y

Post by igorpec »

New images with kernel updated to 5.0.12

Improved networking, reboot works now, but still no dvfs, no hdmi, ...
These users thanked the author igorpec for the post:
joerg (Mon Jun 24, 2019 1:18 am)
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by igorpec »

ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Nuems
Posts: 171
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1, n2
Has thanked: 2 times
Been thanked: 15 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by Nuems »

I think I've found two problems with the kernel source package for this image:
*Downloading the kernel source with armbian-config results in /usr/src/linux-source-5.1.8-odroidc1
and

Code: Select all

root@odroidc1:/usr/src/linux-source-5.1.8-odroidc1/scripts/mod# file modpost
modpost: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=8fedeeff12e3b829ac5a654f369597e5d1b057f7, not stripped
- not very helpful on the C1.

I came across these issues when I tried to install wireguard from debian unstable (following instructions from an article published in c't magazin (German) in issue 15/2019). Additionally, the build process for the wireguard kernel module looks for modpost in the headers folder while the binary (as opposed to modpost.h) lives in the source folder but I don't know whether this is a shortcoming of wireguard or armbian's header package for the C1.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by igorpec »

This kernel is provided in as - is fashion, headers could be broken.

In general we add Wireguard module in the compilation process. You can build a kernel package on your own if you need that feature https://github.com/armbian/build
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Nuems
Posts: 171
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1, n2
Has thanked: 2 times
Been thanked: 15 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by Nuems »

Ok, my bad - the changelog mentions that wireguard is included. I just didn't expect an out-of-tree kernel module in an image that is notable for its mainline kernel.
This kernel is provided in as - is fashion, headers could be broken.
This statement (in conjunction with the link to the official build process which comes down to setting up a VM on x86-64 and setting aside 25GB) makes me very sceptical about the usabilty of armbian as a development platform. All I wanted to do was to compile a single out-of-tree kernel module using the dkms mechanism. The kind of overhead you're suggesting beats everything I've ever encountered - Windows world included :?. Shipping an x86-64 executable as part of a package for armhf is quite simply a major flaw. You should at least make sure that this error isn't repeated in the next release.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by igorpec »

> You should at least make sure that this error isn't repeated in the next release.

There are "1.000" more important tasks for the project and we are low on resources. Not possible. Perhaps once next year, later or never. C1 is end of life from our perspective, we will not invest much more in it and Hardkernel folks is just fine with their 3.10.y kernel ... where such features are not near functional. You can fix those issues if you want. Sources are available - start digging. https://www.armbian.com/get-involved

Project is also financed in 99% from our own pockets. Remember that when your wish is bending towards demand. Sometimes even a "simple" things like DKMS, which was broken on prime distributions for a long time ... and you expect this to be fixed by a few people that makes board support, which nobody else care about, as good as possible?

> an image that is notable for its mainline kernel.

Generally speaking. Mainline kernel is still in a bad shape in ARM world and that's why its a lot of work. We do add patches to fix this and that, a features such as WG are added, but everything we can not fix.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by igorpec »

Most likely packaging patch, which fix/adjust those things
https://github.com/armbian/build/blob/m ... next.patch
needs to be updated from the one we already fix ...
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

alpe
Posts: 116
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1, N2 4GB
Location: Rio de Janeiro, Brazil
Has thanked: 35 times
Been thanked: 9 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by alpe »

I'm using 5.2.2 for about a week and I'm very satisfied.
There's just one minor thing that I would like to get working, and it is the temperature reading. Anyone has some tips?
I think it's not going to be just a simple change on linux-odroidc1-next.config. :/

Nuems
Posts: 171
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1, n2
Has thanked: 2 times
Been thanked: 15 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by Nuems »

@igorpec
Thanks for continuing to look into these things. I managed to get wireguard up and running stable (just as some other services), however, atm my C1 can't replace the RPi3 running these services yet because of the well known USB hotplugging issue (explicitly not Armbian's fault): One of the services I need is CUPS for a USB printer which enters standby and then off after a while. I could configure the printer to be always on, however, as I'm not printing much, this would be totally ineffiecient.
There's one thing I'd like to suggest: Apparently, the MAC address changes on reboot (which is a bit annoying when using ssh). @aplu has fixed that for his kernel. The fix comes down to a line in boot.ini and another one in /etc/network/interfaces. Creating a patch for these two files wouldn't be rocket science, however, as Armbian appears to use NetworkManager, I guess that would have further implications. So for anyone trying to get rid of changing MAC addresses (and hence DHCP assigning new IP addresses on each boot), these are the changes @aplu made:

In /boot/boot.ini, add a line like this:

Code: Select all

# Set MAC addr:
setenv ethaddr "00:11:22:33:44:55"
In /etc/network/interfaces , configure eth0 in this fashion:

Code: Select all

iface eth0 inet dhcp
  hwaddress ether 00:11:22:33:44:55
@aplu also adds another line in /etc/network/interfaces because he encountered problems with gigabit networking, however, as that worked fine for me, I left it out.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by igorpec »

This should fix MAC address, but I am unable to test on hardware:
https://github.com/armbian/build/commit ... 1dc2394ff3

Also I don't recall issues with network getting to gigabit.

> temperature reading

According to http://linux-meson.com/doku.php its supported ... perhaps some mix in the device tree, wrong user space location or just missing support in kernel configuration?

Perhaps this will help:
https://github.com/armbian/build/commit ... 2a7dec73d2
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

alpe
Posts: 116
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1, N2 4GB
Location: Rio de Janeiro, Brazil
Has thanked: 35 times
Been thanked: 9 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by alpe »

igorpec wrote:
Thu Jul 25, 2019 11:42 pm
> temperature reading

According to http://linux-meson.com/doku.php its supported ... perhaps some mix in the device tree, wrong user space location or just missing support in kernel configuration?

Perhaps this will help:
https://github.com/armbian/build/commit ... 2a7dec73d2
Thanks, but just tested and no thermal in /sys/devices/virtual/ or /sys/class/. Maybe somewhere else?

lm-sensors also fail.

Code: Select all

$ sudo sensors-detect
# sensors-detect revision 6284 (2015-05-31 14:00:33 +0200)
# Kernel: 5.2.2-odroidc1 armv7l
# Processor: ARMv7 Processor rev 1 (v7l) (//)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
modprobe: FATAL: Module cpuid not found in directory /lib/modules/5.2.2-odroidc1
Failed to load module cpuid.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             No
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no):
Sorry, no supported PCI bus adapters found.

Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 3.10.y and 5.1.y

Post by igorpec »

lm-sensors are not that smart ... they just check userland locations and perhaps know how to handle stuff in x86 world. Here, they can't do much.

Well, then we would need to ask @superna9999 if he have some clue about.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by igorpec »

Updated images, boot log http://ix.io/2kqB

Buster or Focal minimal. https://www.armbian.com/odroid-c1/
These users thanked the author igorpec for the post (total 3):
joerg (Sat May 02, 2020 9:48 pm) • alpe (Sat May 02, 2020 10:36 pm) • odroid (Wed May 06, 2020 3:50 pm)
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by igorpec »

Yet another improvement / bugfix.
https://github.com/armbian/build/commit ... 0c07103056


K5.4.36
Images were also rebuild.
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

nef
Posts: 4
Joined: Wed May 13, 2020 6:43 am
languages_spoken: english
ODROIDs: C1+
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by nef »

Hi!
I'm currently using Armbian Buster with 3.10 kernel for Pi-Hole. I started with Jessie and were simply updating the OS over time.
Since this kernel is pretty old and unmaintained, I would like to upgrade :). However, the board works as DNS server for whole network, so I prefer to not start from empty OS.
Do you have a simple kernel image for upload to working system, so I could just reboot it to new version?
Thanks!

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by igorpec »

C1 is alive again.

- Armbian Focal or Bionic
- Armbian Bullseye or Buster
These users thanked the author igorpec for the post:
joerg (Sat May 16, 2020 8:19 pm)
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

User avatar
emk2203
Posts: 55
Joined: Fri Oct 16, 2015 12:29 am
languages_spoken: english, german
ODROIDs: C1+, C2, XU4, HC1, HC2, N2
Has thanked: 25 times
Been thanked: 0
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by emk2203 »

@igorpec The limitations of your mainline kernel are too severe for my use case. Would it be possible to use the very promising mainline kernel by @chewitt / Martin Blumenstingl instead?

I want to use the C1+ for a network scan server. Initially, I was happy that you have an image because the ancient 3.10 kernel doesn't even support zram, but the limitations of no USB hotplug, no eMMC are blocking it for me.
Last edited by emk2203 on Mon May 18, 2020 10:42 pm, edited 1 time in total.

Nuems
Posts: 171
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1, n2
Has thanked: 2 times
Been thanked: 15 times
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by Nuems »

@emk2203
Don't get me wrong - I'd love full mainline support for the C1, but your statement about zram on the 3.10 kernel is incorrect - it's there and it works as expected on HK's Ubuntu 18.04:

Code: Select all

thomas@Odroid-C1:~$ uname -r
3.10.107-13                                                                                                                                                                                                                                                                    thomas@Odroid-C1:~$ lsmod
Module                  Size  Used by
fuse                   70749  3
squashfs               28599  0                                                                                                                                                                                                                                                
zram                    8792  4                                                                                                                                                                                                                                                nls_cp437               5102  1                                                                                                                                                                                                                                                w1_gpio                 3465  0                                                                                                                                                                                                                                                
wire                   20495  1 w1_gpio                                                                                                                                                                                                                                        
meson_gpiomem           3455  0                                                                                                                                                                                                                                                
sunrpc                194183  1                                                                                                                                                                                                                                                ip_tables              11416  0                                                                                                                                                                                                                                                
autofs4                22336  2                                                                                                                                                                                                                                                
thomas@Odroid-C1:~$ sudo swapon -s                                                                                                                                                                                                                                             Dateiname                               Typ             Größe   Benutzt Priorität                                                                                                                                                                                              
/dev/zram0                              partition       102932  36      5                                                                                                                                                                                                      
/dev/zram1                              partition       102932  36      5                                                                                                                                                                                                      
/dev/zram2                              partition       102932  40      5
/dev/zram3                              partition       102932  40      5
thomas@Odroid-C1:~$

User avatar
emk2203
Posts: 55
Joined: Fri Oct 16, 2015 12:29 am
languages_spoken: english, german
ODROIDs: C1+, C2, XU4, HC1, HC2, N2
Has thanked: 25 times
Been thanked: 0
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by emk2203 »

That's good news! I was using the explanations in the systemd-zswap github repository, where the programmer says

zswap: kernel >=3.11 and zram: kernel >=3.15 in the conf file. So at least I can run this to fight off RAM starvation.

EDIT: But in the minimal image, the module is not activated. It's compiled in the kernel, which breaks stuff. And it doesn't get activated by the normal means for other systems. :(

Nuems
Posts: 171
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1, n2
Has thanked: 2 times
Been thanked: 15 times
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by Nuems »

Sorry for OT regarding Armbian.
I'm running the official Ubuntu Mate image and there I've got:
/etc/init/zram-config.conf
/lib/systemd/system/zram-config.service (and a softlink from here to /etc/systemd/system/multi-user.target.wants/zram-config.service)
/usr/bin/end-zram-swapping
/usr/bin/init-zram-swapping
The latter two are shell scripts. I've included these files in the attached tar.gz archive and I have no clue why the forum software adds the ".zip" file extension (or did it really zip the tar.gz archive?)

On the minimal Ubuntu 18.04 image, you should get away with putting the files into the respective folders and enabling the systemd service. It's worth a try.
Attachments
zram.tar.gz.zip
(916 Bytes) Downloaded 18 times

User avatar
emk2203
Posts: 55
Joined: Fri Oct 16, 2015 12:29 am
languages_spoken: english, german
ODROIDs: C1+, C2, XU4, HC1, HC2, N2
Has thanked: 25 times
Been thanked: 0
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by emk2203 »

Thanks, I'll play around with it and let you know.

EDIT: Unfortunately, it's not that easy. systemctl status zram-config.service spits out

Code: Select all

● zram-config.service - Initializes zram swapping
   Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2020-05-18 17:52:05 CEST; 2min 48s ago
  Process: 345 ExecStart=/usr/bin/init-zram-swapping (code=exited, status=255)
 Main PID: 345 (code=exited, status=255)

May 18 17:52:05 EMK-C1p init-zram-swapping[345]: swapon: cannot open /dev/zram1: No such file or directory
May 18 17:52:05 EMK-C1p init-zram-swapping[345]: /usr/bin/init-zram-swapping: 21: /usr/bin/init-zram-swapping: cannot create /sys/block/zram2/disksize: Directory nonexistent
May 18 17:52:05 EMK-C1p init-zram-swapping[345]: mkswap: cannot open /dev/zram2: No such file or directory
May 18 17:52:05 EMK-C1p init-zram-swapping[345]: swapon: cannot open /dev/zram2: No such file or directory
May 18 17:52:05 EMK-C1p init-zram-swapping[345]: /usr/bin/init-zram-swapping: 21: /usr/bin/init-zram-swapping: cannot create /sys/block/zram3/disksize: Directory nonexistent
May 18 17:52:05 EMK-C1p init-zram-swapping[345]: mkswap: cannot open /dev/zram3: No such file or directory
May 18 17:52:05 EMK-C1p init-zram-swapping[345]: swapon: cannot open /dev/zram3: No such file or directory
May 18 17:52:05 EMK-C1p systemd[1]: zram-config.service: Main process exited, code=exited, status=255/n/a
May 18 17:52:05 EMK-C1p systemd[1]: zram-config.service: Failed with result 'exit-code'.
May 18 17:52:05 EMK-C1p systemd[1]: Failed to start Initializes zram swapping.
I have downloaded now the full image. Cumbersome because I really need just a server, but there seems to be no other way.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by igorpec »

emk2203 wrote:
Mon May 18, 2020 7:22 pm
@igorpec The limitations of your mainline kernel are too severe for my use case.
I lost two days on this and I have no use case :)
emk2203 wrote:
Mon May 18, 2020 7:22 pm
Would it be possible to use the very promising mainline kernel by @chewitt / Martin Blumenstingl instead?
Even you would be paying for the R&D, the answer would be: DIY or wait that their work is mainlined. The expensive work is done, we maintain/sponsor the system for easier integration and supportive infrastructure and I tried to put things together once, failed and everything more than that is insane. If this doesn't even amuse me, there is no point to proceed. In any case it is on the edge of pointless since we will never get rid of ancient loading process which prevent us to have a good control over the hardware.
These users thanked the author igorpec for the post:
tobetter (Tue May 19, 2020 4:45 am)
ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

User avatar
emk2203
Posts: 55
Joined: Fri Oct 16, 2015 12:29 am
languages_spoken: english, german
ODROIDs: C1+, C2, XU4, HC1, HC2, N2
Has thanked: 25 times
Been thanked: 0
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by emk2203 »

@igorpec: Fair enough. I am not going to spend significant man-hours on a dead-end system either. 3.10 w/ patches will be good enough for my network scanner project then.

At least it can be put to work and isn't an expensive paper weight anymore.

igorpec
Posts: 705
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 35 times
Been thanked: 99 times
Contact:

Re: Armbian for C1/C0 with 5.4.y

Post by igorpec »

ARMBIAN
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest