Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post Reply
User avatar
tobetter
Posts: 5878
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 248 times
Been thanked: 718 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by tobetter »

manpreet wrote:
Tue Sep 01, 2020 6:09 pm
I did create a seperate thread but seems this one works better
viewtopic.php?f=182&t=40141
Sorry, I missed the thread...Let's start over there. :)

manpreet
Posts: 44
Joined: Mon Jan 20, 2020 10:41 pm
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by manpreet »

Okay after using your preseed.cfg as provided I still get the same issue

brad
Posts: 1201
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 71 times
Been thanked: 123 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by brad »

tobetter wrote:
Tue Sep 01, 2020 11:34 am
brad wrote:
Mon Aug 31, 2020 1:11 pm
@tobetter I have a bit more feed back for the kernel package as well, I'm not sure how difficult or what problems might be caused but I thought i would ask.

- ability to have another kernel branch installed for real time (eg 5.8.0-rt-odroid-arm64). At this stage it would have patches applied but in future it may be only a config difference. Ideally I could select either option at boot time in petitboot. (Or any currently installed kernel)
If you share the branch that contains the RT patches, I will put it into my build farm so that it builds the package *-rt-odroid-arm64. One option is to manage the branch with RT patches and 2nd option is applying RT patch to the generic kernel branch on the build. I would be able to set up the first if you sort out the RT patches clearly. :)
I'm working on a .config and testing at the moment but the patches are known, it will be a 5.9 based release i think for best results. Realtime kernel team provide patches here (https://mirrors.edge.kernel.org/pub/lin ... ts/rt/5.9/). In this case the latest patches are specific for 5.9-rc2 and produce 5.9-rc2-rt1. There is an option to download a single patch or split into multiple patches. Once patched the .config needs to be setup, this is the bit I'm testing at the moment. Ill move this over here viewtopic.php?f=179&t=33966 once I have it confirmed.
tobetter wrote:
Tue Sep 01, 2020 11:34 am
- I agree it would be nice to install a specific kernel package version but also via apt to bring in required headers for dkms to function correctly (not only mali dkms)
I doubt if it works on the generic Ubuntu system, I think you will need to install the specific header package when the current Linux kernel is not a recent version which is installed by linux-image-generic. As you may know, currently the best way to install the header package is to use apt install linux-headers-$(uname -r).
Yes you are right, i think i must have been thinking of the the mainline ppa but I have not used it in a while. (https://kernel.ubuntu.com/~kernel-ppa/mainline/)
tobetter wrote:
Tue Sep 01, 2020 11:34 am
- I am often hitting the size limit on the /boot partition (multiple kernels installed or kernels with heavy debug / tracing enabled). I think it is nice to have a dedicated fat filesystem accessible by windows (It has quickly saved me in the past) but I wonder if there could be a selectable option even in the netboot install to allow the root filesystem to be used instead for /boot. Alternatively some option to define the size of the /boot fat partition at netboot install time.
I am negative to use FAT to /boot partition and basically flash-kernel is designed to use symbolic links which is not supported FAT. If you install using Netboot Installer, you will be at the stage to set up the file system, you can create your own partition layout as well as the size.
OK sorry I see it is ext4 on your image and I think that is fine :) I should be able shrink down the existing root filesystem and expand the boot partition.
tobetter wrote:
Tue Sep 01, 2020 11:34 am
- The kernel dtb name always gets me if I try to install custom kernel for the dkms / flash-kernel components. I wonder if there is a way to support both device tree name standards (mainline & hardkernel) at the same time for dkms & flash-kernel.
Actually if you modify a file that can be parsed by the flash-kernel, it could be possible. Let me try and share with you later.
In regards to the upgrade issue I think it might be related to dkms / flash-kernel. I think there are 2 things might need to look at

1) kernel headers must be installed for all installed kernels
It looks like but it's odd...since I can see the necessary header packages. :(
2) If something goes wrong with the apt install (dkms / flash-kernel) the user may need to reboot into new partially installed kernel with no dkms modules available. They seem to only install correctly when we are running the same kernel. User should be able to fix this by reinstalling the mali-bifrost-dkms after a reboot (or any dkms packages they are using) but it can be difficult in GUI mode if Mali is not working. I can try to see what happens when I upgrade another machine, maybe a hook is needed so on reboot if dkms modules are not available for the running kernel it attempts once to run dkms again and do a 2nd reboot.
I tried many combo installations but not able to find out the clue. Funny thing is that I got an OS image from a user who got failed to upgrade, and I was able to see that Mali has been properly installed but Gnome failed to boot up. I am stuck at this.
I'm 99% sure I had the same problem, mali_kbase not loading after the reboot and by trying a few consoles (ALT F1 through ALT F4 and back again) i could get access to reinstall mali-bifrost-dkms to rebuild and then reboot for it to work.

ALT-F1 is the wayland DRM display and also login screen
ALT-F2 is the X11 DRM display (ie if mali fails to load, should be able to ALT-F2 after login to access your session in X11. I do have mate installed also and can login to it)
ALT-F3 is text console DRM

