Debian/Ubuntu Netboot Installer

Post Reply
odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Thu Feb 13, 2020 3:23 am

tobetter wrote:
Thu Feb 13, 2020 3:00 am
Just for the quick update, I managed to install Ubuntu 20.04 from the development branch and could run Mali driver
That is good news!
Your development and insights on this is much, much appreciated!

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Thu Feb 13, 2020 3:43 am

Thanks, maybe I would spend sometime soon to enable audio since I am able to see some patches from LibreElec and Batocera that enables it. I would gather the patches and put them together...:)

"Tapatalk wishes you to have fun with ODROID"

These users thanked the author tobetter for the post (total 2):
m8kbv (Thu Feb 13, 2020 6:11 am) • istanbulls (Fri Feb 14, 2020 3:58 pm)

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Thu Feb 13, 2020 5:35 am

tobetter wrote:
Thu Feb 13, 2020 3:43 am
enable audio since I am able to see some patches from LibreElec and Batocera that enables it. I would gather the patches and put them together...:)
It would be awesome if you could pull those patches in indeed, it seems to be a big issue currently with mainline and I don't see many kernels/images getting the audio working on mainline.
That would put your work-in-progress image quite a bit ahead of everyone else! (Obviously, you getting Wayland going on the G52 does as well!)

And also, that screenshot shows the demo running OpenGL ES 3.2! Nice!! :) That's pretty awesome indeed.
20.04 Focal Fossa (with the 19.10 Eoan Ermine wallpaper), all cores are going, the full 4 GB of memory is available, ethernet is clearly working, you got some (zram?) swap going! (I never understand why some images turn all swap off)...
And do I even see an OpenGL accelerated QT libs there as well? Cool! (That might be, perhaps, why SDDM isn't working right yet?)

Good work tobetter!

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Thu Feb 20, 2020 6:24 pm

So, at Manjaro.org they are also working at a hardware accelerated image for non-Bifrost devices, so using the Lima and Panfrost drivers, and also using OpenGL ES 2.0 with QT.
Perhaps it is of interest to read their status update on that here:
https://forum.manjaro.org/t/status-of-o ... ima/113591
and
https://forum.manjaro.org/t/how-to-enab ... ces/114885

They experience that a couple of apps refuse to work, among which (surprisingly so) is the Plasma desktop when using the Lima driver.
Just as a fyi to developers: I'd be more than happy to use an Odroid N2 accelerated image knowing some apps won't work! :)

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Sat Feb 22, 2020 7:52 pm

Updated to the latest 5.4.21 202002220108 kernel build.
No sound still, but also.... No visual glitches!
The update seems to have completely solved the visual flashes/glitches I had earlier!
So yet another step forward! Many thanks.

Oh, yeah, the missing window decoration around MPV in Wayland appears to be 'as designed', and this is accepted as-is ever since first diagnosed in 2016.
Apparently, the MPV app calls for some type of window decorations, which Wayland doesn't support.
So, neither gnome nor mpv feels obliged to solve that little issue. And wayland apparently is being wayland. So: No window decoration.
It appears that video players that fully support Wayland are few and far between.
More here: https://github.com/mpv-player/mpv/issues/3646

So, yeah.... nice...
People suggest using an XWayland backend/renderer in MPV, and setting a config file for using that as default.
Not yet gotten that to work though and not sure how that supports hardware acceleration if that is made to work.

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Mon Feb 24, 2020 7:20 pm

odroidn2user wrote:
Sat Feb 22, 2020 7:52 pm
Updated to the latest 5.4.21 202002220108 kernel build.
No sound still, but also.... No visual glitches!
The update seems to have completely solved the visual flashes/glitches I had earlier!
So yet another step forward! Many thanks.

Oh, yeah, the missing window decoration around MPV in Wayland appears to be 'as designed', and this is accepted as-is ever since first diagnosed in 2016.
Apparently, the MPV app calls for some type of window decorations, which Wayland doesn't support.
So, neither gnome nor mpv feels obliged to solve that little issue. And wayland apparently is being wayland. So: No window decoration.
It appears that video players that fully support Wayland are few and far between.
More here: https://github.com/mpv-player/mpv/issues/3646

So, yeah.... nice...
People suggest using an XWayland backend/renderer in MPV, and setting a config file for using that as default.
Not yet gotten that to work though and not sure how that supports hardware acceleration if that is made to work.
A workmate of mine made a change on top of 5.4 kernel and many upstream patches and have tested the audio still not 100% stable but works. :)
Can you please do these commands in the terminal?

Code: Select all

sudo addgroup $USER audio
sudo addgroup $USER pulse
sudo -s
amixer sset 'FRDDR_A SINK 1 SEL' 'OUT 1'
amixer sset 'FRDDR_A SRC 1 EN' 'on'
amixer sset 'TDMOUT_B SRC SEL' 'IN 0'
amixer sset 'TOHDMITX I2S SRC' 'I2S B'
amixer sset 'TOHDMITX' 'on'

amixer sset 'FRDDR_B SINK 1 SEL' 'OUT 2'
amixer sset 'FRDDR_B SRC 1 EN' 'on'
amixer sset 'TDMOUT_C SRC SEL' 'IN 1'
amixer sset 'TOACODEC I2S SRC' 'I2S C'
amixer sset 'TOACODEC I2S OUT EN' 'on'
amixer sset 'TOACODEC Lane Select' '0'
amixer sset 'ACODEC' '255'

alsactl store
reboot
These users thanked the author tobetter for the post (total 3):
istanbulls (Mon Feb 24, 2020 9:43 pm) • Payano (Mon Feb 24, 2020 10:28 pm) • bright_plastik (Wed Apr 29, 2020 12:42 am)

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: Debian/Ubuntu Netboot Installer

Post by istanbulls » Mon Feb 24, 2020 9:47 pm

tobetter wrote:
Mon Feb 24, 2020 7:20 pm

A workmate of mine made a change on top of 5.4 kernel and many upstream patches and have tested the audio still not 100% stable but works. :)
Can you please do these commands in the terminal?

Code: Select all

sudo addgroup $USER audio
sudo addgroup $USER pulse
sudo -s
amixer sset 'FRDDR_A SINK 1 SEL' 'OUT 1'
amixer sset 'FRDDR_A SRC 1 EN' 'on'
amixer sset 'TDMOUT_B SRC SEL' 'IN 0'
amixer sset 'TOHDMITX I2S SRC' 'I2S B'
amixer sset 'TOHDMITX' 'on'

