Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Share here your ideas for new projects
User avatar
tobetter
Posts: 3786
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: 29 times
Been thanked: 130 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Thu Jun 06, 2019 3:24 pm

sha256 wrote:The only issue I've seen so far is that MATE (x11?) doesn't detect any monitor type. So there are no refresh rate options and the monitor display never fully shuts off from inactivity (it goes black due to screensaver, but the backlight remains on forever). It's no dealbreaker but it'd be nice to fix at some point. Just reporting.
Thanks, not able to promise I will fix it but I am also considering to make install desktop packages on installation. So...let me update it when I can resolve it.

"Tapatalk wishes you to have fun with ODROID"


sha256
Posts: 85
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Wed Jun 12, 2019 1:38 am

Also just to warn anyone doing this that the N2 Audio Jack doesn't work under MATE/x11. It didn't cross my mind despite the x11 drivers thing that an audio jack would need a driver. I'm using a USB audio interface instead. ^ Thanks

User avatar
meveric
Posts: 10397
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: 15 times
Been thanked: 120 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by meveric » Wed Jun 12, 2019 2:58 am

I have Audio Jack working under Debian Stretch on the N2 on MATE/X11 desktop. Requires some configuration of PulseAudio, but in the end it works fine.
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
tobetter
Posts: 3786
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: 29 times
Been thanked: 130 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Wed Jun 12, 2019 8:08 am

meveric wrote:
Wed Jun 12, 2019 2:58 am
I have Audio Jack working under Debian Stretch on the N2 on MATE/X11 desktop. Requires some configuration of PulseAudio, but in the end it works fine.
That's the proof your distro image is better. :) Are you able to share the package?

sha256
Posts: 85
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Wed Jun 12, 2019 9:12 am

Yeah that would be great (save me some usb power), there are simply no devices other than some system default in the sound preferences panel so I assumed a driver is missing. Tried to search but couldn't figure out how/if this related to the N2 Ubuntu audio instructions on the wiki (already lost the link) and had a usb interface just lying there.

User avatar
meveric
Posts: 10397
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: 15 times
Been thanked: 120 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by meveric » Wed Jun 12, 2019 3:30 pm

tobetter wrote:
Wed Jun 12, 2019 8:08 am
meveric wrote:
Wed Jun 12, 2019 2:58 am
I have Audio Jack working under Debian Stretch on the N2 on MATE/X11 desktop. Requires some configuration of PulseAudio, but in the end it works fine.
That's the proof your distro image is better. :) Are you able to share the package?
There is no package or anything, you just need to configure it correctly:
viewtopic.php?p=258846#p258846
These users thanked the author meveric for the post:
tobetter (Wed Jun 12, 2019 4:17 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.

sha256
Posts: 85
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Sat Jun 15, 2019 4:21 am

Hey, only tried the audio jack but that actually worked, thanks

Code: Select all

sudo sed -r -i 's/^(### Load audio drivers statically.*)$/\### Load Odroid N2 drivers statically\
load-module module-alsa-sink device="hw:0,1" sink_name=analog_output\
load-module module-alsa-sink device="hw:0,0" sink_name=hdmi_output\
load-module module-combine sink_name=hdmi_analog slaves=hdmi_output,analog_output\
\n\1/' /etc/pulse/default.pa

sha256
Posts: 85
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Sat Jul 06, 2019 5:27 pm

Fatal: Trying to mkfs.ext4 a 4TB USB3 disk encrypted with cryptsetup 2.1.0, kernel 4.9 - any settings (luks1 vs luks2, argon vs pkf, ...) - results in 3GB ram being sucked up by cryptsetup and within 10 seconds full system lockup and eventually system suicide, with nothing in dmesg or journalctl. Couldn't limit cryptsetup memory with cgroups or don't know how to do it right. Only able to handle smaller containers (why I did not notice)? mkfs.ext4 without cryptsetup fine.

I was able to format fine under Odroid's Ubuntu 18 on a XU4, cryptsetup 2.0.2, kernel 4.14.

Kernel incompatibility? Unless someone already knows the answer, I will use Ubuntu 18 because of time and fear. I was pleasantly surprised to find Ubuntu 18 already has limited luks2 support so I can live with it for a few more years. Unless there are more ideas I will try this again only once Odroid updates the kernel past 4.19 and 'stable' Debian installer. Thanks

User avatar
tobetter
Posts: 3786
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: 29 times
Been thanked: 130 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Sat Jul 06, 2019 6:08 pm

I am not sure whether or not it's kernel problem since you had success with 4.14 on XU4 while problem happens with 4.9 on N2. I am wondering if another Ubuntu disro on N2 4.9 kernel can make difference since they share the kernel but some kernel config is different.

Is the typo what you say 4.19?

"Tapatalk wishes you to have fun with ODROID"


sha256
Posts: 85
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Sat Jul 06, 2019 7:30 pm

I meant: N2 = 4.9, XU4 = 4.14, but I may wait until Odroid release 4.19 or higher (5) because that matches the official Buster release.

I don't have much time/risk to try Ubuntu on N2 or Buster on XU4, so I relegate my N2 to being a VNC client and playing music and the XU4s for real jobs (put them on a UPS power for the whole battery thing).

It was worth a shot but for my needs this isn't ready. Eventually I'll replace it all with Debian (I'm not giving up). Appreciate the effort.

Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: Google [Bot] and 1 guest