Page 1 of 1

Armbian for Odroid N2

Posted: Sun May 12, 2019 10:14 pm
by Dalsim
Not sure if many people know about this but Armbian have an N2 Image of both Armbian Bionic and Stretch on their website:
https://www.armbian.com/odroid-n2/

I installed it using the guide here: https://docs.armbian.com/User-Guide_Get ... -new-users

And it runs great so far. Once it is up and running, you can use the Config tool to install OMV, Plex, Transmission, Sonarr, Radarr, Docker and many more.

Just SSH in as Root and run the config tool command:

Code: Select all

sudo armbian-config
Openmediavault runs great. I get stable 110mb/s read transfers and a little bit less for writes to Windows using SMB over Gigabit Ethernet.

Re: Armbian for Odroid N2

Posted: Mon May 13, 2019 12:29 am
by powerful owl
Awesome :)

Re: Armbian for Odroid N2

Posted: Mon May 13, 2019 1:52 am
by poincare
Looks good! Does anyone know if they use the N2 specific stuff like updates on N2 kernel from Hard Kernel, updates for U-Boot, and things liek that?

Re: Armbian for Odroid N2

Posted: Mon May 13, 2019 6:19 am
by BadPritt
Yes. They use the Hardkernel kernel.
I've been using Armbian the last weeks on it. It runs better than anything else. I'm very happy having this.

Re: Armbian for Odroid N2

Posted: Sat May 18, 2019 9:50 pm
by poincare
OK. I'll give it an install. Do you know if NCP and OMV can be installed at the same time?

Re: Armbian for Odroid N2

Posted: Sun May 19, 2019 2:15 pm
by igorpec
poincare wrote:
Sat May 18, 2019 9:50 pm
OK. I'll give it an install. Do you know if NCP and OMV can be installed at the same time?
Unlikely. (In theory yes, but its a complex job which includes use of virtualization and port mapping ...) They both provide the same range of services running on the same ports.

You have to pick one.

Re: Armbian for Odroid N2

Posted: Fri May 24, 2019 4:28 am
by poincare
So, I have installed latest N2 Armbian and used armbian-config to install OMV. I kept trying to get Nextcloud installed with armbian-config but it doesn't seem to work if you already have OVM. I posted to their Github but the issue was promptly closed saying something like "we use the Nextcloud installer; not our problem." :roll:

Anyway, I switched on Docker and installed Mariadb and Nextcloud as Docker containers. I found a tutorial on Techno Dad Life that described the process. I'm not sure if Armbian keep U-Boot and the N2 Kernel up to date, but so far, no problems. I'll probably continue using it with OMV and Nextcloud until I'm better able to tell if they follow updates on UBoot and the N2 Kernel.

Re: Armbian for Odroid N2

Posted: Fri May 24, 2019 5:32 am
by igorpec
poincare wrote:
Fri May 24, 2019 4:28 am
I'm not sure if Armbian keep U-Boot and the N2 Kernel up to date, but so far, no problems.
It does. Even on a daily basis (nightly builds), but those builds are untested. Kernel is updated via (apt update & upgrade) while u-boot needs a manual updated via armbian-config -> system.

Re: Armbian for Odroid N2

Posted: Sat May 25, 2019 9:43 pm
by poincare
I don't believe it keeps the N2 kernel up to date, even via apt update and upgrade. I've executed them and the kernel is still at 173; while, I believe the latest N2 one is 177. I'll use armbian-config for uboot update.

Re: Armbian for Odroid N2

Posted: Sun May 26, 2019 3:10 am
by igorpec
poincare wrote:
Sat May 25, 2019 9:43 pm
I don't believe it keeps the N2 kernel up to date, even via apt update and upgrade. I've executed them and the kernel is still at 173; while, I believe the latest N2 one is 177. I'll use armbian-config for uboot update.
I know it does since I push that update, but since this is manual work and I don't have time ... you have to wait. If you are in a hurry, you can use automated build (switch to nightly in armbian-config) as already suggested. That one is usually up to 24 hours old.

If you need this even faster, build tools https://github.com/armbian/build produces .deb files which you can install with dpkg -i and you have latest kernel.

Re: Armbian for Odroid N2

