[BPI-M7] ArchLinuxArm build script

Today I received my BPI-M7 (ArmSoM-Sige7).

So I can now introduce my buildscript for the BPI-M7. Still in Alfa phase, but the boards boots. Should even be able to boot from nvme :slight_smile:

It boots mainline U-Boot and mainline linux (collabora version).

For now, only input/output on UART2 (on 40pin header). Be carefull, 3.3V only!

So only booting until command prompt tested, the rest all still have to test.

1 of the two ethernet ports should be setup to have an ip number (still have to figure out which one). Should be ssh access to it.

So after testing, the build image looks pretty good:

  • u-boot mainline
  • linux based on linux-6.10-rc1, with collabora’s patches, so no more rockchip-linux
  • nvme is recognized
  • gnome running ok
  • mesa seems to work ok (panfrost/panthor)
  • ffmpeg-v4l2-request decoding seems to use the hantro-vpu, after adding vpu to dts
  • outer rj45 gets ip which is entered during setup

Building image with script works fine, no need to fix secondary gpt. However, I also have some prebuild images here:

www.woudstra.mywire.org/images/

Use the command sudo rockchip-postinstall to install gnome + mesa + ffmpeg-v4l2request-git (and kodi, still working on it).

1 Like

@koutheir

I do not have a pre-build image ready, but I have a script that will create one.

ericwoud/buildRKarch: Build script for building an image for Rockchip devices running ArchLinux (RK3288/RK3588 for now) (github.com)

The script itself runs on Debian/Ubuntu/Archlinux x86-64. Follow the readme.

I am running an image created by his script daily, but it has been a while since I tested the script itself, should be okay.

You could give this a try, if you are interested in Archlinuxarm, or I could build an image already if you do not have a system to run the script.

It is mainline U-Boot, Collabora’s mainline linux kernel fork (a few months old, so no hdmi-rx)

Postinstall script installs standard Gnome, Mesa, Kodi and a patched ffmpeg (from LibreElec) for hardware decoding.

So no tweaks and no extensive tests done. You can use it to start with and tweak further, but this is not suitable if you just need a ready to go image with everything immediately functional 100%.