[OS] Debian Buster for ODROID N2

Post Reply
User avatar
meveric
Posts: 10279
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 13 times
Been thanked: 103 times
Contact:

[OS] Debian Buster for ODROID N2

Unread post by meveric » Thu Jul 11, 2019 5:45 pm

This is the first version of my Debian Buster image for the ODROID N2.

It is uses the 4.9 LTS Kernel from Hardkernel.

It's a headless server image only with user root. But it has all my repositories included, which allows for easy installation and updates of packages such as Kernel and Headers and other packages.

The image has my usual setup: means on first boot it's resizing the rootfs partition and configures SSH. It will automatically reboot after the initial setup after which this image is ready to use.
Kernel and headers are already installed if you need to build your own drivers.
A few basic tools such as htop, mc, vim and bash-completion are already installed for your convenience.
A full list of installed applications and dependencies can be found in the root of the image ("/").

Download: https://oph.mdrjr.net/meveric/images/Bu ... -N2.img.xz md5 sha512 sig
Mirror: http://fuzon.co.uk/meveric/images/Buste ... -N2.img.xz md5 sha512 sig

Size compressed: 121MB
Size uncompressed: 1GB

Default Login: root
Default Password: odroid

It's ready to be used as a server image.

First things first:
Since there's constantly new development for this image and ODROIDs in general the First thing you should do after the image is up and running is to install all updates:

Code: Select all

apt update && apt upgrade && apt dist-upgrade
How to convert the image into a Desktop image:
The image can easily converted into a Desktop image looking similar to this:
Image

I created a setup tool that's already preinstalled:

Code: Select all

setup-odroid
Which should easily allow you to install a Desktop Environment.

Please Note:
There are no X11 GPU drivers for the ODROID N2 which means there is no 3D acceleration available for Desktop applications. You can still run fbdev applications such as glmark2-es2-fbdev, retroarch or others from the desktop, but it will be using the entire framebuffer and the desktop in the background can cause issues (such as clock shining through or other desktop applications).

Hints:
Changing language:
If you install a Desktop environment you should already have keybord-configuration installed, it will ask upon the first installation what keyboard layout it should use.
This configuration is for your X11 Desktop so you have your desired keyboard layout.
For console you need to install console-setup to do the same, so just in case:

Code: Select all

apt-get install console-setup keyboard-configuration
dpkg-reconfigure keyboard-configuration
should be all that is needed to change your keyboard layout.
You probably want to set timezone as well

Code: Select all

dpkg-reconfigure tzdata
Setting up WLAN from command line
viewtopic.php?p=257420#p257420

Webbrowser:
Since the N2 does not have X11 GPU drivers none of the webbrowsers available will have hardware accelerated browsing.
Means you won't have "smooth scrolling", "WebGL" or other 3D features that require working hardware acceleration on the Desktop.
I suggest using FireFox for webbrowsing, as it's faster than Chromium and supports YouTube videos up to 1080p.
If you want to use Chromium anyway, make sure to start it with the option --use-gl=none or else it will try to use MESA with Software rendering which is very slow and will cause even more slowdowns.

Kodi with hardware acceleration:
Kodi with hardware acceleration can also be installed with the tool setup-odroid and I'd suggest to use this rather than manually trying to install it, as there are modules that need to be loaded, and permissions to be configured in order to get Kodi working.
Once again it's running with fbdev, and although you can start it from desktop, the desktop can cause some issues in displaying.

General Notice:
Most of the applications I provide in my repositories are for X11 systems, since the N2 does not support X11 there's a high chance they won't work.
Some of them (that do not require a GPU) will work, others may not.
I also offer specific fbdev applications such as retroarch for example which allow you to utilize the GPU of the N2, but won't work "nicely" with a desktop, please keep that in mind when you use my image.
Some more applications that use "OpenGL" instead of OpenGL ES can be run via gl4es from the Desktop as well.

Notes:
I'm currently working on Kodi for Buster as well, Kodi is already running but video decoding via AML is not yet, but I hope I can fix this soon.
These users thanked the author meveric for the post (total 2):
TomasC (Fri Jul 12, 2019 3:49 pm) • xabolcs (Mon Jul 15, 2019 3:31 am)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
TomasC
Posts: 1
Joined: Thu Jul 11, 2019 6:20 pm
languages_spoken: german, english, spanish
ODROIDs: N2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: [OS] Debian Buster for ODROID N2

Unread post by TomasC » Fri Jul 12, 2019 3:54 pm

Hi meveric, I assume one can upgrade directly from your Debian Stretch version, using the usual procedure: changing the sources lists from stretch to buster and "apt update && apt upgrade && apt dist-upgrade" ?

And thank you very much for the time and effort you invest in these great images!

User avatar
meveric
Posts: 10279
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 13 times
Been thanked: 103 times
Contact:

Re: [OS] Debian Buster for ODROID N2

Unread post by meveric » Fri Jul 12, 2019 5:52 pm

Yes the update should work fine, but please note, that for Buster the current ODROID specific software support is very limited.
Means, Debian Buster and it's repository are there and working fine, but the software that comes from me, games/programs and such are currently not yet all available for Debian Buster.
These users thanked the author meveric for the post:
TomasC (Fri Jul 12, 2019 7:31 pm)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

wallyz21
Posts: 78
Joined: Thu Apr 04, 2019 11:00 am
languages_spoken: english
ODROIDs: N2
Has thanked: 9 times
Been thanked: 9 times
Contact:

Re: [OS] Debian Buster for ODROID N2

Unread post by wallyz21 » Mon Jul 15, 2019 12:59 am

Have you tried Wayland with a desktop?

User avatar
meveric
Posts: 10279
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 13 times
Been thanked: 103 times
Contact:

Re: [OS] Debian Buster for ODROID N2

Unread post by meveric » Mon Jul 15, 2019 4:17 am

No I haven't as wayland drivers are currently still experimental and don't run correctly on Kernel 4.9 as far as I know.
I tried them and they wouldn't even produce any output at all on the ODROID.
I couldn't even see the terminal, yet alone was I able to run any 3D application that would use wayland as a backend.

Anyway I wayland will have to wait until HardKernel was able to produce an Image and drivers that properly support it.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest