Ubuntu linux on Picocalc (with luckfox lyra SBC) tinkering megathread

Thank you very much for your work. After trying it for a few days, I found several issues:

USB network adapter driver issue

I’m using an RTW88-series network adapter. After compiling the .ko modules, I noticed a few issues that affect usability:

  1. Some .ko modules under /lib/modules/ have already been built into the kernel, which causes errors when running modprobe. These modules need to be removed, mainly those in the USB subsystem.
  2. The firmware under /lib/firmware/ cannot be loaded in the bin.zst format. It needs to be decompressed into the bin format.

OpenGL/llvmpipe issue

I noticed that OpenGL programs using LLVM software rasterization will trigger a SIGSEGV — for example, running glxgears always causes a crash. After some investigation, I found that this may be a bug in LLVM/Mesa. Specifically, when the JIT compiler links some symbols, it may fail to find certain symbols, resulting in the target function becoming a null pointer, which then causes a crash when called.

A very simple workaround is to add the following line to .bashrc:

export LD_PRELOAD=/lib/arm-linux-gnueabihf/libgcc_s.so.1

This resolves the issue. Although it is only software rasterization, it may still be useful in some scenarios.

1 Like

Are there any threads about this this lyra zero w mod?