amixer sset 'FRDDR_B SINK 1 SEL' 'OUT 2'
amixer sset 'FRDDR_B SRC 1 EN' 'on'
amixer sset 'TDMOUT_C SRC SEL' 'IN 1'
amixer sset 'TOACODEC I2S SRC' 'I2S C'
amixer sset 'TOACODEC I2S OUT EN' 'on'
amixer sset 'TOACODEC Lane Select' '0'
amixer sset 'ACODEC' '255'

alsactl store
reboot
I tried, the sound works for me
These users thanked the author istanbulls for the post:
tobetter (Mon Feb 24, 2020 9:57 pm)

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Tue Feb 25, 2020 12:15 am

tobetter wrote:
Mon Feb 24, 2020 7:20 pm
A workmate of mine made a change on top of 5.4 kernel and many upstream patches and have tested the audio still not 100% stable but works. :)
Can you please do these commands in the terminal?
I'll be .... It works!!
The HDMI output, outputs actual audio.
I like it, I like it a lot. Perhaps I even like it a little too much. :)

Strange enough, I now get two options in Gnome:
- Multichannel Output - Built-in Audio
- Analog Output - Built-in Audio

Both of which direct audio to the connected HDMI.
Neither of which goes to the headphone jack.
And Multichannel Output about double the volume of Analog Output

Did I see the audio output is mono? Update: nope, is stereo.

Unrelated: The headphone jack gives quite a bit of static/buzzing.
Not sure what that is about. That as a side note.

Hmm... The visual glitches thing appears not completely solved.
Could that be a wonky HDMI cable? Update: I don't think it is.
Anyone else have those flashes / glitches?

Gnome Video actually works quite nice, for playing video.
Last edited by odroidn2user on Tue Feb 25, 2020 3:06 am, edited 3 times in total.

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: Debian/Ubuntu Netboot Installer

Post by istanbulls » Tue Feb 25, 2020 1:44 am

I don't use headphones, N2 AVR is connected to the system.
Multi-channel output, mono

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: Debian/Ubuntu Netboot Installer

Post by istanbulls » Tue Feb 25, 2020 6:51 pm

Petitboot versions: 20200224

It stays on the black screen with the uSD slot.
Worked smoothly with USB adapter. I made updates and adjustments, I made it 5-6 times close-open. It was working without any problems.
It does not open today
Everything is the same, I did not change. I slept and woke up, only the position of the sun changed. But it does not open today.

The same problem happened the day before and it did not open. Is it a coincidence that after making the sound patch?
I did a new installation all night and I have the same problem.
Also, I made more than one close-open after the patch of sound.


The screen looks like this when opening for the first time.
WhatsApp Image 2020-02-25 at 11.53.08.jpeg
WhatsApp Image 2020-02-25 at 11.53.08.jpeg (211.35 KiB) Viewed 5309 times
This is the next screenshot. This image remains stable for about 30 seconds.
WhatsApp Image 2020-02-25 at 11.53.08 (1).jpeg
WhatsApp Image 2020-02-25 at 11.53.08 (1).jpeg (122.75 KiB) Viewed 5309 times
This last image continues to fail this way.
WhatsApp Image 2020-02-25 at 11.53.08 (2).jpeg
WhatsApp Image 2020-02-25 at 11.53.08 (2).jpeg (315.38 KiB) Viewed 5309 times

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Tue Feb 25, 2020 7:23 pm

@istanbulls, I think I also encountered a similar issue when SD card is attached. Would you be able to test with SD card?

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: Debian/Ubuntu Netboot Installer

Post by istanbulls » Tue Feb 25, 2020 7:45 pm

tobetter wrote:
Tue Feb 25, 2020 7:23 pm
@istanbulls, I think I also encountered a similar issue when SD card is attached. Would you be able to test with SD card?
I did it with uSD Card.
The uSD slot has a black screen and never turns on.
It turns on with the USB adapter, but now it makes mistakes.
Attachments
WhatsApp Image 2020-02-25 at 13.42.23.jpeg
WhatsApp Image 2020-02-25 at 13.42.23.jpeg (46.54 KiB) Viewed 5297 times

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Tue Feb 25, 2020 7:51 pm

istanbulls wrote:
Tue Feb 25, 2020 7:45 pm
tobetter wrote:
Tue Feb 25, 2020 7:23 pm
@istanbulls, I think I also encountered a similar issue when SD card is attached. Would you be able to test with SD card?
I did it with uSD Card.
The uSD slot has a black screen and never turns on.
It turns on with the USB adapter, but now it makes mistakes.
Sorry, my mistake. Please test without SD card if blank screen or mmc -84 error happens.

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: Debian/Ubuntu Netboot Installer

Post by istanbulls » Tue Feb 25, 2020 8:02 pm

I have one eMMC and I use it for android.
If it doesn't work with uSD, I don't think of trying it. :)

Thank you <3

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Tue Feb 25, 2020 8:04 pm

istanbulls wrote:I have one eMMC and I use it for android.
If it doesn't work with uSD, I don't think of trying it. :)

Thank you <3
Oh...then maybe you can try attaching SD to USB card reader if the error comes from SD or a file system. If you do not have any issue with SD-USB card reader, I believe it's the kernel problem to fix.

"Tapatalk wishes you to have fun with ODROID"


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: Debian/Ubuntu Netboot Installer

Post by istanbulls » Tue Feb 25, 2020 8:42 pm

tobetter wrote:
Tue Feb 25, 2020 8:04 pm
istanbulls wrote:I have one eMMC and I use it for android.
If it doesn't work with uSD, I don't think of trying it. :)

Thank you <3
Oh...then maybe you can try attaching SD to USB card reader if the error comes from SD or a file system. If you do not have any issue with SD-USB card reader, I believe it's the kernel problem to fix.

"Tapatalk wishes you to have fun with ODROID"
Worked smoothly with the uSD-USB card reader.
Last night, I restarted 6-7 times until morning, no problem.
I had these problems when I opened it again today.
How can I edit the core issues that need to be edited, do you have any ideas? Is there anything instructive?

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: Debian/Ubuntu Netboot Installer

Post by Sav » Tue Feb 25, 2020 8:49 pm

istanbulls wrote:
Tue Feb 25, 2020 8:42 pm