Posted: Sun May 26, 2019 2:17 pm
by igorpec
> even via apt update and upgrade

Stable repository (and images) was just updated - no need to use nightly builds anymore.

Re: Armbian for Odroid N2

Posted: Wed May 29, 2019 6:35 am
by igorpec
Another update!



- improved stock kernel, updated to 4.9.179, docker support with aufs, wireguard module, ...
- adjusted boot loader to support booting from ext4/ext2 partitions
- screen resolution can be changed in armbian-config -> system -> display (Set the display resolution)
- menu driven CPU frequency/governor adjustement (armbian-config)
- improved two-factor authentication for SSH access
- fixed sources install for onboard kernel building (armbian-config->software)
- improved hostapd management
- image can be rebuild from sources

Suitable for newcomers and pros!

Images:
https://www.armbian.com/odroid-n2/

If you already run Armbian for Odroid N2:

Code: Select all

apt update ; apt upgrade

Re: Armbian for Odroid N2

Posted: Wed Jun 05, 2019 9:32 am
by poincare
Thank you for your work on Armbian for the N2 board.

Re: Armbian for Odroid N2

Posted: Sun Jun 09, 2019 11:10 am
by floridroid
Yes thank you for the N2 Armbian image. It's working well so far.

Re: Armbian for Odroid N2

Posted: Tue Jun 11, 2019 6:58 pm
by igorpec
Updated to latest along with kernel config changes:
https://github.com/armbian/build/commit ... d822ac1a1d

Code: Select all

apt update ; apt upgrade

Re: Armbian for Odroid N2

Posted: Wed Jun 12, 2019 3:14 pm
by Moan
Thank you @igorpec, I'm using those armbian images and the device works pretty good.

One problem I detected today is installing Plex by armbian-config. It installs fine, but ruins some stuff in the system. For example, right after installing Plex I was getting error:

Code: Select all

armbian-config: No such file or directory
So I had to reinstall by:

Code: Select all

apt update; apt install armbian-config
It possibly ruined some other packages, because my N2 didn't want to start tonight after reboot.

Re: Armbian for Odroid N2

Posted: Thu Jun 13, 2019 12:03 am
by igorpec
> right after installing Plex I was getting error:

Well, that needs to be investigated. Probably some packages dependency issue. Have you install just that or many other things?

Re: Armbian for Odroid N2

Posted: Fri Jun 14, 2019 12:18 pm
by Moan
igorpec wrote:
Thu Jun 13, 2019 12:03 am
Have you install just that or many other things?
As first I always do apt update; apt upgrade
Then I installed OMV, Plex, PiHole all at once by armbian-config and noticed this error.
Then I did a fresh image flash, and installed packages one-by-one starting from OMV, omv init, reboot, Plex and then armbian-config stopped working again. Plex worked fine, even scanned a library fully, however the version of Plex in armbian-config seems to be outdated. So at the end I installed plex from their debian repository, but I'm not sure if it doesn't lose performance /hardware accelerations if available.

Re: Armbian for Odroid N2

Posted: Fri Jun 14, 2019 2:36 pm
by igorpec
> Then I installed OMV, Plex, PiHole all at once by armbian-config and noticed this error.

(Armbian unrelated) Errors are in such case more then expected. OMV is extremely bulky software suite. Installing and running two bulky packages at once is considered as extreme luck and it usually doesn't go without manual intervention ... to prevent such problems, you need to use virtualisation/containerisation/isolation. Docker and similar (billion dollar projects) was initiated to overcome such problems. Free support cheap shortcut does not exists.

I hope you understand this is not an Armbian problem, but generic, which help you can/should try to find elsewhere https://www.debian.org/consultants/

Re: Armbian for Odroid N2

Posted: Fri Jun 14, 2019 3:37 pm
by Moan
It's not a problem for me as installing from the plex repository works fine, and I've been using Armbian + OMV + Plex + Pihole on XU4 for the past months and no issues at all.

I thought N2 images somehow differ in terms of configuration / incompatible kernel module, etc. that's why I wrote about this issue in case someone wanted to check it. But in general it shouldn't matter now.

Re: Armbian for Odroid N2

