[Context]
I am currently working on a project and using spatialite (5.0.1) and rasterlite2 (2.1.1) on ubuntu 20 for a few months now.
Previously, I was working on regular x86 architecture on my laptop. I am now trying to have the same project running on a nvidia jetson nx, which is arm64 architecture.

[Problem]
The code is running well on my laptop (x86 architecture), but the RL2_ImportSectionRawPixels is returning a failure (NULL) when I want to import a raster into a coverage on the nvidia jetson (arm64 architecture).
I printed out the SQL statements which are exactly the same on both devices.

First I create a coverage like this (correct on both architecture):

SELECT RL2_CreateRasterCoverage('rast_cov', 'UINT8', 'Grayscale', 1, 'NONE', 100, 256, 256, 4326, 0.0000067246, 0.0000045511, RL2_SetPixelValue(RL2_CreatePixel('UINT8', 'Grayscale', 1), 0, 5), 0, 0, 0, 0, 0, 1);

Then I insert the raster like this (fails on arm64):

SELECT RL2_ImportSectionRawPixels('rast_cov', 'single_px', 1, 1, x'00', GeomFromText('LINESTRING(2.1203428088 48.8049046439, 2.1203495334 48.804909195)', 4326), 1, 1);