Worked smoothly with the uSD-USB card reader.
Last night, I restarted 6-7 times until morning, no problem.
I had these problems when I opened it again today.
How can I edit the core issues that need to be edited, do you have any ideas? Is there anything instructive?
Maybe the last time you shutted down something went wrong and some files were corrupted.
If you have another pc with linux installed, you can check the file system running

Code: Select all

fsck /dev/sdb
assuming sdb is the uSD-USB card reader.

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: Debian/Ubuntu Netboot Installer

Post by istanbulls » Wed Feb 26, 2020 12:11 am

Sav wrote:
Tue Feb 25, 2020 8:49 pm
istanbulls wrote:
Tue Feb 25, 2020 8:42 pm

Worked smoothly with the uSD-USB card reader.
Last night, I restarted 6-7 times until morning, no problem.
I had these problems when I opened it again today.
How can I edit the core issues that need to be edited, do you have any ideas? Is there anything instructive?
Maybe the last time you shutted down something went wrong and some files were corrupted.
If you have another pc with linux installed, you can check the file system running

Code: Select all

fsck /dev/sdb
assuming sdb is the uSD-USB card reader.
Thanks for your help.
I made a new clean installation.

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Wed Feb 26, 2020 4:31 pm

Strange enough my install also doesn't want to boot anymore.
Probably just a weird coincidence, switching between the Ubuntu 19.04 with 5.4 on eMMC and Manjaro on SD.
And that is not something that the Odroid N2 does gladly. It somehow seems to only work if I have the N2 off the power for a while.

Last action was, I installed Dash to Panel on Ubuntu, somehow got a crash, and it didn't want to go again after.
I remember getting a comparable result earlier not long after installing dash to panel. Might be something to test?

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

Re: Debian/Ubuntu Netboot Installer

Post by wallyz21 » Sat Feb 29, 2020 11:38 am

odroidn2user wrote:
Wed Feb 26, 2020 4:31 pm
Strange enough my install also doesn't want to boot anymore.
Probably just a weird coincidence, switching between the Ubuntu 19.04 with 5.4 on eMMC and Manjaro on SD.
And that is not something that the Odroid N2 does gladly. It somehow seems to only work if I have the N2 off the power for a while.

Last action was, I installed Dash to Panel on Ubuntu, somehow got a crash, and it didn't want to go again after.
I remember getting a comparable result earlier not long after installing dash to panel. Might be something to test?
I'm not completely sure about this but on the Manjaro site I think it states you must boot Manjaro on the N2 off the eMMc it is a known fault that it doesn't work with the uSD.
Walter Zambotti
N2 - Ubuntu Mate Desktop

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Sun Mar 01, 2020 11:08 pm

wallyz21 wrote:
Sat Feb 29, 2020 11:38 am
I'm not completely sure about this but on the Manjaro site I think it states you must boot Manjaro on the N2 off the eMMc it is a known fault that it doesn't work with the uSD.
Yeah, the not-booting-from-SD issue is solved for Manjaro, it was a bad copy/paste basically, can now easily be fixed.

And I find no problem with the dash to panel extension using the 202001 net boot image from tobetter. Tried it again, now works.
Still get the flashes/glitches, that's not gone with the updates or different cables I tried yet. That might be just me though.

Update: hooked the Odroid N2 with the 202001 net boot image from tobetter up to my big screen TV using an HDMI cable in use with a gaming console.
I don't quite detect any glitches there. So while my usual HDMI cables don't show these falshy/glitchy issues normally or elsewhere, it appears they are faulty at least in combo with the Odroid N2.
So, that appears to just be my cables.
FYI.

Did I already mention that this 202001 ubuntu 19.04 net boot image rocks!? Well, it does. Awesome, awesome, awesome.
And Totem a.k.a. Gnome Video actually works surprisingly well on it, also on a big screen TV. All works nicely. (No 4K video or HEVC at 1080p though.)
So, now... audio headphones and .... VPU? ;)

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by CoolGames » Wed Mar 04, 2020 10:09 pm

Let the MUSIC move you !

Is there a path to a distribution update in repositories planned or just netboot installer ?
I have stock 18.04 lts from eMMC purchase and have added many packages.

I have other Intel machines running 18.10 awaiting 19.04 lts in April so was
wondering how stable non-Intel distributions are.

I have been using N2 for browsing as it failed to do USB Audacity from vinyl test.
I have to rethink the single USB split on 4 USB 3.0 ports for DJ application.

There are two USB 2.0 Midi devices connected with hub as forth USB.
Other three are filled with 2.0 keyboard, wifi and BT.
I have untested USB 3.0-C external drive so watching for add on daughter card.

Am using audio jack now but Numark Party Mix has two additional stereo outs on Intel config.
One for DJ headphones and other for mains.

I use ssh -X to N2 display over eth0 to get a feel for target configuration (less Intel component).
I will experiment latency with N2 audio and slave Intel audio Mixxx app to Numark's 2 stereo outputs.

Here is Intel (not me) doing the deed...
[youtube] https://www.youtube.com/watch?v=X9M4wI4t4PY [/youtube]

I was surprised that a N2 based media center can't do USB vinyl capture.

I tried netboot installer but without audio it was anti-climatic.
Last edited by CoolGames on Wed Mar 04, 2020 10:53 pm, edited 1 time in total.

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Wed Mar 04, 2020 10:52 pm

CoolGames wrote:
Wed Mar 04, 2020 10:09 pm
Let the MUSIC move you !

Is there a path to a distribution update in repositories planned or just netboot installer ?
I have stock 18.04 lts from eMMC purchase and have added many packages.
The repository is public but it won't work with the stock 18.04 image since the kernel package from my repository is not going to be installed into a FAT partition.
I have other Intel machines running 18.10 awaiting 19.04 lts in April so was
wondering how stable non-Intel distributions are.
Are you meaning 19.04 or 20.04?
I have been using N2 for browsing as it failed to do USB Audacity from vinyl test.
I have to rethink the single USB split on 4 USB 3.0 ports for DJ application.

There are two USB 2.0 Midi devices connected with hub as forth USB.
Other three are filled with 2.0 keyboard, wifi and BT.
I have untested USB 3.0-C external drive so watching for add on daughter card.

Am using audio jack now but Numark Party Mix has two additional stereo outs on Intel config.
One for DJ headphones and other for mains.

I use ssh -X to N2 display over eth0 to get a feel for target configuration (less Intel component).
I will experiment latency with N2 audio and slave Intel audio Mixxx app to Numark's 2 stereo outputs.