Posted: Fri Jun 14, 2019 6:20 pm
by igorpec
Moan wrote:
Fri Jun 14, 2019 3:37 pm
I thought N2 images somehow differ in terms of configuration / incompatible kernel module, etc.
Armbian is (should be) the same on all hardware platforms. It's one of the core advantages ... but ofc we could made some mistake, some module might still be missing but there could be some generic problem with certain aarch64 package while bug is not present in armhf ... there are known problems on this level and could manifest in such way. Another aarch64 install would tell more ...

When it comes to user space issues -> https://www.debian.org/Bugs/

Re: Armbian for Odroid N2

Posted: Tue Jun 25, 2019 2:54 am
by everlasting
Hi, I installed armbian but i can only get sound through hdmi(monitor speakers). My speakers that are plugged in the audio jack is not detected. there is only one audio sink and its not the speakers.

Re: Armbian for Odroid N2

Posted: Thu Jun 27, 2019 11:10 pm
by Kahana82
everlasting wrote:
Tue Jun 25, 2019 2:54 am
Hi, I installed armbian but i can only get sound through hdmi(monitor speakers). My speakers that are plugged in the audio jack is not detected. there is only one audio sink and its not the speakers.
Same issue as in meveric's Debian Stretch for ODROID N2 thread ?

Re: Armbian for Odroid N2

Posted: Thu Jul 04, 2019 2:46 am
by Moan
Hi.
Could you please tell me how should I update u-boot on a running armbian?
I use a micro SD card for this OS. Should I update it by armbian-config / System / Install/Update the bootloader on SD/eMMC? Will it have the newest version (odroidn2-49) from https://github.com/hardkernel/u-boot/releases ? Is it possible to somehow if it was successfully flashed?

I'm asking because every few days I experience a strange issues with I/O until I power cycle Odroid N2. The main issue is that the system starts running slowly, web-ui loads for long minutes and I'm even unable to download log files from /var/log, because it's so slow that a 4MiB file can not be viewed (and it's keep getting interrupted during filezilla transfer). I tried killing all running programs, iotop doesn't show any high activity, but device is running very slow. I thought I should update the u-boot in first place.

Re: Armbian for Odroid N2

Posted: Thu Jul 04, 2019 4:08 am
by igorpec
> Could you please tell me how should I update u-boot on a running armbian?
>I use a micro SD card for this OS. Should I update it by armbian-config / System / Install/Update the bootloader on SD/eMMC?

yes

> Will it have the newest version

No. For that you need to switch to our automated build. armbian-config -> system -> switch to nightly automated builds. When you do that, you have to repeat boot loader flashing. We don't update it automatically by purpose.

> I thought I should update the u-boot in first place.

That could be a good start. I will check if my also behaves this way ...

Re: Armbian for Odroid N2

Posted: Thu Jul 04, 2019 5:20 am
by Moan
No. For that you need to switch to our automated build. armbian-config -> system -> switch to nightly automated builds. When you do that, you have to repeat boot loader flashing. We don't update it automatically by purpose.
Thanks! Just did it.
That could be a good start. I will check if my also behaves this way ...
When this happens, SSH works fine. Htop shows load around 1.0 (while normally around 0.05). Do you recommend any commands to put in terminal when this happens which would help to detect the issue?

Re: Armbian for Odroid N2

Posted: Mon Jul 08, 2019 1:47 am
by kardanadm
How to run spotify

Re: Armbian for Odroid N2

Posted: Mon Jul 08, 2019 5:33 am
by igorpec
kardanadm wrote:
Mon Jul 08, 2019 1:47 am
How to run spotify
Perhaps asking Google. This is one of the first hits:
https://websiteforstudents.com/install- ... 4-desktop/
Moan wrote:
Thu Jul 04, 2019 5:20 am
When this happens, SSH works fine. Htop shows load around 1.0 (while normally around 0.05). Do you recommend any commands to put in terminal when this happens which would help to detect the issue?
That's normal. Just wait a while.

Re: Armbian for Odroid N2

