Hi Lukas,

On 2024-04-11 16:17, Lukas Schmid wrote:

The modules are loaded correctly, the module is detected and scanning for networks works. However when trying to connect to a network, I get the following message about an unaligned scatterlist.

----------------------------------------------------------------------------------

[...]
[   56.217995] sunxi-mmc 1c10000.mmc: unaligned scatterlist: os 4c0 length 11
[   56.218020] sunxi-mmc 1c10000.mmc: map DMA failed
[...]

----------------------------------------------------------------------------------

Has anyone maybe got an idea as to how this could be fixed?

sunxi-mmc could implement a bounce buffer to gracefully handle these unaligned DMA operations. This is what other architectures do.

Here's an example from STM32: https://patches.linaro.org/project/linux-mmc/patch/[email protected]/

Regards,
Felix

Reply via email to