Here is Intel (not me) doing the deed...
[youtube] https://youtu.be/X9M4wI4t4PY [/youtube]

I was surprised that a N2 based media center can't do USB vinyl capture.

I tried netboot installer but without audio it was anti-climatic.
For the audio output, you need to activate it manually. Please visit the link for the instruction.
viewtopic.php?p=284744#p282938

I've seen you had created your own thread which is good. :)

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by CoolGames » Wed Mar 04, 2020 11:00 pm

Thanks,
@tobetter !
I am willing to try eMMC based work in progress as USB3.0 eMMC flasher is wicked fast but I loose my added apps and starting over
each time is time consuming which is why I am looking for a way to do the test install from repository and not Netboot.

Yes, I meant 20.04 as I began with Intel on 17.04 then now at 19.10.
Names get confusing on three Intel test devices.
Worst test device was Insignia Flex - 11.6" - Atom Z3735F - 2 GB RAM - 32 GB running shoe horned Ubuntu Studio low latency 19.10 , which can pass USB tests I do here but is way slow in other ways.

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by CoolGames » Sun Mar 15, 2020 1:03 am

Update for readers and developers.
I am back to eMMC with netboot installer but not getting HDMI (or any) pulseaudio working.
Please, post steps from flash image to uSD the modify preseed.ini

disco-odroid-n2_202002291258_arm64_netinst.img

Code: Select all

;
; Ubuntu 19.04 (Disco Dingo) Installer
;

; Set as 'false' if you like to install manually from scratch.
di_auto=true

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; NOTE: the value below only affects when 'di_auto=true'.           ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Uncomment one to use a installation profile
;
;                 'minimal' -> Bare minimal Ubuntu server
;    'ubuntu-gnome-desktop' -> GNOME Desktop
;
;di_profile=minimal
di_profile=ubuntu-gnome-desktop
and install wayland and execute above POSTED commands
Post by tobetter » Mon Feb 24, 2020 5:20 am


I found how to stop the demon after boot and get command line control for debug
but not sure what I should be seeing with ALSA and PULSEAUDIO.

Code: Select all

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: G12AODROIDN2 [G12A-ODROIDN2], device 0: fe.dai-link-0 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: G12AODROIDN2 [G12A-ODROIDN2], device 1: fe.dai-link-1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: G12AODROIDN2 [G12A-ODROIDN2], device 2: fe.dai-link-2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$
$ systemctl --user stop pulseaudio.socket && systemctl --user stop pulseaudio.service
$ pulseaudio -D
$ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <auto_null>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 344 KiB
	max rewind: 344 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 15
	properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"
$ pulseaudio -k
$ pacmd list-sinks
No PulseAudio daemon running, or not running as session daemon.
$ uname -a
Linux cooldroidn2 5.4.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.4.25-202003140746~disco (2020-03-13) aarch64 aarch64 aarch64 GNU/Linux
$ 


odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Sun Mar 15, 2020 3:56 am

CoolGames wrote:
Sun Mar 15, 2020 1:03 am
Update for readers and developers.
I am back to eMMC with netboot installer but not getting HDMI (or any) pulseaudio working.
Please, post steps from flash image to uSD the modify preseed.ini

disco-odroid-n2_202002291258_arm64_netinst.img
Well, on a fresh install, you should be able to execute the steps described by tobetter to configure the audio.
Then reboot and audio should go. That is: audio over hdmi.

But then, I notice you are using a 202002 image, whereas previously I tested this on an 202001 image.
Perhaps tobetter changed something, perhaps the newer kernel/configuration works differently?
Tobetter probably could answer your questions, or perhaps you could download the 202001 image again.

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Sun Mar 15, 2020 8:59 pm

@CoolGames, If you want to install Ubuntu 19.04 to SD instead of eMMC, you must change the value from "disk=/dev/mmcblk0" to "disk=/dev/mmcblk1" at the bottom of the presee.ini. This option will overwrite the installer image on the SD card with Ubuntu OS. For the audio problem through HDMI, please check if you have /var/lib/alsa/asound.state after following up on the instruction I posted in the link. If you do not have the file, your audio set up is incomplete I thin.
viewtopic.php?f=182&t=37109&p=285956&hi ... ot#p282938

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Sun Mar 15, 2020 9:35 pm

For a quick update, I've spent some time playing with KDE on Ubuntu 19.04 at home whenever I have time but no luck. The major issue I found is that KDE support with Wayland is not that mature, specifically on ARM64, not sure how it is good at x86, so I had to compile and compile and compile the packages for KDE desktop which becomes like the version packaged for Ubuntu 20.04. So what I decide is that I am switching to play with Ubuntu 20.04 which is coming in 1.5 months. I already have Ubuntu 20.04 version running on ODROID-N2, obviously, you guys can try at your own risk if you want. One major issue I found on ODROID-N2 is that the mouse cursor is invisible for Gnome desktop and the KDE screen is not properly working. I will look for a solution if this problem persists after March/19 when "User interface Freeze" according to the 20.04 release plan. Even if I am going to focus on Ubuntu 20.04, it won't stop supporting Linux 5.x kernel update for Debian 9/10 or Ubuntu 18.04/19.04, my build machine always keep building whenever change is made.

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by CoolGames » Mon Mar 16, 2020 7:28 am

odroidn2user wrote:
Sun Mar 15, 2020 3:56 am
CoolGames wrote:
Sun Mar 15, 2020 1:03 am
Update for readers and developers.
I am back to eMMC with netboot installer but not getting HDMI (or any) pulseaudio working.
Please, post steps from flash image to uSD the modify preseed.ini

disco-odroid-n2_202002291258_arm64_netinst.img
Well, on a fresh install, you should be able to execute the steps described by tobetter to configure the audio.
Then reboot and audio should go. That is: audio over hdmi.

But then, I notice you are using a 202002 image, whereas previously I tested this on an 202001 image.
Perhaps tobetter changed something, perhaps the newer kernel/configuration works differently?
Tobetter probably could answer your questions, or perhaps you could download the 202001 image again.
I am waiting for AUDIO to resolve on it's own in unmodified netboot installer.
I am happy with 202002 without AUDIO more than stepping back to flashing 202001.
The objective is Desktop SBC which will run Ubuntu Studio for streaming real time music and video.

