Hi
i need to build radeonsi_dri.so in my T1040 board, can you help me to build this?
Yes — but first important point: radeonsi_dri.so is Mesa’s Gallium OpenGL DRI driver for AMD Radeon GPUs from Southern Islands (GCN/GFX6) and newer, so your T1040 itself is only the CPU/SoC; you will need a supported external AMD GPU attached (typically over PCIe) plus a working Linux DRM stack for that GPU. The T1040 is a 64-bit e5500 Power Architecture SoC and it does provide PCIe 2.0 controllers, so the platform can host an external GPU in principle.
Also, radeonsi is built from Mesa’s src/gallium/drivers/radeonsi code, and Mesa’s Meson build system exposes gallium-drivers and dri-drivers-path options that are exactly what you need to produce/install a radeonsi DRI driver.
I suggest cross-build Mesa on an x86 Linux host rather than building natively on the board.
radeonsi
You should typically end up with something like:
For an embedded T1040 project, the cleanest solution is usually not to manually copy one .so, but to enable mesa with radeonsi in your Yocto image/recipe, so the entire dependency chain stays version-aligned.