Great! Except for 4K H.265 video playback, everything seems to be fine with Kernel 5.4.y.
Any plan for basic mainline linux support?
- odroid
- Site Admin
- Posts: 36468
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1451 times
- Been thanked: 990 times
- Contact:
Re: Any plan for basic mainline linux support?
-
- Posts: 1851
- Joined: Tue Sep 01, 2015 8:54 am
- languages_spoken: english
- ODROIDs: XU4, N1, N2, C4, N2+, HC4
- Has thanked: 59 times
- Been thanked: 132 times
- Contact:
Re: Any plan for basic mainline linux support?
Well I'm sure there are other features missing, but it's a good base.
-
- Posts: 245
- Joined: Mon Sep 02, 2019 2:33 am
- languages_spoken: english
- ODROIDs: odroid-n2
- Has thanked: 73 times
- Been thanked: 26 times
- Contact:
Re: Any plan for basic mainline linux support?
I think the mainline patched kernel used in LibreElec has the support for h265 decoding.
Inviato dal mio GM1913 utilizzando Tapatalk
-
- Posts: 67
- Joined: Mon Aug 12, 2019 12:27 pm
- languages_spoken: english
- Has thanked: 0
- Been thanked: 74 times
- Contact:
Re: Any plan for basic mainline linux support?
Earlier LE kernels did, but then it was discovered that GX and G12 (and SM1) all need slightly different HEVC implementations; similar to VP9 more is done in software than codecs like H264/MPEG2, and now the drivers are being reworked for upstream API compliance. I've currently dropped HEVC support from my patch-set completely until an updated driver and the associated firmware(s) are submitted upstream.
-
- Posts: 15
- Joined: Sun Sep 24, 2017 2:25 am
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 2 times
- Contact:
Re: Any plan for basic mainline linux support?
Does anyone use some gpio irq ?
irq meson seems to be initialized but i can't use it (kernel 5.4.10).
dmesg
[ 0.000000] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized
gpiomon gpiochip0 67
gpiomon: error waiting for events: No such device
irq meson seems to be initialized but i can't use it (kernel 5.4.10).
dmesg
[ 0.000000] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized
gpiomon gpiochip0 67
gpiomon: error waiting for events: No such device
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
FYI, I've made to run GNOME Desktop with Mali Bifrost Wayland driver as well as Qt5/Wayland and written it up.
https://medium.com/@tobetter/running-gn ... a187dff055
https://medium.com/@tobetter/running-gn ... a187dff055
- These users thanked the author tobetter for the post (total 8):
- rooted (Tue Jan 14, 2020 9:05 pm) • Sav (Tue Jan 14, 2020 9:16 pm) • mad_ady (Tue Jan 14, 2020 9:18 pm) • istanbulls (Tue Jan 14, 2020 9:51 pm) • odroidn2user (Tue Jan 14, 2020 10:48 pm) • brad (Wed Jan 15, 2020 9:40 am) • odroid (Wed Jan 15, 2020 9:47 am) • Kernel (Fri Jan 31, 2020 3:57 pm)
- rooted
- Posts: 8280
- Joined: Fri Dec 19, 2014 9:12 am
- languages_spoken: english
- Location: Gulf of Mexico, US
- Has thanked: 728 times
- Been thanked: 307 times
- Contact:
Re: Any plan for basic mainline linux support?
Very nice write-up, thank you for sharing your process.tobetter wrote:FYI, I've made to run GNOME Desktop with Mali Bifrost Wayland driver as well as Qt5/Wayland and written it up.
https://medium.com/@tobetter/running-gn ... a187dff055
-
- Posts: 245
- Joined: Mon Sep 02, 2019 2:33 am
- languages_spoken: english
- ODROIDs: odroid-n2
- Has thanked: 73 times
- Been thanked: 26 times
- Contact:
Re: Any plan for basic mainline linux support?
I'll try as soon I can. Meanwhile, I saw that in your "testing" repository there is the 5.5.X mainline kernel. Is this version patched as the one in the "main" repository (linux-odroid_5:2019.12-1+202001141252)?tobetter wrote: ↑Tue Jan 14, 2020 8:34 pmFYI, I've made to run GNOME Desktop with Mali Bifrost Wayland driver as well as Qt5/Wayland and written it up.
https://medium.com/@tobetter/running-gn ... a187dff055
I'm asking because Chewitt recomends the 5.5.X against the 5.4.X because it has more functionalities
.I will comment that lots of G12A/B audio changes went into Linux 5.5 so it would be a better kernel target for a desktop distro than 5.4, despite not being an LTS kernel. I've not seen any drama moving from 5.2 > 5.3 > 5.4 > 5.5-rc so I'd also advocate that you keep bumping the kernel instead of sticking to the LTS releases
IMHO I'd like to squeeze more features and power from my N2, which in the recent days has became my daily computer at home (multimedia, desktop pc, retrogaming and so on).
Thanks a lot to everyone for your efforts.
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
The testing repository has a vanilla kernel yet and I am packaging it to support DKMS, the same patch series will be applied as 5.4 once the package is built. I will let you know here when verified.Sav wrote: ↑Wed Jan 15, 2020 12:51 amI'll try as soon I can. Meanwhile, I saw that in your "testing" repository there is the 5.5.X mainline kernel. Is this version patched as the one in the "main" repository (linux-odroid_5:2019.12-1+202001141252)?tobetter wrote: ↑Tue Jan 14, 2020 8:34 pmFYI, I've made to run GNOME Desktop with Mali Bifrost Wayland driver as well as Qt5/Wayland and written it up.
https://medium.com/@tobetter/running-gn ... a187dff055
I'm asking because Chewitt recomends the 5.5.X against the 5.4.X because it has more functionalities
- istanbulls
- Posts: 451
- Joined: Tue May 14, 2019 10:18 pm
- languages_spoken: Turkish
- ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
- Location: Istanbul-Turkey
- Has thanked: 279 times
- Been thanked: 68 times
- Contact:
Re: Any plan for basic mainline linux support?
I've been trying this for 4 hourstobetter wrote: ↑Tue Jan 14, 2020 8:34 pmFYI, I've made to run GNOME Desktop with Mali Bifrost Wayland driver as well as Qt5/Wayland and written it up.
https://medium.com/@tobetter/running-gn ... a187dff055

