The first thing I did was load to my eMMC with the Gnome image from ArchDroid.
I booted it when connected to a mouse, keyboard, and HDMI monitor and it worked like a charm. Hurrah!
The next thing I did was try to update Arch Linux as every longtime Arch user is prone to do (
The update failed. For some reason the pre-installed yay package was tied to an older version of pacman and prevented the whole update. Since I know yay is optional I did
pacman -R yayand then did
pacman -Syuagain. That was able to get me past that issue. (to be sure, before I figured out that solution, I made some big missteps and had to start from scratch again)
When I rebooted things kinda worked, but both the boot messages and the graphical interface had a strange blue tint on it. I found this thread and took the advice there to install the linux-amlogic-515 kernel to replace the pre-installed linux-amlogic-panfrost-510 which I noticed was no longer even present on the archlinuxdroid package list.
pacman -S linux-amlogic-515 linux-amlogic-515-headers
When I rebooted, the color issue was fixed. The next problem I ran into was that the screen was using a lower resolution than what my screen can handle (1920x1080@60 instead of 2560x1440@60). I tried various changes to
/boot/boot.inibut none of them worked. I did notice that my
/boot/boot.iniwasn't the pretty one that I saw elsewhere with lots of comments. I figured that might be the problem.
It turns out there's an
odroid-bootiniscript that is part of archdroid's uboot-odroid-n2plus package. It is supposed to update your
/boot/boot.iniwith a nice version. It wasn't working for me because my
boot.inihad a line in it that prevented the script from updating the file. To fix this I made a backup copy of the file
cp /boot/boot.ini /boot/boot.ini.oldand reran the script. Great, now I had a nice looking boot.ini file!
However, it still didn't solve the display issue. I noticed though that there was a different Linux kernel in the ArchDroid package list called linux-odroid-518. I didn't like that it wasn't as new as 519, but I figured I'd give it a try.
pacman -S linux-odroid-515 linux-odroid-515-headersTurns out that fixed the display problems! I looked a bit deeper into this package and saw it was coming from a branch from a user called tobetter who seems to work for hardkernel. That made me feel better.
So, now I have (as far as I know) a fully functional and up-to-date Arch Linux box! I hope this helps someone else out, but I think even better would be to put out some more up-to-date images so folks won't have to go through this same process . If someone knows how I can help contribute to that, please let me know.
I'm an Arch Linux veteran, but I'm quite new to odroid machines. I'd appreciate it if anyone could help answer a few questions:
- Why is there this ArchDroid thing that is different from Arch Linux ARM? The ArchDroid page says "The ideal situation would be for the changes provided by this project to get merged upstream". Why is this being held up? What can be done here?
- I noticed that tobetter's kernel fork includes an "odroid-5.19.y" branch. Can we safely update to this? How about "odroid-6.2.y"? Are the panfrost branches still relevant?