I have an Odroid N2 at 5.7.11-202007300228~focal but it has no GUI (It's a chromium compiler). I can install gnome / mali and try to upgrade if you like?

This is what I would be updating at the moment but I can switch to the testing branch before hand maybe?

Code: Select all

brad@builder:~$ apt list --upgradable
Listing... Done
alsa-ucm-conf/focal-updates 1.2.2-1ubuntu0.2 all [upgradable from: 1.2.2-1ubuntu0.1]
apport/focal-updates 2.20.11-0ubuntu27.8 all [upgradable from: 2.20.11-0ubuntu27.4]
bcache-tools/focal-updates 1.0.8-3ubuntu0.1 arm64 [upgradable from: 1.0.8-3]
bind9-dnsutils/focal-updates,focal-security 1:9.16.1-0ubuntu2.3 arm64 [upgradable from: 1:9.16.1-0ubuntu2.2]
bind9-host/focal-updates,focal-security 1:9.16.1-0ubuntu2.3 arm64 [upgradable from: 1:9.16.1-0ubuntu2.2]
bind9-libs/focal-updates,focal-security 1:9.16.1-0ubuntu2.3 arm64 [upgradable from: 1:9.16.1-0ubuntu2.2]
curl/focal-updates,focal-security 7.68.0-1ubuntu2.2 arm64 [upgradable from: 7.68.0-1ubuntu2.1]
libcurl3-gnutls/focal-updates,focal-security 7.68.0-1ubuntu2.2 arm64 [upgradable from: 7.68.0-1ubuntu2.1]
libcurl4/focal-updates,focal-security 7.68.0-1ubuntu2.2 arm64 [upgradable from: 7.68.0-1ubuntu2.1]
libdns-export1109/focal-updates 1:9.11.16+dfsg-3~ubuntu1 arm64 [upgradable from: 1:9.11.16+dfsg-3~build1]
libegl-dev/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libegl1/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libgl-dev/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libgl1/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libgles-dev/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libgles1/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libgles2/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libglvnd-dev/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libglvnd0/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libglx-dev/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libglx0/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libisc-export1105/focal-updates 1:9.11.16+dfsg-3~ubuntu1 arm64 [upgradable from: 1:9.11.16+dfsg-3~build1]
liblzma-dev/focal-updates 5.2.4-1ubuntu1 arm64 [upgradable from: 5.2.4-1]
liblzma5/focal-updates 5.2.4-1ubuntu1 arm64 [upgradable from: 5.2.4-1]
libnss3-dev/focal-updates,focal-security 2:3.49.1-1ubuntu1.5 arm64 [upgradable from: 2:3.49.1-1ubuntu1.2]
libnss3/focal-updates,focal-security 2:3.49.1-1ubuntu1.5 arm64 [upgradable from: 2:3.49.1-1ubuntu1.2]
libopengl-dev/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libopengl0/focal-updates 1.3.1-1ubuntu0.20.04.1 arm64 [upgradable from: 1.3.1-1]
libpam-modules-bin/focal-updates 1.3.1-5ubuntu4.1 arm64 [upgradable from: 1.3.1-5ubuntu4]
libpam-modules/focal-updates 1.3.1-5ubuntu4.1 arm64 [upgradable from: 1.3.1-5ubuntu4]
libpam-runtime/focal-updates 1.3.1-5ubuntu4.1 all [upgradable from: 1.3.1-5ubuntu4]
libpam0g/focal-updates 1.3.1-5ubuntu4.1 arm64 [upgradable from: 1.3.1-5ubuntu4]
libpulse-dev/focal-updates 1:13.99.1-1ubuntu3.6 arm64 [upgradable from: 1:13.99.1-1ubuntu3.5]
libpulse-mainloop-glib0/focal-updates 1:13.99.1-1ubuntu3.6 arm64 [upgradable from: 1:13.99.1-1ubuntu3.5]
libpulse0/focal-updates 1:13.99.1-1ubuntu3.6 arm64 [upgradable from: 1:13.99.1-1ubuntu3.5]
libssh-4/focal-updates,focal-security 0.9.3-2ubuntu2.1 arm64 [upgradable from: 0.9.3-2ubuntu2]
linux-headers-5.7.0-odroid-arm64/stable 5.7.14-202008080152~focal arm64 [upgradable from: 5.7.11-202007300228~focal]
linux-headers-5.7.0-odroid-common/stable 5.7.14-202008080152~focal arm64 [upgradable from: 5.7.11-202007300228~focal]
linux-image-5.7.0-odroid-arm64/stable 5.7.14-202008080152~focal arm64 [upgradable from: 5.7.11-202007300228~focal]
linux-kbuild-5.7/stable 5.7.14-202008080152~focal arm64 [upgradable from: 5.7.11-202007300228~focal]
linux-libc-dev/focal-updates,focal-security 5.4.0-45.49 arm64 [upgradable from: 5.4.0-42.46]
odroid-base/stable 5:3+202008181845~focal arm64 [upgradable from: 5:3+202007151913~focal]
python3-apport/focal-updates 2.20.11-0ubuntu27.8 all [upgradable from: 2.20.11-0ubuntu27.4]
python3-distupgrade/focal-updates 1:20.04.24 all [upgradable from: 1:20.04.23]
python3-problem-report/focal-updates 2.20.11-0ubuntu27.8 all [upgradable from: 2.20.11-0ubuntu27.4]
python3-software-properties/focal-updates,focal-security 0.98.9.2 all [upgradable from: 0.98.9.1]
rsyslog/focal-updates 8.2001.0-1ubuntu1.1 arm64 [upgradable from: 8.2001.0-1ubuntu1]
software-properties-common/focal-updates,focal-security 0.98.9.2 all [upgradable from: 0.98.9.1]
sudo/focal-updates 1.8.31-1ubuntu1.1 arm64 [upgradable from: 1.8.31-1ubuntu1]
tmux/focal-updates 3.0a-2ubuntu0.1 arm64 [upgradable from: 3.0a-2]
u-boot-odroid/stable 5:2020.08+202008181915~focal arm64 [upgradable from: 5:2020.03+202006022228~focal]
u-boot-odroidn2/stable 5:2020.08+202008181915~focal arm64 [upgradable from: 5:2020.03+202006022228~focal]
ubuntu-release-upgrader-core/focal-updates 1:20.04.24 all [upgradable from: 1:20.04.23]
unattended-upgrades/focal-updates 2.3ubuntu0.1 all [upgradable from: 2.3]
xz-utils/focal-updates 5.2.4-1ubuntu1 arm64 [upgradable from: 5.2.4-1]

User avatar
tobetter
Posts: 5878
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 248 times
Been thanked: 718 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by tobetter »

Release update
My repository is updated to install 5.8 kernel by default and your running system can be upgraded with these commands. Installing OS system using Netboot Installer will use the 5.8 kernel as well.

Code: Select all

$ sudo apt update
$ sudo apt dist-upgrade
Updated Netboot Installer can be downloaded from the links: Note:
If you are concerning your installed system can defect after upgrading, please do hold the kernel package update using these commands and do it later when you are confident to upgrade.

Code: Select all

$ sudo apt-mark hold linux-image-generic flash-kernel
After running apt-mark, kernel package won't be updated further more until the packages are unhold.

Code: Select all

$ sudo apt-mark showhold
flash-kernel
linux-image-generic
$ sudo apt upgrade
[sudo] password for odroid: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  flash-kernel linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
$ uname -a
Linux focal-minimal 5.7.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.7.14-202008080152~focal (2020-08-07) aarch64 aarch64 aarch64 GNU/Linux
These users thanked the author tobetter for the post (total 2):
m_ueberall (Thu Sep 03, 2020 3:16 am) • brad (Thu Sep 03, 2020 7:52 am)

User avatar
tobetter
Posts: 5878
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 248 times
Been thanked: 718 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by tobetter »

@brad, I've set up the build queue of Linux kernel 5.9 (currently 5.9-rc3) and let me improve it to build for RT kernel if you provide its kernel config.
These users thanked the author tobetter for the post:
CoolGames (Sat Sep 05, 2020 1:30 am)

brad
Posts: 1201
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 71 times
Been thanked: 123 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by brad »

tobetter wrote:
Sat Sep 05, 2020 1:18 am
@brad, I've set up the build queue of Linux kernel 5.9 (currently 5.9-rc3) and let me improve it to build for RT kernel if you provide its kernel config.
Thanks @tobetter, please give me 1 day to finalize and test 5.9-rc3-rt3 (also on the C4). Did you happen to have a standard .config you are using for 5.9-rc3 and I will make this my base

User avatar
tobetter
Posts: 5878
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 248 times
Been thanked: 718 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by tobetter »

brad wrote:
Sat Sep 05, 2020 2:34 pm
tobetter wrote:
Sat Sep 05, 2020 1:18 am
@brad, I've set up the build queue of Linux kernel 5.9 (currently 5.9-rc3) and let me improve it to build for RT kernel if you provide its kernel config.
Thanks @tobetter, please give me 1 day to finalize and test 5.9-rc3-rt3 (also on the C4). Did you happen to have a standard .config you are using for 5.9-rc3 and I will make this my base
No hurry, @brad. Pleaes try out this package that includes the kernel config as well.
http://ppa.linuxfactory.or.kr/pool/test ... _arm64.deb

I think we have still 4ish weeks and I will jump to 5.9 after *-rc5 and expecting to finish to build RT kernel package as well. Don't know how many users will be happy with it, but it would be interesting.
These users thanked the author tobetter for the post (total 2):
brad (Sat Sep 05, 2020 3:12 pm) • istanbulls (Sat Sep 05, 2020 6:38 pm)

User avatar
istanbulls
Posts: 261
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID-N2, ODROID C4
Location: Istanbul-Turkey
Has thanked: 154 times
Been thanked: 33 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by istanbulls »

tobetter wrote:
Sat Sep 05, 2020 2:52 pm

Don't know how many users will be happy with it, but it would be interesting.
Thanks @tobetter for all the trials and new developments...

I took a long vacation and returned to the city. I now have a guest and I'll try it in a week. I tried 5.8 yesterday but couldn't find it as fluent as 5.7. Again I continue with 5.7. When my guest leaves, I'll continue with 5.8. I don't know if it's my problem, maybe 5.8 is not good, maybe I did something missing. Next week, my answer will be more precise.
These users thanked the author istanbulls for the post:
tobetter (Sat Sep 05, 2020 6:58 pm)

brad
Posts: 1201
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 71 times
Been thanked: 123 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by brad »

tobetter wrote:
Sat Sep 05, 2020 2:52 pm
brad wrote:
Sat Sep 05, 2020 2:34 pm
tobetter wrote:
Sat Sep 05, 2020 1:18 am
@brad, I've set up the build queue of Linux kernel 5.9 (currently 5.9-rc3) and let me improve it to build for RT kernel if you provide its kernel config.
Thanks @tobetter, please give me 1 day to finalize and test 5.9-rc3-rt3 (also on the C4). Did you happen to have a standard .config you are using for 5.9-rc3 and I will make this my base
No hurry, @brad. Pleaes try out this package that includes the kernel config as well.
http://ppa.linuxfactory.or.kr/pool/test ... _arm64.deb

I think we have still 4ish weeks and I will jump to 5.9 after *-rc5 and expecting to finish to build RT kernel package as well. Don't know how many users will be happy with it, but it would be interesting.
Thanks @tobetter I really appreciate all your work on this and for accommodating my needs :)