I haven't seen your desktop yet.
This way an option appeared after the installation was finished. I continued without selecting anything.
I seçmelimiy? Which desktop version should I choose if I should choose?
- Attachments
-
- WhatsApp Image 2020-01-14 at 19.52.49.jpeg (107.63 KiB) Viewed 8241 times
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
Go for Ubunut Desktop.istanbulls wrote: ↑Wed Jan 15, 2020 2:12 amI've been trying this for 4 hourstobetter wrote: ↑Tue Jan 14, 2020 8:34 pmFYI, I've made to run GNOME Desktop with Mali Bifrost Wayland driver as well as Qt5/Wayland and written it up.
https://medium.com/@tobetter/running-gn ... a187dff055
I haven't seen your desktop yet.
This way an option appeared after the installation was finished. I continued without selecting anything.
I seçmelimiy? Which desktop version should I choose if I should choose?
And I've slightly fixed the image uploaded, please do download the image if you like to start from scratch.
- istanbulls
- Posts: 451
- Joined: Tue May 14, 2019 10:18 pm
- languages_spoken: Turkish
- ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
- Location: Istanbul-Turkey
- Has thanked: 279 times
- Been thanked: 68 times
- Contact:
Re: Any plan for basic mainline linux support?
uSD card contents this way.
boot.ini does not exist. is this normal?
boot.ini does not exist. is this normal?
- Attachments
-
- Ekran görüntüsü_2020-01-14_20-17-49.png (160.71 KiB) Viewed 8240 times
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
There is boot.scr instead of boot.ini, actually boot.scr is the standard script of U-boot. And my OS image does not use boot.ini, so it's normal. Doesn't it boot?istanbulls wrote: ↑Wed Jan 15, 2020 2:21 amuSD card contents this way.
boot.ini does not exist. is this normal?
- istanbulls
- Posts: 451
- Joined: Tue May 14, 2019 10:18 pm
- languages_spoken: Turkish
- ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
- Location: Istanbul-Turkey
- Has thanked: 279 times
- Been thanked: 68 times
- Contact:
Re: Any plan for basic mainline linux support?
did not boot. The spi switch has nothing on the emmc side. I placed the spi switch for the petitboot but did not boot.
- Attachments
-
- IMG_20200114_195548.jpg (577.66 KiB) Viewed 8227 times
-
- Posts: 245
- Joined: Mon Sep 02, 2019 2:33 am
- languages_spoken: english
- ODROIDs: odroid-n2
- Has thanked: 73 times
- Been thanked: 26 times
- Contact:
Re: Any plan for basic mainline linux support?
Try to start from the minimal image, instead of the net installer
viewtopic.php?f=182&t=37109
viewtopic.php?f=182&t=37109
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
I suppose you are running a Samsung EVO SD card?istanbulls wrote: ↑Wed Jan 15, 2020 2:36 amdid not boot. The spi switch has nothing on the emmc side. I placed the spi switch for the petitboot but did not boot.
- istanbulls
- Posts: 451
- Joined: Tue May 14, 2019 10:18 pm
- languages_spoken: Turkish
- ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
- Location: Istanbul-Turkey
- Has thanked: 279 times
- Been thanked: 68 times
- Contact:
Re: Any plan for basic mainline linux support?