I am using the Odroid N2 all day as primary device to beat on it in silent mode.
It is promising and @tobetter is to be congratulated for his efforts.
Let's all let him work and not pressure the AUDIO and not slow him with additional "special projects" like
answering my questions when others could step in and explain what they have accomplished.

I been there with Sound Blaster before Creative Labs and Truevision TARGA 64.
Google it...
The first manufacturer of a truecolor graphics card for PCs (the TARGA) was Truevision in 1987
https://en.wikipedia.org/wiki/Truevision_TGA

The Sound Blaster 1.0 (code named "Killer Kard"),[3] CT1320A, was released in 1989.
"The PC Sound Standard"
https://mechafatnick.co.uk/2018/09/03/i ... d-options/

Soon I will show another visionary from 1995 that I stream video for in 1995 as he did a similar task and succeeded
with a little help from his friends.
Just waiting for permission to share the event video.

Lee
Event Video Multimedia
and
Cool Games Network

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Sat Mar 21, 2020 10:31 pm

CoolGames wrote:
Mon Mar 16, 2020 7:28 am
I am waiting for AUDIO to resolve on it's own in unmodified netboot installer.
I am happy with 202002 without AUDIO more than stepping back to flashing 202001.
The objective is Desktop SBC which will run Ubuntu Studio for streaming real time music and video.
I bought a usb audio card, which works on the Odroid N2... just not on the 202001 kernel from tobetter.
It seems like perhaps usb audio card modules aren't available, or something.
Not sure, works elsewhere though, but then no hardware acceleration, that's only with tobetter right now. :)
tobetter wrote:
Sun Mar 15, 2020 9:35 pm
For a quick update, I've spent some time playing with KDE on Ubuntu 19.04 at home whenever I have time but no luck. The major issue I found is that KDE support with Wayland is not that mature
Yeah, it seems kde wayland not actually usuable, based on reports from others... Sadly.
tobetter wrote:
Sun Mar 15, 2020 9:35 pm
So what I decide is that I am switching to play with Ubuntu 20.04 which is coming in 1.5 months. I already have Ubuntu 20.04 version running on ODROID-N2, obviously, you guys can try at your own risk if you want. One major issue I found on ODROID-N2 is that the mouse cursor is invisible for Gnome desktop and the KDE screen is not properly working. I will look for a solution if this problem persists after March/19 when "User interface Freeze" according to the 20.04 release plan. Even if I am going to focus on Ubuntu 20.04, it won't stop supporting Linux 5.x kernel update for Debian 9/10 or Ubuntu 18.04/19.04, my build machine always keep building whenever change is made.
Well, I wouldn't have expected me to say this, but I'm actually OK not having KDE Plasma. I found ubuntu gnome with some well tuned extensions works perfectly fine for me! Well, blimey! Who would've thunk, but the extensions really make things usable. You can create a normal layout, with taskbar at the bottom (dash to panel), start menu (arc menu), themes (arc), etc. Things look and feel a bit like how the Zorin OS is setup that way. I actually really like Gnome 3 setup like that. The 202001 image really works nicely set up like that, and also did a comparable configuration on a Raspberry Pi 4. Gnome 3 is surprisingly usable.

It is a little weird that the mouse cursor isn't visible, that seems like a pretty major oversight! :) If you got a mouse cursor going, I'd love to a have a look and test!

Thanks again for your work on the N2 tobetter!

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by CoolGames » Sat Mar 28, 2020 8:30 am

ir_Testing_NEC.txt
Step by Step dectect , configure and test IR remote
(2.8 KiB) Downloaded 14 times
I have the standard 18.04 lts running without MIXXX app available for Odroid N2 in recommended system image.
Everything works as expected enough to use a daily workstation on a HDTV 1920x1080 screen resolution.

I attached my work in progress for the control I got from Ameridroid that was suppose to be for Odroid N2 but only POWER on worked at first.

Wiki said one manufacturer but ir-keytable detected another 0xB2

Nothing is passing to system yet.

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Mon Mar 30, 2020 8:49 pm

Tried the 19.04 202003 testing package, visual glitches still happening with all my hardware. Otherwise the Mali Wayland packages work right. The visual glitches thing happens with and without the Mali Wayland drivers. It seems to be a kernel issue. Perhaps some missing error handling or missing sync stuff or something like that. The 4.9 kernel series works right, but doesn't have the Mali Wayland packages. The onboard audio still not supported. Also, usb audio drivers still seem to be missing for externel audio devices, at least: mine wasn't supported.

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Mon Mar 30, 2020 9:19 pm

odroidn2user wrote:
Mon Mar 30, 2020 8:49 pm
Tried the 19.04 202003 testing package, visual glitches still happening with all my hardware. Otherwise the Mali Wayland packages work right. The visual glitches thing happens with and without the Mali Wayland drivers. It seems to be a kernel issue. Perhaps some missing error handling or missing sync stuff or something like that. The 4.9 kernel series works right, but doesn't have the Mali Wayland packages. The onboard audio still not supported. Also, usb audio drivers still seem to be missing for externel audio devices, at least: mine wasn't supported.
The glitch problem, I guess, kernel issue in my observation. I have not investigated it yet since I am looking at another chance Linux 4.9 which is not optimistic, unfortunately. For the audio issue, aren't you able to enable onboard HDMI audio put after applying a command in my previous post?

In addition, I've found 5.6 kernel is out and I've just applied the bare minimal patches and it boots up. But still has to apply more patches from 5.4.

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Tue Mar 31, 2020 12:42 am

As enthusiastic as I am over this device, its prospects and your working Mali Wayland image, it seem to just miss out in every use case I have in mind for it... :) Waiting patiently for things to improve. I'm thinking we got the Gnome and Wayland stuff mostly covered (??) but the kernel really needs to catch up on the visual glitching thing, the audio and the power management (and preferably the VPU).

For daily driver stuff the 4.9 kernel doesn't support my monitor (1400x1050) and the 5.4 does, but glitches and no audio jack. The HDMI audio is nice, but my monitor doesn't do audio, I need an audio jack connection there. And the 5.4 doesn't support my usb audio card. And even if that works, we still have the visual glitching thing.
For TV use, the the 4.9 has audio and video playing with Firefox and that is certainly good enough, but video files... not so much. And 5.x does Firefox AND video files (somewhat) AND HDMI audio, but then: visual glitches. CoreElec works, but can't surf with it. Need both.