5.9-rc3-rt3 (with Realtime patches) is not stable enough at the moment, I'm seeing some panic's / hangs and some latency no matter which way I try to configure the kernel and I suspect mmc / hdmi driver. ie compiling a kernel. The standard 5.9-rc3 works fine.

I need access to the serial console so I assume I can just modify the boot.src with mkimage and add in the extra console to boot parameters? I think it would be good to have both consoles active in the boot.scr at the same time by default if possible. I'm using Debian at the moment, minimal install.

User avatar
tobetter
Posts: 5878
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 248 times
Been thanked: 718 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by tobetter »

brad wrote:
Mon Sep 07, 2020 9:11 pm
tobetter wrote:
Sat Sep 05, 2020 2:52 pm
brad wrote:
Sat Sep 05, 2020 2:34 pm
tobetter wrote:
Sat Sep 05, 2020 1:18 am
@brad, I've set up the build queue of Linux kernel 5.9 (currently 5.9-rc3) and let me improve it to build for RT kernel if you provide its kernel config.
Thanks @tobetter, please give me 1 day to finalize and test 5.9-rc3-rt3 (also on the C4). Did you happen to have a standard .config you are using for 5.9-rc3 and I will make this my base
No hurry, @brad. Pleaes try out this package that includes the kernel config as well.
http://ppa.linuxfactory.or.kr/pool/test ... _arm64.deb

