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

Post Reply
User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Fri May 12, 2017 1:31 am

[ 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 Tue Jul 02, 2019 1:48 am, edited 10 times in total.

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Wed Jun 14, 2017 8:02 pm

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 - follow on Twitter
linux for ARM development boards with user friendly development tools

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Fri Jul 07, 2017 9:04 pm

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 - follow on Twitter
linux for ARM development boards with user friendly development tools

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

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

Unread post by bcclsn » Sat Nov 25, 2017 1:33 am

hi,

is there kodi 17 in the repo?

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Sat Nov 25, 2017 2:53 am

bcclsn wrote:hi,

is there kodi 17 in the repo?
No, we don't deal with KODI.
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

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

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

Unread post by bcclsn » Sat Nov 25, 2017 5:50 am

igorpec wrote:
bcclsn wrote:hi,

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

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Fri Aug 03, 2018 8:38 pm

- 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 - follow on Twitter
linux for ARM development boards with user friendly development tools

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Thu Aug 16, 2018 4:37 pm

Updated to 4.18.y
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Thu Sep 20, 2018 3:30 am

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

apt update & apt upgrade
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

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

Unread post by ujsrwidc » Sun Nov 04, 2018 7:06 pm

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.

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Sun Nov 04, 2018 9:08 pm

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 - follow on Twitter
linux for ARM development boards with user friendly development tools

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

Unread post by ujsrwidc » Sun Nov 04, 2018 10:30 pm

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: 1491
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 18 times
Contact:

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

Unread post by OverSun » Sun Nov 04, 2018 10:58 pm

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

Unread post by ujsrwidc » Sun Nov 04, 2018 11:09 pm

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: 1491
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 18 times
Contact:

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

Unread post by OverSun » Sun Nov 04, 2018 11:58 pm

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

Unread post by ujsrwidc » Mon Nov 05, 2018 12:08 am

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?

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Mon Nov 05, 2018 12:38 am

ujsrwidc wrote:This is what is needed for the S805 but recently only available for the S905, S905X, S905D and S912?
Yes, similar.
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

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

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

Unread post by OverSun » Mon Nov 05, 2018 12:48 am

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

Unread post by ujsrwidc » Mon Nov 05, 2018 12:58 am

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: 1491
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 18 times
Contact:

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

Unread post by OverSun » Mon Nov 05, 2018 4:33 am

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.

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Sun May 05, 2019 2:16 am

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 - follow on Twitter
linux for ARM development boards with user friendly development tools

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Tue Jul 02, 2019 1:49 am

ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

Nuems
Posts: 121
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1
Has thanked: 0
Been thanked: 1 time
Contact:

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

Unread post by Nuems » Tue Jul 16, 2019 4:05 am

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.

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Tue Jul 16, 2019 7:23 am

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 - follow on Twitter
linux for ARM development boards with user friendly development tools

Nuems
Posts: 121
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1
Has thanked: 0
Been thanked: 1 time
Contact:

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

Unread post by Nuems » Tue Jul 16, 2019 4:34 pm

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.

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Tue Jul 16, 2019 4:58 pm

> 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 - follow on Twitter
linux for ARM development boards with user friendly development tools

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Tue Jul 16, 2019 5:10 pm

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 - follow on Twitter
linux for ARM development boards with user friendly development tools

alpe
Posts: 33
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1
Location: Rio de Janeiro, Brazil
Has thanked: 1 time
Been thanked: 0
Contact:

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

Unread post by alpe » Thu Jul 25, 2019 5:28 am

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: 121
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1
Has thanked: 0
Been thanked: 1 time
Contact:

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

Unread post by Nuems » Thu Jul 25, 2019 7:37 pm

@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.

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Thu Jul 25, 2019 11:42 pm

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 - follow on Twitter
linux for ARM development boards with user friendly development tools

alpe
Posts: 33
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1
Location: Rio de Janeiro, Brazil
Has thanked: 1 time
Been thanked: 0
Contact:

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

Unread post by alpe » Fri Jul 26, 2019 3:47 am

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.

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

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

Unread post by igorpec » Fri Jul 26, 2019 3:47 pm

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 - follow on Twitter
linux for ARM development boards with user friendly development tools

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest