Where is the July 4 release?
The latest kickstarter update said there would be a release for Le Frite today. Where is the July 4 OS release? I don't even see an -805- folder in http://share.loverpi.com/board/. I'm probably just missing something as far as the location of the files.
Comments
http://share.loverpi.com/board/libre-computer-project/libre-computer-board/image/ubuntu/
Has a load of images now
sudo apt-get update
--------------------------------------------------------------------
make all fails
$ make all
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.19.57+/build M=/home/libre/TL-WN725/rtl8188eu modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.57+'
CC [M] /home/libre/TL-WN725/rtl8188eu/core/rtw_ap.o
CC [M] /home/libre/TL-WN725/rtl8188eu/core/rtw_br_ext.o
....... deleted many lines
CC [M] /home/libre/TL-WN725/rtl8188eu/os_dep/xmit_linux.o
LD [M] /home/libre/TL-WN725/rtl8188eu/8188eu.o
Building modules, stage 2.
MODPOST 1 modules
/bin/bash: scripts/mod/modpost: cannot execute binary file: Exec format error
scripts/Makefile.modpost:92: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 126
Makefile:1520: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.57+'
Makefile:151: recipe for target 'modules' failed
make: *** [modules] Error 2
----------------------------------------------------
The make is failing because /usr/src/linux-headers-4.19.57+/scripts/mod/modpost executable has x86 architecture instead of arm64.So I tried to make the modpost as all source files are included. But it fails.
Couple of queries ...
1) Why does linux-headers-4.19.57+ . have x86 binaries instead of arm64 binaries?
2) Can someone guide how to build the modpost & mk_elfconfig ( two executables in mod directory) or perhaps the entire linux-header-4.19-57+ ?
My guess is that you are trying to build natively on the La Frite, and that the kernel and headers packages there were probably cross-compiled using an X86 host. The modules package probably has the binaries needed/used during cross compilation, not binaries cross-compiled for the target (since these would not be usable on the cross-compiling host).
You probably have two choices. You can try transferring all of the La Frite kernel headers to an X86 system, and try cross-compiling the module there. Or you can download the whole La Frite kernel source tree to the La Frite, configure it identically with the one in your distro, build (getting a modpost etc. as a side effect) and then install the binaries this built in place of the not-useful X86 binaries in your headers directory... and then build your module.