-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build armhf libs #241
base: knulli-main
Are you sure you want to change the base?
Build armhf libs #241
Conversation
A set of libraries is here -- https://drive.google.com/file/d/1oTJQSO25jQDX74EeIyF1NsDFSo0CSmB8/view?usp=sharing |
I have quickly tested the following ports using the above libraries. Super Meat Boy Iconoclasts 69dd787cc121d42ca21d131be1bc1c20 supermeatboy/gl4es/libEGL.so.1 == The following work the same as now (sound seems to be missing in some cases, but this is not affected by which libraries are used): BIOMASS Growth.sh |
I believe it's ok, we shouldn't need the OpenCL for the 32bit unless there's a need for some portmaster games. The changes look good, but I want to review the -board* changes before I merge the PR. I'll try to that later today. Thanks for the PR, it will save a lot of headaches :) |
Here is a WIP approach to building 32-bit armhf h700 libraries:
The script will run
make h700-config
to generate a 64-bit configuration, then selects packages fromoutput/h700/.config
by excluding a long list of packages that do not install libraries. These packages are added toconfigs/batocera-h700_armhf_libs.packages
.make -j8 h700_armhf_libs-build
uses a minimal configuration, which includes the above file, adds a few packages for missing libraries, and creates a tar file.The resulting set of libraries can be compared against the 64-bit build using
./check-armhf-libs.sh
. By default, this will ignore a list of libraries that I did not think were needed for a 32-bit build. For me, the output is:This is the only missing library that I think is any cause for concern. I am using my own fork of the https://github.com/knulli-cfw/t507_gpu_drivers repo, which includes the 32 bit libmali from knulli firefly, which does not seem to support OpenCL (I could be wrong.)
To get a complete list of missing libraries, use
./check-armhf-libs.sh -a
instead. This could be used to refine the choice of packages.output/h700_armhf_libs/images/rootfs.tar
contains/lib
,/usr/lib
and/lib/ld-linux-armhf.so.3
which can be copied/linked into/lib32
,/usr/lib32
and/lib/ld-linux-armhf.so.3
in a 64-bit build. I've tested the resulting libs with a range of 32 bit portmaster games, and they seem to work OK.