11-06-2018, 03:47 PM
Yeah, that's what I was looking for! I did also quickly adapt the PKGBUILD, so that works. Even better if that stuff finds it's way into mainline, so that I can just use the arch linux kernel.
I'm still having some problems with compiling U-Boot under Arch Linux as it throws useless warnings about syntax errors, may it be the case that the GCC toolchain in Arch is just a bit too new for the U-Boot version used? I'm just a little bit annoyed, that these errors are consistent amongst all my arch machines but do not appear under Ubuntu.
I'm still having some problems with compiling U-Boot under Arch Linux as it throws useless warnings about syntax errors, may it be the case that the GCC toolchain in Arch is just a bit too new for the U-Boot version used? I'm just a little bit annoyed, that these errors are consistent amongst all my arch machines but do not appear under Ubuntu.
(08-28-2018, 03:14 PM)ah- Wrote: Hey, I did the same and installed Arch by modifying one of the Ubuntu images. It doesn't seem too far off to have a straight up Arch port, I think the only bit that's actually left over from the Ubuntu image now is u-boot.
It runs nicely with the default 4.4 ayufan kernel that came with Ubuntu. Surprisingly the 4.18.5 arch mainline kernel came up and even had ethernet, but a bunch of other hardware didn't work, I guess partially due to the missing dtb, partially due to patches not yet in mainline.
Right now I'm running the ayufan 4.18.0-rc8, compiled via https://github.com/ah-/PKGBUILDs (https://github.com/ah-/PKGBUILDs/commit/...bb9839edd0), see core/linux-rockpro64 and just run makepkg in there. After installing the packages you'll need to add the kernel to extlinux.conf:
label arch
kernel /boot/Image
initrd /boot/initramfs-linux.img
devicetreedir /boot/dtbs
append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4
With that it runs really nicely as a server, it's fast and all the hardware I'm using works, including pcie sata.
The HDMI port works somewhat, I get an image but the UI is really slow, I don't get full resolution and the image is quite noisy. I suspect this might be due to me not having any userland installed for the GPU, does anyone know what the Mali GPU needs and how t get it onto Arch?