I think we have still 4ish weeks and I will jump to 5.9 after *-rc5 and expecting to finish to build RT kernel package as well. Don't know how many users will be happy with it, but it would be interesting.
Thanks @tobetter I really appreciate all your work on this and for accommodating my needs :)

5.9-rc3-rt3 (with Realtime patches) is not stable enough at the moment, I'm seeing some panic's / hangs and some latency no matter which way I try to configure the kernel and I suspect mmc / hdmi driver. ie compiling a kernel. The standard 5.9-rc3 works fine.

I need access to the serial console so I assume I can just modify the boot.src with mkimage and add in the extra console to boot parameters? I think it would be good to have both consoles active in the boot.scr at the same time by default if possible. I'm using Debian at the moment, minimal install.
In order to enable the serial console, you can change the boot script easily by editing the file /usr/share/flash-kernel/ubootenv.d/10-console.

Code: Select all

  1 # Default serial console
  2 # setenv console "ttyAML0,115200n8"
  3 
  4 # Default TTY console
  5 setenv bootargs "${bootargs} console=tty1"
Uncomment the line #2 and run update-bootscript, then /boot/boot.scr will be updated.

Code: Select all

$ sudo update-bootscript
$ sudo reboot
These users thanked the author tobetter for the post:
brad (Mon Sep 07, 2020 10:27 pm)

superpowter77
Posts: 246
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 36 times
Been thanked: 14 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by superpowter77 »

Finally was able to successfully upgrade from 5.7 to 5.8 after several failed attempts done manually.
This time I used Ubuntu Software updater instead of running upgrades via CLI on my N2+.
Wayland was broken after rebooting but a simple reinstall mali-bifrost-dkms did the trick.

User avatar
tobetter
Posts: 5878
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 248 times
Been thanked: 718 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by tobetter »

I like to hear if it's worth to support Ubuntu 20.10 with the mainline kernel.

Nuems
Posts: 169
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1, n2
Has thanked: 2 times
Been thanked: 15 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by Nuems »

My personal preference are LTS versions, so Ubuntu 20.10 wouldn't be a priority for me.
These users thanked the author Nuems for the post (total 2):
superpowter77 (Thu Sep 10, 2020 3:50 am) • m_ueberall (Thu Sep 10, 2020 6:45 am)

superpowter77
Posts: 246
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 36 times
Been thanked: 14 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by superpowter77 »

IMHO, if possible stick to LTS versions only.

odroidn2user
Posts: 322
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 89 times
Been thanked: 86 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by odroidn2user »

