Linux-5.5-rc5 on the Odroid N2 -- will this work?

Post Reply
Faradn
Posts: 36
Joined: Sun Feb 10, 2019 2:19 am
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Linux-5.5-rc5 on the Odroid N2 -- will this work?

Unread post by Faradn » Mon Jan 13, 2020 2:20 am

SBC: Odroid N2
OS: Ubuntu 18.04
Linux odroid_N2 4.9.187-53 #1 SMP PREEMPT Fri Aug 9 06:12:18 -03 2019 aarch64 aarch64 aarch64 GNU/Linux.

#include <std_disclaimer.h>
I'm just a tinkerer, not a dev.

What I did:
1. Copied the drivers/amlogic directory from the linux-odroidn2-4.9y source to the linux-5.5-rc5/drivers/
directory.
2. Updated the linux-5.5-rc5/drivers/Kconfig file to source the drivers/amlogic/ code.
(Amlogic Peripheral drivers, Amlogic modify for kernel, Amlogic Device Drivers menu options
now show up in menuconfig.)
3. Compared *all* options between the 4.9y and 5.5-rc5 kernel configs.
(some unmet dependencies do exist)

What I did not do (yet): Build the kernel and modules, modules install, update-grub.
I need to figure out how to clone my 64Gb EMMC. Tried rpi-clone and the EMMC was duplicated
(/boot & /rootfs) but would not boot. :(

Is there any other Odroid N2 specific code in the 4.9y source tree that would have to be included
in the 5.5-rc5 source tree other than the drivers/amlogic/ directory?

TIA,
/Faradn
- Odroid N2 2Gb - Odroid XU4 2Gb - RockPro64 4Gb - Pi 3B 1Gb -

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: Linux-5.5-rc5 on the Odroid N2 -- will this work?

Unread post by OverSun » Mon Jan 13, 2020 2:46 am

You took a turbo air compressor from good petrol dodge viper, put it in a tesla car and carefully connected all the +12, -12v, ground, control and other wires to their counterparts. And also air output to where presumably intake should be. Will it work?..
These users thanked the author OverSun for the post:
igorpec (Mon Jan 13, 2020 4:16 am)

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

Re: Linux-5.5-rc5 on the Odroid N2 -- will this work?

Unread post by igorpec » Mon Jan 13, 2020 4:19 am

> What I did not do (yet):

Don't.

This takes months to year(s) to complete and costs hundreds of thousands. Not sure if you can tinker that :)

If you want to see how far modern kernel is (with proper procedure):
https://www.armbian.com/odroid-n2/#kernels-archive-all
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

Faradn
Posts: 36
Joined: Sun Feb 10, 2019 2:19 am
languages_spoken: english
ODROIDs: Odroid XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Linux-5.5-rc5 on the Odroid N2 -- will this work?

Unread post by Faradn » Mon Jan 13, 2020 5:26 am

Thanks @igorpec.
DL'd, flashed to eMMC, running fine.
But: No audio output.
Pavucontrol -> output devices shows only a dummy output for audio.

brad
Posts: 1028
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 H2 (64 bit ftw)
Location: Australia
Has thanked: 23 times
Been thanked: 51 times
Contact:

Re: Linux-5.5-rc5 on the Odroid N2 -- will this work?

Unread post by brad » Mon Jan 13, 2020 9:51 am

Audio for mainline is still a WIP at the moment, hopefully will be available soon.

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

Re: Linux-5.5-rc5 on the Odroid N2 -- will this work?

Unread post by igorpec » Mon Jan 13, 2020 3:31 pm

Faradn wrote:
Mon Jan 13, 2020 5:26 am
But: No audio output.
"If you want to see how far modern kernel is "

If this is good enough for your use case, use it, otherwise stick to 4.9.y. If you want to learn things, start small.
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

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

Re: Linux-5.5-rc5 on the Odroid N2 -- will this work?

Unread post by rooted » Mon Jan 13, 2020 4:01 pm

OverSun wrote:You took a turbo air compressor from good petrol dodge viper, put it in a tesla car and carefully connected all the +12, -12v, ground, control and other wires to their counterparts. And also air output to where presumably intake should be. Will it work?..
This made me literally lol.

elatllat
Posts: 1627
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 26 times
Been thanked: 84 times
Contact:

Re: Linux-5.5-rc5 on the Odroid N2 -- will this work?

Unread post by elatllat » Tue Jan 14, 2020 4:27 am

Amusing,
but on a semantic digression;
I think turbochargers are purely mechanical,
obviously there is no combustion exhaust from an electric vehicle but there is air intake for cooling the fluid that keeps the battery from overheating,
An electric supercharger may (for space concerns) in fact be what was added to the Tesla Model S Plaid prototype to make it not overheat on the Nürburgring.
more likely a bigger fan/rad, but maybe.

(yes I want a cybertruck)

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: Linux-5.5-rc5 on the Odroid N2 -- will this work?

Unread post by OverSun » Tue Jan 14, 2020 5:23 am

exactly my point.
connecting air turbine compressor to tesla car would have two outcomes, as copying amlogic folder to mainline linux:
you either going to connect everything the way it doesn't really work, either have no power, or blow aside, and then you have the same car doing the same as it would be doing without it. as the linux could start if the amlogic code that pairs with a very different kernel is not really called. or:
you push compressed air somewhere, where the air doesn't really affect in any way performance being compressed, and firstly is not expected to be that compressed and the whole thing will just blow apart, as mainline kernel would, calling amlogic code... very quick, very bad.
I think I've made great analogy without calling any part of it bad...

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 3 guests