ArchLinux minimal image with RPi 6.12.y kernel for uConsole with CM3/CM4/CM4S

all works just great with this image, but is it possible to enable scrolling with trackball somehow?

The updated keyboard firmware from clockwork has that function. I recommend the QMK firmware a community member made. It can scroll up/down & left/right.

2 Likes

do you mind if I ask some questions here?
I have issues running firefox - it’s pretty sluggish and also it doesn’t play any of videos (e.g. on youtube). when I run it from shell I see some errors

[ucon@archlinux ~]$ firefox
[ERROR neqo_crypto] Minimum NSS version of 3.105
     not supported
GetShaderInfoLog() ->
0:2(12): error: extension `GL_EXT_shader_texture_lod' unsupported in fragment shader

GetShaderSource() ->

#extension GL_EXT_shader_texture_lod: require
void main() {}

Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Couldn't sanitize GL_RENDERER "V3D 4.2.14.0" (t=9.28529) [GFX1-]: Couldn't sanitize GL_RENDERER "V3D 4.2.14.0"

I see that v3d kernel module is loaded and glxgears seem to work fine (~50fps with v-sync). I run wayland. what am I missing?

Hi @zstas,

I don’t know why but the same situation happens on my side. It looks like the CPU is struggling.

In case you wonder, I use hardware-decode-enabled mpv to play offline videos.

I rarely use uconsole/cm4 these days for it’s insufficient performance.

I’m getting the same error but the video plays fine. I’m on x11 and in Firefox I disabled hardware acceleration.

I’m a beginner, and if possible, could you create a video or provide detailed steps explaining how to use the content in your GitHub repository to install Arch Linux on the uConsole? I’ve checked your GitHub repository, and although it’s very detailed, I still couldn’t fully understand it as a beginner. I would be incredibly grateful if you could help with this! :slightly_smiling_face:

Hi @EarthlyCookie,

Since you identify yourself as a beginner, I would suggest to go with the prebuilt os image instead. Just use popular tools to write it to your Micro SD card. That’s what I did when I received my first RPi3 several years ago, being a complete noob.

Besides, I’ve published scripts to create the os image. That should be useful.

To understand the procedure to craft the os image/install it manually, you need to have some basic ideas of:

  • the boot process of RPi/linux
  • linux file system hierarchy
  • related utilities on linux
  • and of course ArchLinux

Overall, the installation takes following steps:

  • prepare partitions
  • deploy rootfs of the selected linux distro(to sd card, the storage device)
  • install hardware-supporting packages if necessary:
    • custom linux kernel(has device drivers builtin)
    • external drivers(not on uconsole though)
    • device firmware(propriety blobs)
    • suitable bootloader
  • configure the bootloader/platform firmware so os can boot

For embedded devices like uconsole, the bootloader(s) to install is very likely to contain first stage bootloader, which is usually the BIOS/UEFI/platform firmware in PCs, and that may confuse beginners. So you can’t simply copy & paste what it works for PCs.

Bro, I really appreciate it so much :face_holding_back_tears:. Thank you for your detailed explanation—it has been a huge help in guiding my learning direction.

I’m surely going to go with the pre-built image you linked in your original post. Thanks for uploading it!

Considered testing your expertise with a Compute Module 5? :pleading_face:

Also, I noticed my setup isn’t updating for 2 weeks now. Does anybody else have the same trouble?

Do you have the Mesa driver for the Broadcom GPU? You may also try installing ffmpeg-rpi. I also run Firefox on my setup with 8GB RAM. And I have yet to run into trouble with the browser.

I see only vulkan-broadcom package and I have installed mesa package. Anyway, in Chromium everything works smoother and it looks like I even get hw offloading for video decoding.
From my understanding Firefox should be using v4l2 for offloading, but on my setup it just doesn’t want to play with or without hw offloading tick in the settings :confused:

Hmmm, I’ve looked across the forum, and only came up with this clue. It might be a good idea to install the vulkan-broadcom package.

Maybe you can post the results of your about://support, particularly the ones concerning video acceleration and display protocol. (Before and after would be nice.)

The fun part is over. I won’t do it again for CM5. Actually I don’t like new RPis. Will buy more RP2040/RP235x though, they are handy (๑“ڔ`๑)

How about the radxa CM5? Arch on rk3588 on a uconsole would be pretty sweet.

1 Like

The username and password for the image shared by the OP (original poster) are not specified. I don’t know how to reset the password.

Try ucon for both the user name and password. How did you acquire your install? Did you look into the scripts for clues?

https://filehosting.faint.day/uconsole-stuff/uconsole-archlinux-test-20240927.img.zst
I downloaded the image package you shared, but it requires a password. I don’t know how to reset the password.

Thank you bro,it’s correct

Excuse me for asking again, but do you still remember the password for the root user?

I… don’t think the image is configured for root access. You will have to use sudo.

If you need root access, then one way is to set a password through arch-chroot. See the ArchWiki and the Github project to learn how to change the password for the root user.