To me the key points are getting the picture clear (without color distortion, on all monitors), then gpu acceleration, then vpu acceleration, stability always a key point, then any other user environment software, including kernels and what not.
So, while 20.10 is nice, the above is probably more important to me. And well, an updated LTS is a clear selling point, so that should have priority over 20.10 I guess. But if both are possible... :)
You did managed quite a few net installer images before, with both different ubuntu versions and a debian version.

Also, waiting on Panfrost Bifrost support to land. :)

And many thanks for your continued support and response on the forum here.

But getting something that boots reliably (also after updates), and without color distortion and acceleration... And I'm happy.
These users thanked the author odroidn2user for the post:
superpowter77 (Thu Sep 10, 2020 9:49 pm)

User avatar
tobetter
Posts: 5878
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 248 times
Been thanked: 718 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by tobetter »

Thank you guys. Absolutely the stability is the high priority than newer version and new features. Even if 20.10 is uploaded, 20.04 from my repository won't be discontinued. Since my repository is managed personally from my home, it's a bit hard to maintain the patches and test the version alone daily basis but I am becoming familar to run my build farm. One of my personal concern is that whether I am spending too much time for the work that is being used by limited users. At the same time this makes me respect more the founder of Linux distributions. :D

If I can write a function one of libc, it would be fork().

Have fun with your ODROID!!
These users thanked the author tobetter for the post (total 3):
superpowter77 (Fri Sep 11, 2020 2:23 am) • odroidn2user (Fri Sep 11, 2020 3:21 pm) • m_ueberall (Fri Sep 11, 2020 4:17 pm)

Pawn
Posts: 1
Joined: Thu Sep 10, 2020 10:39 pm
languages_spoken: english
ODROIDs: N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by Pawn »

Hi guys !

Thank's for your work, it's awsome! I recently purchased a odroid N2+ and I have installed your Ubuntu Image because I read it's work pretty well with mpv. I followed all of your instruction and the installation worked perfectly. But I have some trouble running mpv. Every time I tried, I get an error about invalid cropping information from ffmpeg. I don't know if I'm the only one and Brad is a magician or if its an knew issue. Have you any idea of what I'm doing wrong? I'm sorry if it's not the right place to talk about that !

MPV version

Code: Select all

mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil       56.31.100 (runtime 56.51.100)
   libavcodec      58.54.100 (runtime 58.91.100)
   libavformat     58.29.100 (runtime 58.45.100)
   libswscale      5.5.100 (runtime 5.7.100)
   libavfilter     7.57.100 (runtime 7.85.100)
   libswresample   3.5.100 (runtime 3.7.100)
ffmpeg version: n4.3-1ubuntu2+202008182157~focal
Kernel version
5.8.0-odroid-arm64

And an exemple of use mpv
mpv --fs --hwdec=auto --hwdec-codecs=all --gpu-context=wayland "https://www.youtube.com/watch?v=LXb3EKWsInQ"

I got this result

