Artix Linux Forum

Artix Linux => Other Architectures => ARMtix => Topic started by: replabrobin on 30 January 2024, 13:44:57

Title: Armtix on RPI5
Post by: replabrobin on 30 January 2024, 13:44:57
I have armtix working on rpi5. effectively using a duplicated armtix rpi4 sd card I followed the technique
of https://github.com/archlinuxarm/PKGBUILDs/tree/master/core/linux-rpi to get a working boot.

I used the alarm pkgbuild from here https://github.com/archlinuxarm/PKGBUILDs/tree/master/core/linux-rpi with a change of package name and a change of linux logo to get a package linux-armtix-rpi5.

Also need to install rpi5-eeprom package and do a conf file for X11 to make vc4 kms work.

with dtparam=nvme in config.txt I can also see an nvme drive.
Title: Re: Armtix on RPI5
Post by: phoenix_king_rus on 30 January 2024, 15:27:12
Could you write instructions page for that board? Also, does linux-rpi-16k from ALARM make any sense then?
Title: Re: Armtix on RPI5
Post by: replabrobin on 30 January 2024, 15:32:18
I will put my PKGBUILD etc etc up on github. If I can I will also try and write a README detailing the steps I took. I started from a running rpi4 install though. That setup was much harder since I started from a manjaro kernel and their split of the various RPI packages is different to alarm.
Title: Re: Armtix on RPI5
Post by: replabrobin on 30 January 2024, 17:19:33
Could you write instructions page for that board? Also, does linux-rpi-16k from ALARM make any sense then?

I have created an initial git repo here https://github.com/armtix-robin/linux-armtix-rpi5

Will create some kind of README.md later.

I started with the simple rpi5 as that allows me to start from manjaro.

Not sure I really understand what the 16k is all about do these small boards need 16k pages?
Title: Re: Armtix on RPI5
Post by: replabrobin on 31 January 2024, 13:02:05
I created a construction readme at https://github.com/armtix-robin/linux-armtix-rpi5/

I used a latest runit image from armtix as a starting point and smashed the alarm kernel onto it.

Please have a read and see if it's usable.

*NB* the PKGBUILD in the repo is almost identical to the one I used in the README which is latest alarm.
It's probably a bit behind, but all it does is change the name and add an artix cpu counter image instead of the raspberries that RPI has.
Title: Re: Armtix on RPI5
Post by: replabrobin on 31 January 2024, 18:11:02
Not sure I really understand what the 16k is all about do these small boards need 16k pages?

I see this message installing my kernel

Code: [Select]
For optimal performance on RPi5, consider installing the
 linux-rpi-16k kernel package instead of linux-rpi

So I will try building the 16k kernel at the weekend. Any ideas how any improvement could be demonstrated?

Edit: there's a discussion here (https://forums.raspberrypi.com/viewtopic.php?t=361390#:~:text=Re%3A%20Why%20to%20run%2016k%20page%20size%20for%20RPi5%3F&text=The%20default%20kernel%20for%20a,increase%20in%20random%20memory%20accesses.)
Title: Re: Armtix on RPI5
Post by: replabrobin on 01 February 2024, 17:41:20
I built and installed linux-armtix-rpi5-16k. It seems to boot OK.