Archlinux: XFCE Image for Odroid N2

Post Reply
jgmdev
Posts: 64
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, C4
Has thanked: 18 times
Been thanked: 42 times
Contact:

Archlinux: XFCE Image for Odroid N2

Post by jgmdev » Tue May 19, 2020 8:27 pm

Arch Linux is a lightweight and flexible Linux distribution that tries to Keep It Simple but installing it can be daunting for many. So, I worked on a shell script to generate disk images out of ArchLinux tar files (more details about the ArchLinux Disk Image Generator on Github). Sometimes is easier to just burn an image than going thru the whole setup process. So besides Manjaro (which is based on ArchLinux), for those that would like to give ArchLinux a run, here I share this ready to use image.

What is Included?
  • Latest XFCE Desktop Environment.
  • Wifi driver for wifi Module 5 (dkms-8812au)
  • Latest 5.7 kernel RC6
  • DKMS Mali Kernel Driver. Thanks to @tobetter
  • Binary FBDEV driver for Hardware Acceleration. Thanks to @tobetter for instructions
  • GL4ES for OpenGL to OpenGL ES FBDEV conversion which allows many applications to run with good graphical performance. Thanks to @meveric for instructions.
  • Bluetooth
  • Networking with NetworkManager
  • Pre-configured cpupower with known working settings.
  • Yay AUR helper.
  • Pamac software center.
  • Use of Arc desktop theme and Papirus icon theme by default.
  • Preconfigured bindings that give XFCE tiling functionality (see Keyboard/Window Manager on System Settings).
  • SSH Enabled.
  • Bigger and more readable tty font.
  • A nice space wallpaper :lol:
Here are some basic screenshots:

Image

Software Center provided by Pamac

Image

Installation

The process of burning the image into a SD or EMMC card should be the same as with other images and is well documented in other places so I will not write about that. Besides that, the image doesn't boots from petitboot :( you will need to turn it off and boot directly from emmc or sdcard. The SD card should take priority over eMMc in the boot process if inserted, unless Android is installed on the eMMc, in which case the eMMc will have priority over the SD card.

Login Credentials:
username: alarm
password: alarm

Administration:
username: root
password: root

Don't forget to change the default password for added security.

Setup

After booting into the system you will want to resize the partition since this process isn't done automatically at boot. Instead gparted is included on the image.

Note: SuperKey is also known as WinKey
  1. Press SuperKey + a to open the applications menu.
  2. Type gparted and press enter.
  3. Follow the instructions on the image below.
Image

After resizing the partition there is an issue I wasn't able to fully fix at the image generation step, which is the system locale setup. So to get proper characters rendered on the terminal:
  1. Press SuperKey + t to drop down the terminal
  2. Type: sudo locale-gen and press enter
  3. Type: sudo localectl set-locale en_US.UTF-8
  4. Reboot or restart Lightdm
Finally, configure the weather panel plugin on the top which reads "No Data" by right clicking it and setting your location to get nice weather reports and install any other software that you need. Enjoy!

What Works?

For details on what tested applications support GPU Hardware Acceleration check the Archlinux: X GPU Acceleration Guide, If you test more OpenGL applications that work with GL4ES let me know to update the list.

Next step will be creating a ready to use GNOME image with Wayland Hardware Acceleration, which shouldn't be hard now do to the modular nature of the Image Generator Script, everybody is welcome to improve the Generator like adding more Odroid Boards and Desktop Environments.

For the Odroid C4 Version go here: viewtopic.php?f=203&t=38897

Download Link

https://mega.nz/file/WVkiWQaQ#a8CjT9uMi ... 9-ZStIGKn4
Last edited by jgmdev on Fri May 29, 2020 2:14 am, edited 8 times in total.
These users thanked the author jgmdev for the post (total 5):
tobetter (Tue May 19, 2020 8:32 pm) • rooted (Wed May 20, 2020 12:05 am) • mad_ady (Wed May 20, 2020 3:25 am) • odroid (Wed May 20, 2020 9:55 am) • istanbulls (Wed May 20, 2020 7:45 pm)

User avatar
tobetter
Posts: 5071
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 484 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by tobetter » Tue May 19, 2020 8:33 pm

Welcome XFCE!!
Thanks @jgmdev!!

Sav
Posts: 206
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 42 times
Been thanked: 17 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by Sav » Tue May 19, 2020 9:13 pm

wonderfull
Thanks

istanbulls
Posts: 191
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 89 times
Been thanked: 10 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by istanbulls » Wed May 20, 2020 7:48 pm

very good news, i try it right now. :)

Thanks,

istanbulls
Posts: 191
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 89 times
Been thanked: 10 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by istanbulls » Wed May 20, 2020 10:23 pm

