ODroid as raplacement for Raspberry Pi
- tommylight
-
- Offline
- Moderator
-
Less
More
3 years 8 months ago #264524
by tommylight
Replied by tommylight on topic ODroid as raplacement for Raspberry Pi
If it is in Ubuntu, it should soon be in Mint, but since Mint lags quite a bit behind this can take a while.
Please Log in or Create an account to join the conversation.
- alangibson
- Offline
- Premium Member
-
Less
More
- Posts: 95
- Thank you received: 36
3 years 8 months ago - 3 years 8 months ago #264551
by alangibson
Replied by alangibson on topic ODroid as raplacement for Raspberry Pi
I basically just burned the official Armbian Bullseye image, downloaded kernel source with apt, applied Preempt-RT patches from kernel.org, and built. It did definitely work, but video performance was horrible. I've read a few forum comments saying that video performance was a problem until relatively recently. On the Ubuntu image (with no RT kernel) video looks good. So I'm thinking there are some patches that Ubuntu has that Bullseye doesn't.
I've just tried the same formula on the Ubuntu Jammy image but the kernel build dies due to what appears to be a script that is getting sourced actually being an executable. I'm thinking this is something caused by the Armbian build process because their official method of building the kernel is to cross compile. So I've got a cross compilation running right now with the RT patches.
> Try isolcpus=2,3 in grub
Unfortunately that performance is with that already applied. I'm about 90% sure there is an issue with the video support. No way should X be using > 50% cpu the way it was. I guess we'll see once this kernel build finishes.
> invalid nameserver in resolv.conf
You should be able to fix that sans text editor with `echo 'nameserver 8.8.8.8' > /etc/resolv.conf`
> linuxcnc-uspace package has now migrated to Ubuntu kinetic
Now that's very good news. Once RT patches are mainlined in the kernel our lives will be much easier.
I've just tried the same formula on the Ubuntu Jammy image but the kernel build dies due to what appears to be a script that is getting sourced actually being an executable. I'm thinking this is something caused by the Armbian build process because their official method of building the kernel is to cross compile. So I've got a cross compilation running right now with the RT patches.
> Try isolcpus=2,3 in grub
Unfortunately that performance is with that already applied. I'm about 90% sure there is an issue with the video support. No way should X be using > 50% cpu the way it was. I guess we'll see once this kernel build finishes.
> invalid nameserver in resolv.conf
You should be able to fix that sans text editor with `echo 'nameserver 8.8.8.8' > /etc/resolv.conf`
> linuxcnc-uspace package has now migrated to Ubuntu kinetic
Now that's very good news. Once RT patches are mainlined in the kernel our lives will be much easier.
Last edit: 3 years 8 months ago by alangibson.
Please Log in or Create an account to join the conversation.
3 years 8 months ago #264553
by rodw
Replied by rodw on topic ODroid as raplacement for Raspberry Pi
The feedback on the Odroid forum is that their preempt_rt include the graphics stuff that the default debian one won't
They are waiting for the 6.2 kernel to be released to redo it.
I read somewhere that there is some mods to the linux kernel should make it to the 6.2 kernel specifically for the Odroid N2+
I tried the echo trick but it did not stick. I think now that there is some other fault preventing apt to work on the kernels I tried.
Ubuntu did not boot
Bullseye gets in an endless loop loading USB stuff, and never gets to a login screen
Only sid and bookworm got to a log on screen but neither could use apt to install anything.
They are waiting for the 6.2 kernel to be released to redo it.
I read somewhere that there is some mods to the linux kernel should make it to the 6.2 kernel specifically for the Odroid N2+
I tried the echo trick but it did not stick. I think now that there is some other fault preventing apt to work on the kernels I tried.
Ubuntu did not boot
Bullseye gets in an endless loop loading USB stuff, and never gets to a login screen
Only sid and bookworm got to a log on screen but neither could use apt to install anything.
Please Log in or Create an account to join the conversation.
- alangibson
- Offline
- Premium Member
-
Less
More
- Posts: 95
- Thank you received: 36
3 years 8 months ago #264562
by alangibson
Replied by alangibson on topic ODroid as raplacement for Raspberry Pi
> their preempt_rt include the graphics stuff that the default debian one won't
That tracks with my observation. I'm building tobetter's 5.15 RT kernel on their Ubuntu Server 2022.04 image right now. Hopefully that will go better.
I just saw some good news pop up on Hacker News. The Preempt-RT patches have been accepted into Ubuntu.
ubuntu.com/blog/real-time-ubuntu-is-now-generally-available
Apparently it's part of their insane Ubuntu Pro plan now, but there is a free version of that.
That tracks with my observation. I'm building tobetter's 5.15 RT kernel on their Ubuntu Server 2022.04 image right now. Hopefully that will go better.
I just saw some good news pop up on Hacker News. The Preempt-RT patches have been accepted into Ubuntu.
ubuntu.com/blog/real-time-ubuntu-is-now-generally-available
Apparently it's part of their insane Ubuntu Pro plan now, but there is a free version of that.
Please Log in or Create an account to join the conversation.
3 years 8 months ago #264604
by rodw
The error reported by apt update was:
Release file for deb.debian/dists/bookworm/InRelease is not valid yet
This was caused because the system datw was set for 10 Jan, about 18 days behind!
So if you venture here, the following steps should sort it.
find your timezone here en.wikipedia.org/wiki/List_of_tz_database_time_zones
then
I left it installing 1800 odd packages after I typed
We'll see if we can get a graphical environment before I go to bed....
Replied by rodw on topic ODroid as raplacement for Raspberry Pi
Talking about being waay off the mark!great!
So you built the patched kernel from the source at kernel.org?
I got a bit distracted and tried the imges here.
sd-card-images.johang.se/boards/odroid_n2.html
only Bookworm and sid work ... kinda.
There is a bug which breaks network
The error reported by apt update was:
Release file for deb.debian/dists/bookworm/InRelease is not valid yet
This was caused because the system datw was set for 10 Jan, about 18 days behind!
So if you venture here, the following steps should sort it.
find your timezone here en.wikipedia.org/wiki/List_of_tz_database_time_zones
then
Code:
timedatectl set-timezone 'Australia/Brisbane'
timedatectl set-time '2023-02-16 17;31' #Current local time
timedatectl status #to confirm settings
apt update
apt upgrade
#install some old friends
apt install iproute2 iputils-ping nano
Code:
sudo apt install task-xfce-desktop
We'll see if we can get a graphical environment before I go to bed....
Please Log in or Create an account to join the conversation.
3 years 8 months ago #264605
by rodw
Talking about being waay off the mark!
The error reported by apt update was:
Release file for deb.debian/dists/bookworm/InRelease is not valid yet
This was caused because the system datw was set for 10 Jan, about 18 days behind!
So if you venture here, the following steps should sort it.
find your timezone here en.wikipedia.org/wiki/List_of_tz_database_time_zones
then
I left it installing 1800 odd packages after I typed
We'll see if we can get a graphical environment before I go to bed....
Replied by rodw on topic ODroid as raplacement for Raspberry Pi
great!
So you built the patched kernel from the source at kernel.org?
I got a bit distracted and tried the imges here.
sd-card-images.johang.se/boards/odroid_n2.html
only Bookworm and sid work ... kinda.
There is a bug which breaks network
Talking about being waay off the mark!
The error reported by apt update was:
Release file for deb.debian/dists/bookworm/InRelease is not valid yet
This was caused because the system datw was set for 10 Jan, about 18 days behind!
So if you venture here, the following steps should sort it.
find your timezone here en.wikipedia.org/wiki/List_of_tz_database_time_zones
then
Code:
timedatectl set-timezone 'Australia/Brisbane'
timedatectl set-time '2023-02-16 17:31' #Current local time
timedatectl status #to confirm settings
apt update
apt upgrade
#install some old friends
apt install iproute2 iputils-ping nano
Code:
apt install task-xfce-desktop
We'll see if we can get a graphical environment before I go to bed....
Please Log in or Create an account to join the conversation.
Time to create page: 0.206 seconds