So yeah... it narrowly and somewhat excruciatingly just manages to miss out on my use cases for the N2. But that's all a work in progress...
Still love the luxurious feeling of seeing the full, glorious Ubuntu Gnome on the Odroid N2. Only to change it all into something actually workable using theming and extensions, but still. The 2020 ubuntu installer/image really is wonderful.
Last edited by odroidn2user on Tue Mar 31, 2020 1:29 am, edited 1 time in total.

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Tue Mar 31, 2020 1:09 am

odroidn2user wrote:
Tue Mar 31, 2020 12:42 am
As enthusiastic as I am over this device, its prospects and your working Mali Wayland image, it seem to just miss out in every use case I have in mind for it... :) Waiting patiently for things to improve. I'm thinking we got the Gnome and Wayland stuff mostly covered (??) but the kernel really needs to catch up on the visual glitching thing, the audio and the power management (and preferably the VPU).

For daily driver stuff the 4.9 kernel doesn't support my monitor (1400x1050) and the 5.4 does, but glitches and no audio jack. The HDMI audio is nice, but my monitor doesn't do audio, I need an audio jack connection there. And the 5.4 doesn't support my usb audio card. And even if that works, we still have the visual glitching thing.
For TV use, the the 4.9 has audio and video playing with Firefox and that is certainly good enough, but video files... not so much. And 5.x does Firefox AND video files (somewhat) AND HDMI audio, but then: visual glitches. CoreElec works, but can't surf with it. Need both.

So yeah... it narrowly and somewhat excruciatingly just manages to miss out on my use cases for the N2. But that's all a work in progress...
Still love the luxurious feeling of seeing the full, glorious Ubuntu Gnome on the Odroid N2. Only to change it all into something actually workable using theming and extensions, but still. The 2020 image really is wonderful.
What's the product of your audio device? I would be able to check if its driver is missing.

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Tue Mar 31, 2020 1:32 am

it is a Behringer UCA202. Also, lsusb calls it: Texas Instruments PCM2902 Audio Codec.
Seems to be well supported with Linux otherwise, thinking you missed a module perhaps?

Have another usb audio device, a logitech usb speaker set (this one):
Bus 004 Device 003: ID 1130:1620 Tenx Technology, Inc. USB AUDIO
Also doesn't enable on the 2020 5.4 kernel, whereas elewhere it works...

On Manjaro ARM on a RK3399 this happens with dmesg:

The logitech usb speaker set:

Code: Select all

[ 6040.033317] usb 4-1: new full-speed USB device number 4 using ohci-platform
[ 6040.302477] usb 4-1: New USB device found, idVendor=1130, idProduct=1620, bcdDevice= 1.40
[ 6040.302509] usb 4-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 6040.302526] usb 4-1: Product: USB  AUDIO  
[ 6040.343469] usb 4-1: Warning! Unlikely big volume range (=17152), cval->res is probably wrong.
[ 6040.343494] usb 4-1: [2] FU [PCM Playback Volume] ch = 2, val = 0/17152/1
[ 6040.348542] input: USB  AUDIO   as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.2/0003:1130:1620.000B/input/input17
[ 6040.424130] hid-generic 0003:1130:1620.000B: input,hidraw2: USB HID v1.10 Device [USB  AUDIO  ] on usb-fe3e0000.usb-1/input2
The Behringer UCA202:

Code: Select all

[ 6125.559403] usb 4-1: USB disconnect, device number 4
[ 6140.663401] usb 4-1: new full-speed USB device number 5 using ohci-platform
[ 6140.937685] usb 4-1: New USB device found, idVendor=08bb, idProduct=2902, bcdDevice= 1.00
[ 6140.937718] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6140.937736] usb 4-1: Product: USB Audio CODEC 
[ 6140.937752] usb 4-1: Manufacturer: Burr-Brown from TI              
[ 6141.039936] input: Burr-Brown from TI               USB Audio CODEC  as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.3/0003:08BB:2902.000C/input/input18
[ 6141.104108] hid-generic 0003:08BB:2902.000C: input,hidraw2: USB HID v1.00 Device [Burr-Brown from TI               USB Audio CODEC ] on usb-fe3e0000.usb-1/input3
Plug it in, audio comes on automatically.

On the Odroid N2 with the 5.4 kernel:

Code: Select all

[   57.612223] usb 1-1.4: new full-speed USB device number 4 using xhci-hcd
[   57.814724] input: Burr-Brown from TI               USB Audio CODEC  as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.3/0003:08BB:2902.0004/input/input6
[   57.873688] hid-generic 0003:08BB:2902.0004: input: USB HID v1.00 Device [Burr-Brown from TI               USB Audio CODEC ] on usb-xhci-hcd.0.auto-1.4/input3
Just that.

And:

Code: Select all

[  216.583751] usb 1-1.4: new full-speed USB device number 5 using xhci-hcd
[  216.757715] input: USB  AUDIO   as /devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4:1.2/0003:1130:1620.0005/input/input7
[  216.817221] hid-generic 0003:1130:1620.0005: input: USB HID v1.10 Device [USB  AUDIO  ] on usb-xhci-hcd.0.auto-1.4/input2
So, they are registered as a new usb connection, just not as a valid and usable usb audio card.
Audio output in Gnome keeps saying 'Dummy Output'

Update: Man, the 202003 images works so well! Gnome works well with Wayland, Firefox Wayland works smoothly, switching between fullscreen and normal in Youtube is way smoother then I've seen elsewhere, Totem / Gnome Video totally works smoothly... When the audio kicks in and the visual glitches thing is solved... Awesome! Love it, love it, love it.

And I noticed you got the power management thing going right with this image as compared to normal mainline kernels. It works so well. Wow.

Also, to be clear, the commands to get the audio working (over hdmi), actually still works well on this kernel: Linux disco 5.4.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.4.28-202003260904~disco (2020-03-26) aarch64 aarch64 aarch64 GNU/Linux
And with this one as well: Linux disco 5.4.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.4.28-202003302110~disco (2020-03-30) aarch64 aarch64 aarch64 GNU/Linux

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Tue Mar 31, 2020 11:40 pm

@odroidn2user, please do update new kernel with apt update && apt upgrade.

Code: Select all

$ uname -a
Linux ubuntu 5.4.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.4.28-202003312239~disco (2020-03-31) aarch64 aarch64 aarch64 GNU/Linux
I've enabled more USB sound drivers, but you have to manually add your account to the ground audio. I did this after updating the kernel package and rebooted.