no!!!!tobetter wrote: ↑Wed Jan 15, 2020 2:44 amI suppose you are running a Samsung EVO SD card?istanbulls wrote: ↑Wed Jan 15, 2020 2:36 amdid not boot. The spi switch has nothing on the emmc side. I placed the spi switch for the petitboot but did not boot.



most trusted Sandisk ext. 32gb
http://bit.ly/2NjQSG3
i will download and flash it again
-
- Posts: 245
- Joined: Mon Sep 02, 2019 2:33 am
- languages_spoken: english
- ODROIDs: odroid-n2
- Has thanked: 73 times
- Been thanked: 26 times
- Contact:
Re: Any plan for basic mainline linux support?
How can I edit the boot.scr file?
I need to set to false the autodectet display feature. I tried with nano, but after saving the system doesn't boot at all, like there is nothing on the sd card.
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
Changing boot.scr is not a good idea since it's binary format. Sorry for using another solution instead of boot.ini, you can choose the value or add the command in a file in the directory /usr/share/flash-kernel/ubootenv.d/upstream. You will be easily understand how they work, if you like to see the more commands that works for v4.9 kernel, check out the directory /usr/share/flash-kernel/ubootenv.d/4.9.y.
Code: Select all
tobetter@disco:/usr/share/flash-kernel/ubootenv.d/upstream$ ls -l
total 12
-rw-r--r-- 1 root root 125 Jan 8 2020 10-console
-rw-r--r-- 1 root root 31 Jan 8 2020 30-bootmemory
-rw-r--r-- 1 root root 48 Jan 8 2020 90-misc
Please note that the 5.x kernel does not have many tweaks like v4.9 kernel, so even if you manage the value for autodetect it would not work.
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
Sorry...istanbulls wrote: ↑Wed Jan 15, 2020 2:53 am
no!!!!tobetter wrote: ↑Wed Jan 15, 2020 2:44 amI suppose you are running a Samsung EVO SD card?istanbulls wrote: ↑Wed Jan 15, 2020 2:36 amdid not boot. The spi switch has nothing on the emmc side. I placed the spi switch for the petitboot but did not boot.![]()
![]()
![]()
most trusted Sandisk ext. 32gb
http://bit.ly/2NjQSG3
i will download and flash it again

