[PATCH 0/6] Fix Yeeloong 2F support

2024-09-01 Thread Vladimir 'phcoder' Serbinenko
This series of patches fixes compilation and running on Yeeloong 2F with new GCC. Clang is not supported as it fails to compile for mips3 architecture -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org https://lists

[PATCH 2/6] erofs: Replace 64-bit modulo with bitwise operations

2024-09-01 Thread Vladimir Serbinenko
Otherwise depending on compiler we end up with umoddi3 reference and failed module dependency resolution Signed-off-by: Vladimir Serbinenko --- grub-core/fs/erofs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grub-core/fs/erofs.c b/grub-core/fs/erofs.c index 46cfc2e5c

[PATCH 3/6] xzembed: Silence warning when no BCJ is available

2024-09-01 Thread Vladimir Serbinenko
BCJ is not available for all platforms hence arguments may end up unused Signed-off-by: Vladimir Serbinenko --- grub-core/lib/xzembed/xz_dec_bcj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/lib/xzembed/xz_dec_bcj.c b/grub-core/lib/xzembed/xz_dec_bcj.c index bf

[PATCH 1/6] configure: Look for .otf fonts

2024-09-01 Thread Vladimir Serbinenko
Signed-off-by: Vladimir Serbinenko --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d4a14bf93..fe5493246 100644 --- a/configure.ac +++ b/configure.ac @@ -1875,7 +1875,7 @@ AC_ARG_WITH([unifont], if test "x$with_unifont" = x;

Re: [PATCH 2/6] erofs: Replace 64-bit modulo with bitwise operations

2024-09-01 Thread Gao Xiang
On 2024/9/2 08:22, Vladimir Serbinenko wrote: Otherwise depending on compiler we end up with umoddi3 reference and failed module dependency resolution Signed-off-by: Vladimir Serbinenko Reviewed-by: Gao Xiang Thanks, Gao Xiang ___ Grub-devel ma

[PATCH 4/6] configure: Add -mno-gpopt option

2024-09-01 Thread Vladimir Serbinenko
Without it compiler generates GPREL16 references which do not work with our memory layout Signed-off-by: Vladimir Serbinenko --- configure.ac | 12 1 file changed, 12 insertions(+) diff --git a/configure.ac b/configure.ac index fe5493246..c3d9398ab 100644 --- a/configure.ac +++ b/c

[PATCH 5/6] mkimage: Fix section_align for Loongson

2024-09-01 Thread Vladimir Serbinenko
Correct value has been 4 fromthe beginning but it started mattering only recently whether because of compiler or because of code reshuffling --- util/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/mkimage.c b/util/mkimage.c index 8c5660825..d77399778 100644 ---

[PATCH 6/6] gentpl: Put startup_raw.S into beginning of the image

2024-09-01 Thread Vladimir Serbinenko
Otherwise it breaks the decompressors for mips platforms Signed-off-by: Vladimir Serbinenko --- gentpl.py | 4 ++-- grub-core/Makefile.core.def | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gentpl.py b/gentpl.py index 3b12eca6c..d8c6965d8 100644 --- a