Code: Select all

 (+) Video --vid=1 (*) (vp9 3840x2160 29.970fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
[vo/gpu/wayland] GNOME's wayland compositor is known to have many serious issues with mpv. Switch to GNOME's xorg session for the best experience.
[vaapi] libva: vaGetDriverNameByIndex() failed with invalid VADisplay, driver_name = (null)
[ffmpeg] AVHWDeviceContext: Cannot load libcuda.so.1
[ffmpeg] AVHWDeviceContext: Could not dynamically load CUDA
[vaapi] libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[ffmpeg/video] vp9_v4l2m2m: output POLLERR
[ffmpeg/video] vp9_v4l2m2m: output POLLERR
[ffmpeg/video] vp9_v4l2m2m: output POLLERR
[ffmpeg/video] vp9_v4l2m2m: output POLLERR
(...)
[ffmpeg/video] vp9_v4l2m2m: output POLLERR
[ffmpeg/video] vp9_v4l2m2m: output POLLERR
[ffmpeg/video] vp9_v4l2m2m: Invalid cropping information set by a decoder: 0/0/0/0 (frame size 0x0). This is a bug, please report it
mpv: ../video/decode/vd_lavc.c:1088: decode_frame: Assertion `ctx->pic->buf[0]' failed.

deuteragenie
Posts: 30
Joined: Fri Jun 07, 2019 4:56 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by deuteragenie »

tobetter wrote:
Thu Sep 10, 2020 12:32 am
I like to hear if it's worth to support Ubuntu 20.10 with the mainline kernel.
LTS version should be the priority. With Panfrost !
These users thanked the author deuteragenie for the post:
odroidn2user (Fri Sep 11, 2020 3:21 pm)

deuteragenie
Posts: 30
Joined: Fri Jun 07, 2019 4:56 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by deuteragenie »

My HDMI settings aren't proberly detected which result in the screen being too large for the display.
This makes it very hard / impossible to edit the config file to force a specific resolution.
Any tip ?

User avatar
istanbulls
Posts: 261
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID-N2, ODROID C4
Location: Istanbul-Turkey
Has thanked: 154 times
Been thanked: 33 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by istanbulls »

To fix Wayland acceleration for Firefox.

Code: Select all

sudo nano /etc/environment
It should look like this:

Code: Select all

MOZ_ENABLE_WAYLAND=1
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/>
These users thanked the author istanbulls for the post:
tobetter (Fri Sep 11, 2020 8:50 am)

superpowter77
Posts: 246
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 36 times
Been thanked: 14 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by superpowter77 »

istanbulls wrote:
Fri Sep 11, 2020 5:31 am
To fix Wayland acceleration for Firefox.

Code: Select all

sudo nano /etc/environment
It should look like this:

Code: Select all

MOZ_ENABLE_WAYLAND=1
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/>
On firefox about:settings, do we also need to set
"webgl.force-enabled" to true?

User avatar
istanbulls
Posts: 261
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID-N2, ODROID C4
Location: Istanbul-Turkey
Has thanked: 154 times
Been thanked: 33 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by istanbulls »

superpowter77 wrote:
Fri Sep 11, 2020 8:16 am
istanbulls wrote:
Fri Sep 11, 2020 5:31 am
To fix Wayland acceleration for Firefox.

Code: Select all

sudo nano /etc/environment
It should look like this:

Code: Select all

MOZ_ENABLE_WAYLAND=1
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/>
On firefox about:settings, do we also need to set
"webgl.force-enabled" to true?
I did not make that change.
But I made this change in Firefox

Code: Select all

about:config

Code: Select all

layers.acceleration.force-enabled

Code: Select all

true

odroidn2user
Posts: 322
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 89 times
Been thanked: 86 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by odroidn2user »

istanbulls wrote:
Fri Sep 11, 2020 8:38 am
I did not make that change.
But I made this change in Firefox

Code: Select all

about:config

Code: Select all

layers.acceleration.force-enabled

Code: Select all

true
If I remember correctly, Wimpy from Wimpy's world, famous for his work on Ubuntu and Mate, recently for Raspberry, found that it actually slowed down the operation on Firefox.
I have not tested that yet, but something to make sure if you force-enable acceleration on layers.

odroidn2user
Posts: 322
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 89 times
Been thanked: 86 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by odroidn2user »

tobetter wrote:
Thu Sep 10, 2020 11:56 pm
Thank you guys. Absolutely the stability is the high priority than newer version and new features. Even if 20.10 is uploaded, 20.04 from my repository won't be discontinued. Since my repository is managed personally from my home, it's a bit hard to maintain the patches and test the version alone daily basis but I am becoming familar to run my build farm. One of my personal concern is that whether I am spending too much time for the work that is being used by limited users. At the same time this makes me respect more the founder of Linux distributions. :D

If I can write a function one of libc, it would be fork().

Have fun with your ODROID!!
I do want to say many, many, many thanks for your work on Odroids and the netboot installer specifically. It might not be said enough, but I know that a lot of odroids are sold, and a lot of people are using N2s and C4s exactly because you, tobetter, are making it work for them. That sure goes for me. And do not underestimate the effects of your work on the forum here - it is a lively forum precisely because you are working your technical magic AND are actually answering questions about it here. Even multiple times the same question, it gets answered. That is a tremendously big plus for working with the odroids.

One of the key points keeping me personally from not actually using the N2 and C4 for daily stuff very much, primarily, is the picture quality. Which just happens to appear on both my monitors. You solved it for 50%, yes!!, but it's still just not right for my desktop monitors. And it appears i am a bit of a stickler on looking at a clear picture. Probably because I have to look at a Citrix (badly) image compressed desktop at work all day :) So yeah, that's me.

And the second reason is stability. It was not smooth running, recently, when I installed tests. Which is in itself not a real big issue, that is what testing is for! I've found that was solvable previously. I found some microfreezes or something, perhaps with performing storage, where sometimes you just have to wait a little for something simple to happen. Not sure what happens. Probably a storage thingy. This requires a little more investigation from me, what is happening. Is probably is easily solvable, but combined with the picture quality issue I have...

So, if we (and I say we meaning not me, I'm afraid) could solve the errors in the display handling on mainline and there is a way to stabilize the 20.04 and iron out some remaining kinks... You might want to version freeze (only do minor kernel updates or something) the kernel for 20.04, to get some extra stability on 20.04 release perhaps? So, you know, that after running updates you know that it'll keep booting. That's a big plus for using it as main PC for the daily stuff. And maybe make 20.10 the active development effort?

This might mean, I guess, that you have to split the packages on your fileserver for focal and groovy, but a stabilized 20.04 and a more active developed 20.10 seems to make sense, perhaps. But for me that all still hinges on the fact that the display driver needs a fixin'.
Last edited by odroidn2user on Fri Sep 11, 2020 5:03 pm, edited 2 times in total.

User avatar
istanbulls
Posts: 261
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID-N2, ODROID C4
Location: Istanbul-Turkey
Has thanked: 154 times
Been thanked: 33 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by istanbulls »

odroidn2user wrote:
Fri Sep 11, 2020 3:20 pm
istanbulls wrote:
Fri Sep 11, 2020 8:38 am
I did not make that change.
But I made this change in Firefox

Code: Select all

about:config

Code: Select all

layers.acceleration.force-enabled

Code: Select all

true
If I remember correctly, Wimpy from Wimpy's world, famous for his work on Ubuntu and Mate, recently for Raspberry, found that it actually slowed down the operation on Firefox.
I have not tested that yet, but something to make sure if you force-enable acceleration on layers.
what is your suggestion Shouldn't we make it "true"? should we leave this option as it is?

odroidn2user
Posts: 322
Joined: Fri Oct 25, 2019 4:14 pm
languages_spoken: english
ODROIDs: N2, C4
Has thanked: 89 times
Been thanked: 86 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by odroidn2user »

istanbulls wrote:
Fri Sep 11, 2020 5:55 pm
odroidn2user wrote:
Fri Sep 11, 2020 3:20 pm
istanbulls wrote:
Fri Sep 11, 2020 8:38 am
I did not make that change.
But I made this change in Firefox

Code: Select all

about:config

Code: Select all

layers.acceleration.force-enabled

Code: Select all

true
If I remember correctly, Wimpy from Wimpy's world, famous for his work on Ubuntu and Mate, recently for Raspberry, found that it actually slowed down the operation on Firefox.
I have not tested that yet, but something to make sure if you force-enable acceleration on layers.
what is your suggestion Shouldn't we make it "true"? should we leave this option as it is?
My suggestion is to test if it actually accelerates. Wimpy decided to keep it at default, because he found on his images (ubuntu mate on raspberry) that it worked better without. But clearly, that is not this.
So, testing and deciding for yourself would be my suggestion. It is however not a given that force-enabled acceleration always improves the situation.

brad
Posts: 1201
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 71 times
Been thanked: 123 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by brad »

tobetter wrote:
Mon Sep 07, 2020 9:46 pm
brad wrote:
Mon Sep 07, 2020 9:11 pm
tobetter wrote:
Sat Sep 05, 2020 2:52 pm
brad wrote:
Sat Sep 05, 2020 2:34 pm
tobetter wrote:
Sat Sep 05, 2020 1:18 am
@brad, I've set up the build queue of Linux kernel 5.9 (currently 5.9-rc3) and let me improve it to build for RT kernel if you provide its kernel config.
Thanks @tobetter, please give me 1 day to finalize and test 5.9-rc3-rt3 (also on the C4). Did you happen to have a standard .config you are using for 5.9-rc3 and I will make this my base
No hurry, @brad. Pleaes try out this package that includes the kernel config as well.
http://ppa.linuxfactory.or.kr/pool/test ... _arm64.deb

I think we have still 4ish weeks and I will jump to 5.9 after *-rc5 and expecting to finish to build RT kernel package as well. Don't know how many users will be happy with it, but it would be interesting.
Thanks @tobetter I really appreciate all your work on this and for accommodating my needs :)

5.9-rc3-rt3 (with Realtime patches) is not stable enough at the moment, I'm seeing some panic's / hangs and some latency no matter which way I try to configure the kernel and I suspect mmc / hdmi driver. ie compiling a kernel. The standard 5.9-rc3 works fine.

I need access to the serial console so I assume I can just modify the boot.src with mkimage and add in the extra console to boot parameters? I think it would be good to have both consoles active in the boot.scr at the same time by default if possible. I'm using Debian at the moment, minimal install.
In order to enable the serial console, you can change the boot script easily by editing the file /usr/share/flash-kernel/ubootenv.d/10-console.

Code: Select all

  1 # Default serial console
  2 # setenv console "ttyAML0,115200n8"
  3 
  4 # Default TTY console
  5 setenv bootargs "${bootargs} console=tty1"
Uncomment the line #2 and run update-bootscript, then /boot/boot.scr will be updated.

Code: Select all

$ sudo update-bootscript
$ sudo reboot
I needed to make the change in the boot.src (and also remove the quiet from the bootargs) using mkimage

Code: Select all

setenv bootargs " ${bootargs}"

setenv bootlabel "Debian GNU/Linux 10 (buster)"

# Default serial console
setenv console "ttyAML0,115200n8"

# Default TTY console
setenv bootargs "${bootargs} console=tty1"
setenv fdt_addr_r "0x20000000"
setenv bootargs "${bootargs} cma=800M"
setenv bootargs "${bootargs} clk_ignore_unused"

If i tried to make it in /usr/share/flash-kernel/ubootenv.d/10-console (actually /usr/share/flash-kernel/ubootenv.d/ has 4.9.y and an upstream directory so I made the change in upstream) it would not update the boot.src with the details using update-bootscript (It might be different on Debian?).

Anyway I can see the serial console now :) but the system freezes before I can get anymore information from it. I've now moved my boot emmc onto a USB adapter and 5.9-rc3-rt3 seems stable (it's compiling a new debug kernel now for some more testing). cyclictest performance is not good either so the extra debug should help to see what is going on.
These users thanked the author brad for the post (total 3):
istanbulls (Sun Sep 13, 2020 7:25 pm) • tobetter (Mon Sep 14, 2020 8:22 am) • odroid (Mon Sep 14, 2020 10:42 am)

superpowter77
Posts: 246
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 36 times
Been thanked: 14 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by superpowter77 »

@tobetter, is there any reason why you're including common header, header files, kbuild infraestructure for both 5.7 and 5.8 kernels with latest focal fossa update from your repository?
I thought 5.7 was phased out already?

User avatar
tobetter
Posts: 5878
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 248 times
Been thanked: 718 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by tobetter »

superpowter77 wrote:
Mon Sep 14, 2020 10:03 pm
@tobetter, is there any reason why you're including common header, header files, kbuild infraestructure for both 5.7 and 5.8 kernels with latest focal fossa update from your repository?
I thought 5.7 was phased out already?
No specific reason, just it's the way how genuine Debian/Ubuntu builds the kernel package since the build script what I am using is from Debian repository. And 5.7 kernel is EOL already at the end of August and I have no patch to update on it. That's the reason why I switched the default kernel to 5.8 at early Sep.

Rmiino
Posts: 23
Joined: Fri May 17, 2019 3:49 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 7 times
Been thanked: 0
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by Rmiino »

tobetter wrote:
Wed Sep 02, 2020 11:25 pm
Release update
My repository is updated to install 5.8 kernel by default and your running system can be upgraded with these commands. Installing OS system using Netboot Installer will use the 5.8 kernel as well.

Code: Select all

$ sudo apt update
$ sudo apt dist-upgrade
Updated Netboot Installer can be downloaded from the links: Note:
If you are concerning your installed system can defect after upgrading, please do hold the kernel package update using these commands and do it later when you are confident to upgrade.

Code: Select all

$ sudo apt-mark hold linux-image-generic flash-kernel
After running apt-mark, kernel package won't be updated further more until the packages are unhold.

Code: Select all

$ sudo apt-mark showhold
flash-kernel
linux-image-generic
$ sudo apt upgrade
[sudo] password for odroid: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  flash-kernel linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
$ uname -a
Linux focal-minimal 5.7.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.7.14-202008080152~focal (2020-08-07) aarch64 aarch64 aarch64 GNU/Linux
After update "Odroid N2 kernel 5.7" to "Odroind N2PLUS 5.8" wifi Module 5A and HDMI sound not working.

User avatar
tobetter
Posts: 5878
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 248 times
Been thanked: 718 times
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by tobetter »

Rmiino wrote:
Wed Sep 16, 2020 1:02 pm
tobetter wrote:
Wed Sep 02, 2020 11:25 pm
Release update
My repository is updated to install 5.8 kernel by default and your running system can be upgraded with these commands. Installing OS system using Netboot Installer will use the 5.8 kernel as well.

Code: Select all

$ sudo apt update
$ sudo apt dist-upgrade
Updated Netboot Installer can be downloaded from the links: Note:
If you are concerning your installed system can defect after upgrading, please do hold the kernel package update using these commands and do it later when you are confident to upgrade.

Code: Select all

$ sudo apt-mark hold linux-image-generic flash-kernel
After running apt-mark, kernel package won't be updated further more until the packages are unhold.

Code: Select all

$ sudo apt-mark showhold
flash-kernel
linux-image-generic
$ sudo apt upgrade
[sudo] password for odroid: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  flash-kernel linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
$ uname -a
Linux focal-minimal 5.7.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.7.14-202008080152~focal (2020-08-07) aarch64 aarch64 aarch64 GNU/Linux
After update "Odroid N2 kernel 5.7" to "Odroind N2PLUS 5.8" wifi Module 5A and HDMI sound not working.
Do you have installed odroid-alsa? Or can you run sudo apt install --reinstall odroid-alsa again?

Rmiino
Posts: 23
Joined: Fri May 17, 2019 3:49 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 7 times
Been thanked: 0
Contact:

Re: Debian/Ubuntu Netboot Installer (Feat. Ubuntu Gnome Desktop)

Post by Rmiino »

tobetter wrote:
Wed Sep 16, 2020 1:07 pm
Rmiino wrote:
Wed Sep 16, 2020 1:02 pm
tobetter wrote:
Wed Sep 02, 2020 11:25 pm
Release update
My repository is updated to install 5.8 kernel by default and your running system can be upgraded with these commands. Installing OS system using Netboot Installer will use the 5.8 kernel as well.

Code: Select all

$ sudo apt update
$ sudo apt dist-upgrade
Updated Netboot Installer can be downloaded from the links: Note:
If you are concerning your installed system can defect after upgrading, please do hold the kernel package update using these commands and do it later when you are confident to upgrade.

Code: Select all

$ sudo apt-mark hold linux-image-generic flash-kernel
After running apt-mark, kernel package won't be updated further more until the packages are unhold.

Code: Select all

$ sudo apt-mark showhold
flash-kernel
linux-image-generic
$ sudo apt upgrade
[sudo] password for odroid: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  flash-kernel linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
$ uname -a
Linux focal-minimal 5.7.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.7.14-202008080152~focal (2020-08-07) aarch64 aarch64 aarch64 GNU/Linux
After update "Odroid N2 kernel 5.7" to "Odroind N2PLUS 5.8" wifi Module 5A and HDMI sound not working.
Do you have installed odroid-alsa? Or can you run sudo apt install --reinstall odroid-alsa again?
sudo apt install --reinstall odroid-alsa

HDMI sound worked...

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 0 guests