Code: Select all

$ sudo addgroup tobetter audio
I don't think this is the right way, but this is the way to enable USB audio I have.

Please let me know how it goes.
These users thanked the author tobetter for the post (total 2):
odroidn2user (Wed Apr 01, 2020 2:45 am) • odroid (Wed Apr 01, 2020 9:37 am)

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Wed Apr 01, 2020 2:45 am

tobetter wrote:
Tue Mar 31, 2020 11:40 pm
I don't think this is the right way, but this is the way to enable USB audio I have.

Please let me know how it goes.
I was already in the audio groups because of the commands to get the audio over hdmi working.
Did the update, and...

It works like a charm!!

Plug and play. Both.

You, sir, Rock!
These users thanked the author odroidn2user for the post:
tobetter (Wed Apr 01, 2020 2:54 am)

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Fri Apr 03, 2020 3:09 am

tobetter wrote:
Mon Mar 30, 2020 9:19 pm
The glitch problem, I guess, kernel issue in my observation. I have not investigated it yet since I am looking at another chance Linux 4.9 which is not optimistic, unfortunately. For the audio issue, aren't you able to enable onboard HDMI audio put after applying a command in my previous post?

In addition, I've found 5.6 kernel is out and I've just applied the bare minimal patches and it boots up. But still has to apply more patches from 5.4.
Interesting...
I've loaded up Armbian (Odroid N2, XFCE, Bionic), which has a 5.4.27 (after update 5.4.28) kernel as well. It doesn't seem to do the glitching thing.

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:

Debian/Ubuntu Netboot Installer

Post by Sav » Fri Apr 03, 2020 3:29 am

Maybe is a problem related to the window manager


Inviato dal mio iPad utilizzando Tapatalk

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Fri Apr 03, 2020 4:29 am

Sav wrote:
Fri Apr 03, 2020 3:29 am
Maybe is a problem related to the window manager
Yeah, but Manjaro does KDE Plasma on Xorg and tobetter has Ubuntu Gnome. Both have the glitching.
And then, Ubuntu Gnome does it with both Mali Wayland and without with Xorg.

Manjaro is a little difficult to test without prebuilt images, but I'll have to give Manjaro KDE another go.

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Fri Apr 03, 2020 5:03 am

I am still suspecting that the glitch problem happens in the kernel and it happens more frequently when the bunch of a small part of the screen is updating. Still not found the best way to debugging. I've observed a similar glitch issue even from a minimal image. Still not figure out the best way to debug it. KDE on the Wayland is a bit worse, I guess it's not solely KDE problem. I've purchased HDMI screen grabbing device which is coming in a couple of days, I hope I can share more clearly what's what.

By the way, is it worth to start Ubuntu 20.04 if I can share the way how you guys can install Ubuntu 20.04 on ODROID-N2?

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Fri Apr 03, 2020 5:25 am

tobetter wrote:
Fri Apr 03, 2020 5:03 am
I am still suspecting that the glitch problem happens in the kernel and it happens more frequently when the bunch of a small part of the screen is updating. Still not found the best way to debugging. I've observed a similar glitch issue even from a minimal image. Still not figure out the best way to debug it. KDE on the Wayland is a bit worse, I guess it's not solely KDE problem. I've purchased HDMI screen grabbing device which is coming in a couple of days, I hope I can share more clearly what's what.
Yeah, that's my thinking as well, the kernel thing. But then Armbian didn't have the glitching... Which was surprising.
So different set of kernel patches for the Armbian kernel, or XFCE does things differently.
But then if you got it on the minimal, then I'm back to kernel patches/configuration...
tobetter wrote:
Fri Apr 03, 2020 5:03 am
By the way, is it worth to start Ubuntu 20.04 if I can share the way how you guys can install Ubuntu 20.04 on ODROID-N2?
If it isn't too much of a hassle on your part, I'd love to have a play around with it. And it seems I have some time on my hands soon...

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Fri Apr 03, 2020 6:45 am

Sav wrote:
Fri Apr 03, 2020 3:29 am
Maybe is a problem related to the window manager
I just installed ubuntu-desktop on Armbian. I got 3.28.2 64bit.
Works, without glitching. So, I\m guessing it isn't the window manager.
Well, not outright.
Not sure what exactly was patched to get Gnome working with Wayland on tobetter's image, but normal gnome doesn't glitch on Armbian's 4.5 kernel.
And given that the glitching isn't Mali-Wayland-patched-Gnome specific, I'm thinking it isn't the window manager.

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Fri Apr 03, 2020 7:46 am

odroidn2user wrote:
Fri Apr 03, 2020 6:45 am
Sav wrote:
Fri Apr 03, 2020 3:29 am
Maybe is a problem related to the window manager
I just installed ubuntu-desktop on Armbian. I got 3.28.2 64bit.
Works, without glitching. So, I\m guessing it isn't the window manager.
Well, not outright.
Not sure what exactly was patched to get Gnome working with Wayland on tobetter's image, but normal gnome doesn't glitch on Armbian's 4.5 kernel.
And given that the glitching isn't Mali-Wayland-patched-Gnome specific, I'm thinking it isn't the window manager.
I don't have a patch for Gnome desktop packages at all. I've not tested the Armbian image but curious if they use Wayland+DRM.
If you have the Petitboot 20200224, the Petitboot will load Ubuntu 20.04 Netboot Installer using PXE, but you have to manually run the command pb-event url@/net/eth0 url=http://ppa.linuxfactory.or.kr/installer/pxeboot/ODROID-N2/default in the Petitboot shell.
viewtopic.php?f=182&t=33873#p282985

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Fri Apr 03, 2020 4:32 pm

tobetter wrote:
Fri Apr 03, 2020 7:46 am
I don't have a patch for Gnome desktop packages at all. I've not tested the Armbian image but curious if they use Wayland+DRM.
No wayland there. Not sure how to detect DRM, I'm guessing that is default. But yeah, no wayland with the drm.

tobetter wrote:
Fri Apr 03, 2020 7:46 am
If you have the Petitboot 20200224, the Petitboot will load Ubuntu 20.04 Netboot Installer using PXE, but you have to manually run the command pb-event url@/net/eth0 url=http://ppa.linuxfactory.or.kr/installer/pxeboot/ODROID-N2/default in the Petitboot shell.
viewtopic.php?f=182&t=33873#p282985
So, I have an interesting morning.
The Odroid with Armbian on SD (a Lexar) boots, but refuses to log in. Just shows a mouse cursor. Either with the Ubuntu Gnome or with XFCE. Tried it a couple of times, no luck. Worked fine yesterday when I shut it down.