In case it does not work, please do put the SD card to USB card reader and attach to USB host port of ODROID-N2 such that Petitboot can boot it up from USB host.
- istanbulls
- Posts: 451
- Joined: Tue May 14, 2019 10:18 pm
- languages_spoken: Turkish
- ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
- Location: Istanbul-Turkey
- Has thanked: 279 times
- Been thanked: 68 times
- Contact:
Re: Any plan for basic mainline linux support?
Go for Ubunut Desktop.
And I've slightly fixed the image uploaded, please do download the image if you like to start from scratch.
[/quote]
I downloaded the new image. install starts but gives error before proceeding.
- Attachments
-
- IMG_20200114_211644.jpg (392.14 KiB) Viewed 8185 times
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
I downloaded the new image. install starts but gives error before proceeding.istanbulls wrote: ↑Wed Jan 15, 2020 3:17 amGo for Ubunut Desktop.
And I've slightly fixed the image uploaded, please do download the image if you like to start from scratch.
[/quote]
You may not have eMMC on your ODROID-N2 if you have boot the installer image without change? From the installer memory card, open the file preseed.ini and check out the bottom that sets the target installation disk. If you like to install Ubunto to uSD, you must set disk=/dev/mmcblk1 instead of disk=/dev/mmcblk0 which is default in the image. If you like to install manually, change the value of di_auto to false which is in the top of the same file.
- istanbulls
- Posts: 451
- Joined: Tue May 14, 2019 10:18 pm
- languages_spoken: Turkish
- ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
- Location: Istanbul-Turkey
- Has thanked: 279 times
- Been thanked: 68 times
- Contact:
Re: Any plan for basic mainline linux support?
I put emmc on odroid N2. Everything is fine now. installation in progress.
- These users thanked the author istanbulls for the post:
- tobetter (Wed Jan 15, 2020 4:24 am)
- istanbulls
- Posts: 451
- Joined: Tue May 14, 2019 10:18 pm
- languages_spoken: Turkish
- ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
- Location: Istanbul-Turkey
- Has thanked: 279 times
- Been thanked: 68 times
- Contact:
-
- Posts: 9094
- Joined: Wed Jul 15, 2015 5:00 pm
- languages_spoken: english
- ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
- Location: Bucharest, Romania
- Has thanked: 597 times
- Been thanked: 584 times
- Contact:
Re: Any plan for basic mainline linux support?
user/password are set in preseed.ini.
- These users thanked the author mad_ady for the post:
- istanbulls (Wed Jan 15, 2020 4:52 am)
- istanbulls
- Posts: 451
- Joined: Tue May 14, 2019 10:18 pm
- languages_spoken: Turkish
- ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
- Location: Istanbul-Turkey
- Has thanked: 279 times
- Been thanked: 68 times
- Contact:
Re: Any plan for basic mainline linux support?
ubuntu desktop setup is over.
When the first version installation, asked me not to create a name and password.
In the second version he did not ask anything.
n2 has no emmc installed. therefore did not install, error warning.
I installed emmc on android in N2 and completed the installation.
ubuntu set up desktop emmc, didn't ask me if you want to install emmc.
Now I opened the desktop, he wants a password from me.
yes "preseed.ini" had Ubuntu Netboot Installer. but no more when the installation is finished.
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
If you have installed without changing in preseed.ini, default account and password is odroid/odroid which is in preseed.ini. The preseed.ini is like a configuration for the installer.
"Tapatalk wishes you to have fun with ODROID"
"Tapatalk wishes you to have fun with ODROID"
- istanbulls
- Posts: 451
- Joined: Tue May 14, 2019 10:18 pm
- languages_spoken: Turkish
- ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
- Location: Istanbul-Turkey
- Has thanked: 279 times
- Been thanked: 68 times
- Contact:
Re: Any plan for basic mainline linux support?
Thank you
I've already tried and I'm at the desktop cheers
I've already tried and I'm at the desktop cheers
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
Glad to know to know it works, I am wondering how long the netboot installer runs to complete the installation.istanbulls wrote: ↑Wed Jan 15, 2020 5:48 amThank you
I've already tried and I'm at the desktop cheers
- istanbulls
- Posts: 451
- Joined: Tue May 14, 2019 10:18 pm
- languages_spoken: Turkish
- ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
- Location: Istanbul-Turkey
- Has thanked: 279 times
- Been thanked: 68 times
- Contact:
Re: Any plan for basic mainline linux support?
Min. 45 minutes
Sound does not work, for your information
Sound does not work, for your information
-
- Posts: 14
- Joined: Fri Oct 11, 2019 5:04 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: Any plan for basic mainline linux support?
Hello,
Anyone tried to put your installation on uSD ? Because i tried on two installation went fine. But system did not boot ;-(
BTW both SD cards work with other distros without problems. And i tried both MMC and SPI switch.
Congo
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
Sorry, I have not tried to boot from uSD. Can you please try to put your uSD to USB card reader and boot from USB port using Petitboot?
-
- Posts: 245
- Joined: Mon Sep 02, 2019 2:33 am
- languages_spoken: english
- ODROIDs: odroid-n2
- Has thanked: 73 times
- Been thanked: 26 times
- Contact:
Re: Any plan for basic mainline linux support?
I installed the minimal image of ubuntu disco on sd, and booted with spi switch on mmc. Then I installed the new kernel, the wayland support, made some adjustments to the user permission as reported above and, at least, installed the desktop package.
It booted fine.
With petitboot I dind't have a video output, but I don't know if it is a bug in the mainline kernel or is the same issue I always had with my LG lcd TV (I always need to edit the boot.ini file to manually set the screen resolution).
-
- Posts: 245
- Joined: Mon Sep 02, 2019 2:33 am
- languages_spoken: english
- ODROIDs: odroid-n2
- Has thanked: 73 times
- Been thanked: 26 times
- Contact:
Re: Any plan for basic mainline linux support?
Just a suggestion: could it be more prductive to discuss in this thread only of the kernel development and open a new thread about the wayland and the desktop environment?
- These users thanked the author Sav for the post:
- istanbulls (Wed Jan 15, 2020 6:07 pm)
- tobetter
- Posts: 7172
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 384 times
- Been thanked: 1052 times
- Contact:
Re: Any plan for basic mainline linux support?
You were ahead of me, I was writing the same.

I fully agree with you, keep this thread for kernel features missing in the mainline and keep managing the rest somewhere else, maybe another thread of mine about Netboot installer. I am thinking of updating the thread.
FYI, I am building the Linux kernel 5.x using my Github, https://github.com/tobetter/linux/tree/stable-v5.4, and an update will be managed through my package repository. Your patches are always welcome.

- These users thanked the author tobetter for the post (total 2):
- istanbulls (Wed Jan 15, 2020 6:07 pm) • rooted (Thu Jan 16, 2020 12:25 am)
-
- Posts: 213
- Joined: Fri Aug 04, 2017 12:48 pm
- languages_spoken: english
- ODROIDs: XU4, HC1, 2x N2
- Has thanked: 14 times
- Been thanked: 5 times
- Contact:
Re: Any plan for basic mainline linux support?
So how far are we from having a minimal Linux distro that is roughly equivalent to the current official HardKernel Ubuntu (based on 4.9.x) for the N2? I run a headless server configuration with no need for graphics or audio, but would like to use the GPU via OpenCL. I'd like using the 5.4.x kernel to be as effortless as using what HK provides. And I don't want to have to be an expert in building kernels, etc.
-
- Posts: 264
- Joined: Wed Jan 15, 2014 2:58 am
- languages_spoken: english,slovak
- ODROIDs: XU4,C1,C2,N2,C4
- Has thanked: 1 time
- Been thanked: 24 times
- Contact:
-
- Posts: 264
- Joined: Wed Jan 15, 2014 2:58 am
- languages_spoken: english,slovak
- ODROIDs: XU4,C1,C2,N2,C4
- Has thanked: 1 time
- Been thanked: 24 times
- Contact:
Re: Any plan for basic mainline linux support?
Right

And you can use sudo BETA=yes EXPERT=yes ./compile.sh
to build Ubuntu 19.10 image
-
- Posts: 5
- Joined: Fri Sep 27, 2019 9:20 pm
- languages_spoken: english
- ODROIDs: odroid-n2, odroid-xu4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Any plan for basic mainline linux support?
Any idea that I cannot discard emmc and sdcard with kernel 5.4.6?
Code: Select all
Linux odroidn2 5.4.6-gentoo-yrzr+ aarch64
12:04:19 up 2 days, 20:59, 3 users, load average: 5.32, 4.51, 3.03
$ uname -r
5.4.6-gentoo-yrzr+
$ fstrim -v /
fstrim: /: the discard operation is not supported
$ lsblk --discard
NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sda 0 512B 4G 0
└─sda1 0 512B 4G 0
mmcblk0 0 0B 0B 0
├─mmcblk0p1 0 0B 0B 0
├─mmcblk0p2 0 0B 0B 0
└─mmcblk0p3 0 0B 0B 0
mmcblk0boot0 0 0B 0B 0
mmcblk0boot1 0 0B 0B 0
mmcblk1 0 0B 0B 0
├─mmcblk1p1 0 0B 0B 0
├─mmcblk1p2 0 0B 0B 0
└─mmcblk1p3 0 0B 0B 0
-
- Posts: 22
- Joined: Fri Apr 05, 2019 4:16 am
- languages_spoken: english
- ODROIDs: 4 C2, 2 XU4, 5 N2
- Has thanked: 1 time
- Been thanked: 3 times
- Contact:
Re: Any plan for basic mainline linux support?
I read through the whole thread and 3rd party news sites. I am a little bit confused regarding the state of the ODROID N2 in mainline especially with the release of linux 5.5
It would be great, if someone could summarize the current state of affairs
My plan is to run mainline archlinux arm or armbian on the odroid n2 as headless servers. Can I just use the mainline kernel packages? (tried with archlinux arm 5.4 - no boot) Are patches still required to the mainline kernel for a headless plain server setup? What about uboot or petitboot, which one should be used for this kind of setup?
It would be great, if someone could summarize the current state of affairs

My plan is to run mainline archlinux arm or armbian on the odroid n2 as headless servers. Can I just use the mainline kernel packages? (tried with archlinux arm 5.4 - no boot) Are patches still required to the mainline kernel for a headless plain server setup? What about uboot or petitboot, which one should be used for this kind of setup?
-
- Posts: 1851
- Joined: Tue Sep 01, 2015 8:54 am
- languages_spoken: english
- ODROIDs: XU4, N1, N2, C4, N2+, HC4
- Has thanked: 59 times
- Been thanked: 132 times
- Contact:
Re: Any plan for basic mainline linux support?
uboot + kernel from the post just before yours (patches for usb and speed).
if someone points out a concise patch for audio, h265, etc I'll add them but for now those are lost in chewitt's kodi branch.
-
- Posts: 11
- Joined: Thu May 02, 2019 6:25 am
- languages_spoken: english, german
- ODROIDs: HC2, N2
- Has thanked: 4 times
- Been thanked: 0
- Contact:
Re: Any plan for basic mainline linux support?
Hello everyone,
I managed to switch from 4.9 to 5.5.0 with elatllat's script. Thank you for that!
Everything I need works fine, but there a two problems.
1. output of free -m shows
So there is a bit of ram missing. I read the post of Rising_Sun, where he changed the memory value to 0xf0000000, but I don't know exactly in which file.
I have mevererics debian release since I got my N2 and changed the value in /opt/linux/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts to
But nothing changed. I had a similar problem with kernel 5.4.13, but I think I could use almost 3,6 GB of ram.
2. When I reboot my device, I have to manually unplug and replug my USB-SSD to get it recognized. There are no problems with my two 10 TB HDDs. Could that be a driver issue?
Maybe someone can help
Thank you!
I managed to switch from 4.9 to 5.5.0 with elatllat's script. Thank you for that!
Everything I need works fine, but there a two problems.
1. output of free -m shows
Code: Select all
free -m | head -n 2
total used free shared buff/cache available
Mem: 3422 918 1358 51 1145 2290
I have mevererics debian release since I got my N2 and changed the value in /opt/linux/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts to
Code: Select all
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0xf0000000>;
2. When I reboot my device, I have to manually unplug and replug my USB-SSD to get it recognized. There are no problems with my two 10 TB HDDs. Could that be a driver issue?
Maybe someone can help
Thank you!
Who is online
Users browsing this forum: No registered users and 1 guest