I did a few different attempts but it didn't work. It stays on the black screen.
The blue heartbeat is slow. The Ethernet bulb does not light.
I also tried with Usb Card reader, the result is unsuccessful.

Sorry,

jgmdev
Posts: 64
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, C4
Has thanked: 18 times
Been thanked: 42 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by jgmdev » Wed May 20, 2020 10:36 pm

istanbulls wrote:
Wed May 20, 2020 10:23 pm
I did a few different attempts but it didn't work. It stays on the black screen.
The blue heartbeat is slow. The Ethernet bulb does not light.
I also tried with Usb Card reader, the result is unsuccessful.
Thanks for testing! I just tested burning it to a sd card and it boots for me but only without petitboot. If using petitboot the screen stays black. Maybe an issue with mainline kernel booting from petitboot...

istanbulls
Posts: 191
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 89 times
Been thanked: 10 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by istanbulls » Wed May 20, 2020 10:48 pm

jgmdev wrote:
Wed May 20, 2020 10:36 pm
Thanks for testing! I just tested burning it to a sd card and it boots for me but only without petitboot. If using petitboot the screen stays black. Maybe an issue with mainline kernel booting from petitboot...
I tried with Petitboot, I didn't want to open the casing and eMMC.
I will try without Petitboot! OK.

istanbulls
Posts: 191
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 89 times
Been thanked: 10 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by istanbulls » Wed May 20, 2020 11:04 pm

I am writing this message in Archlinux: XFCE. It works well without Petitboot.

Thanks
These users thanked the author istanbulls for the post:
jgmdev (Wed May 20, 2020 11:07 pm)

jgmdev
Posts: 64
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, C4
Has thanked: 18 times
Been thanked: 42 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by jgmdev » Wed May 20, 2020 11:10 pm

istanbulls wrote:
Wed May 20, 2020 10:48 pm
I tried with Petitboot, I didn't want to open the casing and eMMC.
I will try without Petitboot! OK.
In my case the sd card takes priority over the emmc, so inserting a sd card shouldn't require removing the emmc in order to boot from sd, unless something related with android been installed on emmc...

istanbulls
Posts: 191
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 89 times
Been thanked: 10 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by istanbulls » Wed May 20, 2020 11:41 pm

jgmdev wrote:
Wed May 20, 2020 11:10 pm

In my case the sd card takes priority over the emmc, so inserting a sd card shouldn't require removing the emmc in order to boot from sd, unless something related with android been installed on emmc...
There is android on eMMC :)
No sound and no language change option, or I can't find it.
I will change language with the terminal.
I will make adjustments, test and share my experience.
Thanks for everything!

kxe
Posts: 1
Joined: Mon May 25, 2020 6:12 am
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by kxe » Mon May 25, 2020 6:17 am

jgmdev wrote:
Wed May 20, 2020 10:36 pm
it boots for me but only without petitboot. If using petitboot the screen stays black.
Sorry I didn't find how to boot without petitboot, so I see that black screen with blink cursor.
Could you explain how to boot, please?
UPDATE: Found. The boot mode should be switched to MMC as https://wiki.odroid.com/getting_started ... _using_otg says for "Direct booting". I didn't wait some more time to boot arch.

jgmdev
Posts: 64
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, C4
Has thanked: 18 times
Been thanked: 42 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by jgmdev » Mon May 25, 2020 8:24 am

kxe wrote:
Mon May 25, 2020 6:17 am
I didn't wait some more time to boot arch.
Yes, the screen stays black for a couple of seconds until the login manager pops up. That is how it goes with mainline kernel, which in this case is version 5.7. As the main kernel support keeps improving things will work better.

Snippo
Posts: 2
Joined: Sat May 02, 2020 4:30 pm
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by Snippo » Wed May 27, 2020 11:14 pm

Thanks jgmdev. Works great. The only issue is that Firefox seems to crash with WebGL enabled, as you mentioned in the other topic.

jgmdev
Posts: 64
Joined: Tue Jan 28, 2020 2:28 pm
languages_spoken: english, spanish
ODROIDs: U2, N2, C4
Has thanked: 18 times
Been thanked: 42 times
Contact:

Re: Archlinux: XFCE Disk Image for Odroid N2

Post by jgmdev » Thu May 28, 2020 9:43 am

Snippo wrote:
Wed May 27, 2020 11:14 pm
Thanks jgmdev. Works great. The only issue is that Firefox seems to crash with WebGL enabled, as you mentioned in the other topic.
Upgrade to latest odroid-gl4es package on my repo and it should fix the crash issue. Also, as an alternative chromium doesn't have this problem.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 0 guests