Temporary fix "PAGE_SIZE" issue on RPi5. (fix typo 'Temporary')
modified : 1 files , added : 1 file
packages/lakka/libretro_cores/flycast/package.mk
Enable GLES3 on RPi5.
projects/RPi/devices/RPi5/patches/flycast/0001-define-pagesize.patch
In Case of RPi5, it changes "PAGE_SIZE" value from 4096 to 16384.
This modification is for flycast GitHub issue #1288.
And, it also has relationship flycast GitHub commit "linux: retrieve page size at build time".
In this commit, "Will not work if cross-compiling however" is written.
If the cross-compiling issue will be fixed in upstream, this patch file may be unnecessary.
Confirmation
[RPi5]
PAGE_SIZE : OK (#define PAGE_SIZE 16384) It is patched on source file.
GLES3 : OK (-DUSE_GLES=ON) It confirm on build log.
[RPi4]
PAGE_SIZE : OK (#define PAGE_SIZE 4096) It is No patched on source file.
GLES3 : OK (-DUSE_GLES=ON) It confirm on build log.
[RPi4-GPICase2]
PAGE_SIZE : OK (#define PAGE_SIZE 4096) It is No patched on source file.
GLES3 : OK (-DUSE_GLES=ON) It confirm on build log.
This pull request enables flycast core on RPi5
It works by following 2 changing.
modified : 1 files , added : 1 file
packages/lakka/libretro_cores/flycast/package.mk Enable GLES3 on RPi5.
projects/RPi/devices/RPi5/patches/flycast/0001-define-pagesize.patch In Case of RPi5, it changes "PAGE_SIZE" value from 4096 to 16384. This modification is for flycast GitHub issue #1288. And, it also has relationship flycast GitHub commit "linux: retrieve page size at build time". In this commit, "Will not work if cross-compiling however" is written. If the cross-compiling issue will be fixed in upstream, this patch file may be unnecessary.
Confirmation
P.S. @gouchi Thank you for your advice!
Thanks. ASAI, Shigeaki