Posted: Mon Jul 08, 2019 5:49 am
by Moan
igorpec wrote:
Mon Jul 08, 2019 5:33 am
Moan wrote:
Thu Jul 04, 2019 5:20 am
When this happens, SSH works fine. Htop shows load around 1.0 (while normally around 0.05). Do you recommend any commands to put in terminal when this happens which would help to detect the issue?
That's normal. Just wait a while.
Oh, sorry. By "this happens" I meant the I/O slowdown problem.
So far after the uboot update I didn't experience this issue during the last 4 days, but made some manual reboots so need to keep it running longer to be 100% sure.

I remember that one time when "this" happened, I typed "reboot" in terminal, and right after reboot it was very slow again. So I had to manually disconnect power, connect again and then I/O was very fast. I don't have much knowledge how uboot and stuff works, but do you think it was an expected behavior? I mean, the uboot stuff was all the time loaded and the reboot command didn't release all "things" for a fresh start? I just want to be sure it's not a hardware issue.

Re: Armbian for Odroid N2

Posted: Mon Jul 08, 2019 5:55 am
by igorpec
Moan wrote:
Mon Jul 08, 2019 5:49 am
igorpec wrote:
Mon Jul 08, 2019 5:33 am
Moan wrote:
Thu Jul 04, 2019 5:20 am
When this happens, SSH works fine. Htop shows load around 1.0 (while normally around 0.05). Do you recommend any commands to put in terminal when this happens which would help to detect the issue?
That's normal. Just wait a while.
Oh, sorry. By "this happens" I meant the I/O slowdown problem.
So far after the uboot update I didn't experience this issue during the last 4 days, but made some manual reboots so need to keep it running longer to be 100% sure.

I remember that one time when "this" happened, I typed "reboot" in terminal, and right after reboot it was very slow again. So I had to manually disconnect power, connect again and then I/O was very fast. I don't have much knowledge how uboot and stuff works, but do you think it was an expected behavior? I mean, the uboot stuff was all the time loaded and the reboot command didn't release all "things" for a fresh start? I just want to be sure it's not a hardware issue.
Got it. Well, this problem is common and I see Hardkernel guys are doing something on it. Patience ;)

Re: Armbian for Odroid N2

Posted: Mon Jul 08, 2019 5:59 am
by Moan
igorpec wrote:
Mon Jul 08, 2019 5:55 am
Got it. Well, this problem is common and I see Hardkernel guys are doing something on it. Patience ;)
Oh. Could you please link a source to it? I did some research but probably missed a topic with the similar issue.

Re: Armbian for Odroid N2

Posted: Wed Jul 10, 2019 2:30 am
by kardanadm
igorpec wrote:
Mon Jul 08, 2019 5:33 am
kardanadm wrote:
Mon Jul 08, 2019 1:47 am
How to run spotify
Perhaps asking Google. This is one of the first hits:
https://websiteforstudents.com/install- ... 4-desktop/

Thanks for your answer
Did you try that? Are you sure it works?

Re: Armbian for Odroid N2

Posted: Wed Jul 10, 2019 5:03 am
by igorpec
kardanadm wrote:
Wed Jul 10, 2019 2:30 am
Did you try that? Are you sure it works?
No I didn't. I don't use this application. Perhaps they don't provide support for ARM architecture. You have to ask them.

Re: Armbian for Odroid N2

Posted: Wed Jul 10, 2019 9:35 am
by odroid
One user reported the Spotify on the Chromium browser with the ODROID-XU4.
viewtopic.php?f=98&t=34284
viewtopic.php?f=95&t=35180

Spotify needs a Widevine DRM library as Netflix. There is a widevine drm so file for 32bit Armhf.
But I have no idea about Widevine DRM library for 64bit AArch64.

Re: Armbian for Odroid N2

Posted: Thu Jul 11, 2019 10:47 pm
by kardanadm
odroid wrote:
Wed Jul 10, 2019 9:35 am
One user reported the Spotify on the Chromium browser with the ODROID-XU4.
viewtopic.php?f=98&t=34284
viewtopic.php?f=95&t=35180

Spotify needs a Widevine DRM library as Netflix. There is a widevine drm so file for 32bit Armhf.
But I have no idea about Widevine DRM library for 64bit AArch64.
yes, I did it for 32bit armhf with rockpro64.

ubuntu or debian 32bit desktop version how do I use it, can you help?