Kernel module loading failing for Allwinner kernel build with binutils >2.35
Describe your issue
When compiling a kernel (tested only with linux-postmarketos-allwinner) I am not able to load modules. I get insmod errors with "invalid module format". Tested with both the Pinephone and Pinetab. Downgrading binutils-aarch64 to version 2.34 and recompiling the kernel resolves the issue.
What's the expected behaviour?
Modules loading successfully
What's the current behaviour?
Modules not loading at all
How to reproduce your issue?
Recompile the current linux-postmarketos-allwinner, boot it.
What device are you using?
Pinephone, Pinetab
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
stable ( v20.05
branch)
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo
Other
-
No environment -
GNOME -
KDE Plasma -
Kodi -
MATE -
Shelli -
Sway -
Weston -
Xfce4 -
fbkeyboard -
i3wm
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in dd-mm-yyyy format)
2020-10-07