So, back to the RockPro64, with Manjaro ARM on a Samsung T5 SSD, which boots over USB3, has Panfrost. A nice setup.
Also doesn't boot, like completely not. Worked fine when yesterday when I shut it down.

Well, I still have the tobetter ubuntu image going on the Odroid. Plug back in the eMMC. It boots.
I update to the 20200224 petitboot as linked. Now the SPI refuses to boot.
The update when correct, it erased, flashed and verified. But then... nothing.
The new petitboot doesn't AT ALL support my HDTV-monitor.
I tried another monitor (a new Dell), it shows the logo, gives a couple of error messages then, black screen nothing.
I grab my camera, reboot petitboot for a little photo show. The camera gives a long pause and a big flash, the text on screen was by then long gone. Switch off the flash, try again.
Only shows the HK-logo, doesn't even bother with the error messages any more.

So, yeah. Not all that excited abou tthe 20200224 petitboot.
And pretty annoyed with the completely unpredictable and unreliable behaviour of theseARM devices.

HAve to go find a working computer now, to download the older petitboot and try to get the Odroid going again.
Then have to find out what is wrong the RockPro. Both are now useless for trying to download and install the petitboot again.

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Fri Apr 03, 2020 4:58 pm

odroidn2user wrote:
Fri Apr 03, 2020 4:32 pm
tobetter wrote:
Fri Apr 03, 2020 7:46 am
I don't have a patch for Gnome desktop packages at all. I've not tested the Armbian image but curious if they use Wayland+DRM.
No wayland there. Not sure how to detect DRM, I'm guessing that is default. But yeah, no wayland with the drm.

tobetter wrote:
Fri Apr 03, 2020 7:46 am
If you have the Petitboot 20200224, the Petitboot will load Ubuntu 20.04 Netboot Installer using PXE, but you have to manually run the command pb-event url@/net/eth0 url=http://ppa.linuxfactory.or.kr/installer/pxeboot/ODROID-N2/default in the Petitboot shell.
viewtopic.php?f=182&t=33873#p282985
So, I have an interesting morning.
The Odroid with Armbian on SD (a Lexar) boots, but refuses to log in. Just shows a mouse cursor. Either with the Ubuntu Gnome or with XFCE. Tried it a couple of times, no luck. Worked fine yesterday when I shut it down.

So, back to the RockPro64, with Manjaro ARM on a Samsung T5 SSD, which boots over USB3, has Panfrost. A nice setup.
Also doesn't boot, like completely not. Worked fine when yesterday when I shut it down.

Well, I still have the tobetter ubuntu image going on the Odroid. Plug back in the eMMC. It boots.
I update to the 20200224 petitboot as linked. Now the SPI refuses to boot.
The update when correct, it erased, flashed and verified. But then... nothing.
The new petitboot doesn't AT ALL support my HDTV-monitor.
I tried another monitor (a new Dell), it shows the logo, gives a couple of error messages then, black screen nothing.
I grab my camera, reboot petitboot for a little photo show. The camera gives a long pause and a big flash, the text on screen was by then long gone. Switch off the flash, try again.
Only shows the HK-logo, doesn't even bother with the error messages any more.

So, yeah. Not all that excited abou tthe 20200224 petitboot.
And pretty annoyed with the completely unpredictable and unreliable behaviour of theseARM devices.

HAve to go find a working computer now, to download the older petitboot and try to get the Odroid going again.
Then have to find out what is wrong the RockPro. Both are now useless for trying to download and install the petitboot again.
Hmmm....what was the Petitboot version worked for you?

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Fri Apr 03, 2020 5:14 pm

the 201911 was working for me.
The link to the petitboot of 201911 is listed on the opening post, but links to a random post not anywhere near 201911.
It should be:
viewtopic.php?f=182&t=33873&start=500#p273785

I've tried loading it using the normal spitboot on SD card routine. That didn't take.
I managed (somehow, not sure) to boot the tobetter ubuntu image. Any way I could flash the spi from the console?

Ah, and thanks for making the tobetter ubuntu 202003 image bootable without spi/petitboot.

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: 485 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by tobetter » Fri Apr 03, 2020 6:40 pm

odroidn2user wrote:
Fri Apr 03, 2020 5:14 pm
the 201911 was working for me.
The link to the petitboot of 201911 is listed on the opening post, but links to a random post not anywhere near 201911.
It should be:
viewtopic.php?f=182&t=33873&start=500#p273785

I've tried loading it using the normal spitboot on SD card routine. That didn't take.
I managed (somehow, not sure) to boot the tobetter ubuntu image. Any way I could flash the spi from the console?

Ah, and thanks for making the tobetter ubuntu 2020 image bootable without spi/petitboot.
The Petitboot image 201911 what you mean by must be 20191127 that hits most downloaded so far.
In order to overwrite the SPI flash memory, please flash the recovery image from the link and put the version you have as 'spiboot.img'. The boot select switch must be placed to 'MMC' when power on.
https://wiki.odroid.com/odroid-n2/os_im ... ev20190417

Since the Petitboot is not working, I would prepare an installer. Even you can try to upgrade your Disco to Focal after updating the file in /etc/apt/* but...well...I've failed a couple of times the packages are not reliable.

odroidn2user
Posts: 212
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 51 times
Been thanked: 47 times
Contact:

Re: Debian/Ubuntu Netboot Installer

Post by odroidn2user » Fri Apr 03, 2020 8:04 pm

tobetter wrote:
Fri Apr 03, 2020 6:40 pm
The Petitboot image 201911 what you mean by must be 20191127 that hits most downloaded so far.
In order to overwrite the SPI flash memory, please flash the recovery image from the link and put the version you have as 'spiboot.img'. The boot select switch must be placed to 'MMC' when power on.
https://wiki.odroid.com/odroid-n2/os_im ... ev20190417

Since the Petitboot is not working, I would prepare an installer. Even you can try to upgrade your Disco to Focal after updating the file in /etc/apt/* but...well...I've failed a couple of times the packages are not reliable.
Yeah, I tried that, but strange enough the spiboot.img on the SD cardwas ignored. I now read that I should remove the eMMC. So, will give that a try later today.

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 0 guests