* [Buildroot] [PATCH v3 00/11] LoongArch64 initial support
@ 2025-06-18 18:20 Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 01/11] package/gcc: Introduce BR2_GCC_TARGET_SIMD option Jiaxun Yang
` (10 more replies)
0 siblings, 11 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang, Romain Naour, Julien Olivain
Hi all,
This series enabled LoongArch64 support to buildroot.
It added LoongArch bits to toolchain and kernel & grub packages
and then introduced new loongarch64-efi board as a generic target.
This target is boot tested on Loongson 3A5000 desktop system.
I'll follow up later to enable various packages with architecture
dependencies.
Please review.
Thanks!
---
Sorry for taking so long to get back, I was trapped by EDK2 build
when I was making initial reversion and eventually lost track.
v2 Addressed most comments in v1.
To: buildroot@buildroot.org
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Dick Olsson <hi@senzilla.io>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
Changes in v3:
- Address comments in various individial patches
- Enable test-package
- Link to v2: https://lore.kernel.org/r/20250607-loongarch-v2-0-90bc4fda9080@flygoat.com
---
Jiaxun Yang (11):
package/gcc: Introduce BR2_GCC_TARGET_SIMD option
arch: Introduce LoongArch64
package/glibc: Enable LoongArch64 support
package/musl: Enable LoongArch64 support
linux: Introduce {vmlinux, vmlinuz}.efi kernel binary format
boot/grub2: Introduce loongarch64-efi target
configs/loongarch64_efi: new defconfig
boot/edk2: Add LoongArch64 OVMF support
package/qemu: enable loongarch64 as target package
configs/qemu_loongarch64_virt_efi: new defconfig
support/config-fragments: Add LoongArch64 toolchain support
DEVELOPERS | 7 ++
arch/Config.in | 20 ++++
arch/Config.in.loongarch | 128 +++++++++++++++++++++
arch/arch.mk | 1 +
board/loongarch64-efi/genimage-efi.cfg | 30 +++++
board/loongarch64-efi/grub.cfg | 6 +
.../patches/linux-headers/linux-headers.hash | 1 +
board/loongarch64-efi/patches/linux/linux.hash | 2 +
board/loongarch64-efi/post-image.sh | 5 +
board/loongarch64-efi/readme.txt | 38 ++++++
board/qemu/loongarch64-virt-efi/genimage.cfg | 30 +++++
board/qemu/loongarch64-virt-efi/grub.cfg | 6 +
board/qemu/loongarch64-virt-efi/post-image.sh | 5 +
board/qemu/loongarch64-virt-efi/readme.txt | 31 +++++
boot/edk2/Config.in | 14 ++-
boot/edk2/edk2.mk | 6 +
boot/grub2/Config.in | 10 ++
boot/grub2/grub2.mk | 9 ++
configs/loongarch64_efi_defconfig | 22 ++++
configs/qemu_loongarch64_virt_efi_defconfig | 25 ++++
linux/Config.in | 8 ++
linux/linux.mk | 4 +
package/gcc/gcc.mk | 4 +
package/glibc/Config.in | 2 +
package/musl/Config.in | 1 +
package/qemu/Config.in.host | 1 +
.../autobuild/br-loongarch64-full-internal.config | 3 +
.../autobuild/br-loongarch64-internal-glibc.config | 3 +
.../autobuild/toolchain-configs.csv | 2 +
toolchain/toolchain-buildroot/Config.in | 4 +
.../toolchain-external/pkg-toolchain-external.mk | 4 +
toolchain/toolchain-wrapper.c | 3 +
32 files changed, 434 insertions(+), 1 deletion(-)
---
base-commit: 5080f0af166d2fff26f0c661b0cc7da0b3eaddd8
change-id: 20250607-loongarch-8abe88258242
Best regards,
--
Jiaxun Yang <jiaxun.yang@flygoat.com>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 01/11] package/gcc: Introduce BR2_GCC_TARGET_SIMD option
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 02/11] arch: Introduce LoongArch64 Jiaxun Yang
` (9 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang, Romain Naour
Introduce BR2_GCC_TARGET_SIMD for gcc to handle --with-simd/-msimd
present at loongarch's gcc options.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
---
v2: Add missing toolchain wrapper code
---
arch/Config.in | 6 ++++++
arch/arch.mk | 1 +
package/gcc/gcc.mk | 4 ++++
toolchain/toolchain-external/pkg-toolchain-external.mk | 4 ++++
toolchain/toolchain-wrapper.c | 3 +++
5 files changed, 18 insertions(+)
diff --git a/arch/Config.in b/arch/Config.in
index 6b54c65df9cc7430e9d99e0dd9e29fef3cc527e4..ec720e74e193021ed01749945aed1457ec0789a1 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -349,6 +349,12 @@ config BR2_GCC_TARGET_FPU
config BR2_GCC_TARGET_FLOAT_ABI
string
+# The value of this option will be passed as --with-simd=<value> when
+# building gcc (internal backend) or -simd=<value> in the toolchain
+# wrapper (external toolchain)
+config BR2_GCC_TARGET_SIMD
+ string
+
# The value of this option will be passed as --with-mode=<value> when
# building gcc (internal backend) or -m<value> in the toolchain
# wrapper (external toolchain)
diff --git a/arch/arch.mk b/arch/arch.mk
index 4174d33df548b0f7bc754c89076142c41fe3f867..4a7851a9fdcebc4720415f5b0fba771bb4993ef6 100644
--- a/arch/arch.mk
+++ b/arch/arch.mk
@@ -16,6 +16,7 @@ GCC_TARGET_FP32_MODE := $(call qstrip,$(BR2_GCC_TARGET_FP32_MODE))
GCC_TARGET_CPU := $(call qstrip,$(BR2_GCC_TARGET_CPU))
GCC_TARGET_FPU := $(call qstrip,$(BR2_GCC_TARGET_FPU))
GCC_TARGET_FLOAT_ABI := $(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI))
+GCC_TARGET_SIMD := $(call qstrip,$(BR2_GCC_TARGET_SIMD))
GCC_TARGET_MODE := $(call qstrip,$(BR2_GCC_TARGET_MODE))
# Explicitly set LD's "max-page-size" instead of relying on some defaults
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index 658f5a6b4fe21fb302333fcff3012e624ce241a7..ea96286c322f6aac0ad26ad633db6b73c544dac0 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -251,6 +251,10 @@ ifneq ($(GCC_TARGET_FLOAT_ABI),)
HOST_GCC_COMMON_CONF_OPTS += --with-float=$(GCC_TARGET_FLOAT_ABI)
endif
+ifneq ($(GCC_TARGET_SIMD),)
+HOST_GCC_COMMON_CONF_OPTS += --with-simd=$(GCC_TARGET_SIMD)
+endif
+
ifneq ($(GCC_TARGET_MODE),)
HOST_GCC_COMMON_CONF_OPTS += --with-mode=$(GCC_TARGET_MODE)
endif
diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk
index c08bf0a65391833de840c2f5ca112bb0b7802471..2c2afa76c06920389f10595ddbecb9e0455cecce 100644
--- a/toolchain/toolchain-external/pkg-toolchain-external.mk
+++ b/toolchain/toolchain-external/pkg-toolchain-external.mk
@@ -217,6 +217,10 @@ ifneq ($(GCC_TARGET_FLOAT_ABI),)
TOOLCHAIN_EXTERNAL_CFLAGS += -mfloat-abi=$(GCC_TARGET_FLOAT_ABI)
TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_FLOAT_ABI='"$(GCC_TARGET_FLOAT_ABI)"'
endif
+ifneq ($(GCC_TARGET_SIMD),)
+TOOLCHAIN_EXTERNAL_CFLAGS += -msimd=$(GCC_TARGET_SIMD)
+TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_SIMD='"$(GCC_TARGET_SIMD)"'
+endif
ifneq ($(GCC_TARGET_MODE),)
TOOLCHAIN_EXTERNAL_CFLAGS += -m$(GCC_TARGET_MODE)
TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_MODE='"$(GCC_TARGET_MODE)"'
diff --git a/toolchain/toolchain-wrapper.c b/toolchain/toolchain-wrapper.c
index e644c1e7bb906caa24ea673a865c934f9094a030..a6974ba78f8a53535c6cd6517e1af1bb5ec12431 100644
--- a/toolchain/toolchain-wrapper.c
+++ b/toolchain/toolchain-wrapper.c
@@ -74,6 +74,9 @@ static char *predef_args[] = {
#ifdef BR_SOFTFLOAT
"-msoft-float",
#endif /* BR_SOFTFLOAT */
+#ifdef BR_SIMD
+ "-msimd=" BR_SIMD,
+#endif
#ifdef BR_MODE
"-m" BR_MODE,
#endif
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 02/11] arch: Introduce LoongArch64
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 01/11] package/gcc: Introduce BR2_GCC_TARGET_SIMD option Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
2025-07-05 12:17 ` Julien Olivain via buildroot
2025-06-18 18:20 ` [Buildroot] [PATCH v3 03/11] package/glibc: Enable LoongArch64 support Jiaxun Yang
` (8 subsequent siblings)
10 siblings, 1 reply; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang
Introduce LoongArch64 at architecture level.
Config.in.loongarch is prepared for possible loongarch32
enablement in future, thus BR2_ARCH_IS_64 is being depended
by some 64bit only options.
Internal toolchain is supported, as our minimal binutils
version is already beyond LoongArch minimal version and
GCC option is limited by BR2_ARCH_NEEDS_GCC_AT_LEAST_12.
BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT is selected temporary
and it's going to be rmoved after we gain libc support.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
v2:
- Style fixes
- add commit message about internal toolchain
v3:
- Move GCC dependency to top level
- Select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
- Clarify why we depend on BR2_ARCH_IS_64
---
DEVELOPERS | 3 ++
arch/Config.in | 15 ++++++
arch/Config.in.loongarch | 128 +++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 146 insertions(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index a7bb3bd83460017a183f59d05f6a560d7316a6ac..a406ca6a3de4b46243118c3e1e0363a2c1708836 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1642,6 +1642,9 @@ F: package/libuhttpd/
F: package/libuwsc/
F: package/rtty/
+N: Jiaxun Yang <jiaxun.yang@flygoat.com>
+F: arch/Config.in.loongarch
+
N: Joachim Wiberg <troglobit@gmail.com>
F: configs/globalscale_espressobin_defconfig
F: board/globalscale/espressobin/
diff --git a/arch/Config.in b/arch/Config.in
index ec720e74e193021ed01749945aed1457ec0789a1..744874362ca73a35d347d3895dd3db7d5e79242b 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -80,6 +80,17 @@ config BR2_i386
Intel i386 architecture compatible microprocessor
http://en.wikipedia.org/wiki/I386
+config BR2_loongarch64
+ bool "LoongArch64"
+ select BR2_USE_MMU
+ select BR2_ARCH_IS_64
+ select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
+ select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
+ help
+ LoongArch64 is 64-bit architecture developed by Loongson.
+ http://www.loongson.cn/
+ https://en.wikipedia.org/wiki/Loongson
+
config BR2_m68k
bool "m68k"
# MMU support is set by the subarchitecture file, arch/Config.in.m68k
@@ -379,6 +390,10 @@ if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be
source "arch/Config.in.arm"
endif
+if BR2_loongarch64
+source "arch/Config.in.loongarch"
+endif
+
if BR2_m68k
source "arch/Config.in.m68k"
endif
diff --git a/arch/Config.in.loongarch b/arch/Config.in.loongarch
new file mode 100644
index 0000000000000000000000000000000000000000..4d1f071ca1c390277136fc9536c452a3295e1bc4
--- /dev/null
+++ b/arch/Config.in.loongarch
@@ -0,0 +1,128 @@
+# LoongArch CPU
+
+choice
+ prompt "Target Architecture Variant"
+ default BR2_loongarch64_generic if BR2_ARCH_IS_64
+
+config BR2_loongarch64_generic
+ bool "Generic LoongArch 64-bit"
+ depends on BR2_ARCH_IS_64
+ help
+ Generic LoongArch 64-bit processor.
+
+config BR2_loongarch64_v1_0
+ bool "LoongArch64 ISA version 1.0"
+ depends on BR2_ARCH_IS_64
+ select BR2_ARCH_NEEDS_GCC_AT_LEAST_13
+ help
+ LoongArch64 ISA version 1.0 processor.
+
+config BR2_loongarch64_v1_1
+ bool "LoongArch64 ISA version 1.1"
+ depends on BR2_ARCH_IS_64
+ select BR2_ARCH_NEEDS_GCC_AT_LEAST_13
+ help
+ LoongArch64 ISA version 1.1 processor.
+
+endchoice
+
+choice
+ prompt "FPU Type"
+ default BR2_LOONGARCH_FPU_64
+
+config BR2_LOONGARCH_FPU_64
+ bool "64"
+ help
+ Allow the use of hardware floating-point instructions for
+ 32-bit and 64-bit operations.
+
+config BR2_LOONGARCH_FPU_32
+ bool "32"
+ help
+ Allow the use of hardware floating-point instructions for
+ 32-bit operations only.
+
+config BR2_LOONGARCH_FPU_NONE
+ bool "none"
+ help
+ Prevent the use of hardware floating-point instructions.
+endchoice
+
+choice
+ prompt "SIMD Type"
+ default BR2_LOONGARCH_SIMD_NONE
+
+config BR2_LOONGARCH_SIMD_NONE
+ bool "none"
+ help
+ Prevent the use of hardware SIMD instructions.
+
+config BR2_LOONGARCH_SIMD_LSX
+ bool "LSX"
+ help
+ Enable generating instructions from the 128-bit LoongArch SIMD
+ Extension (LSX).
+
+config BR2_LOONGARCH_SIMD_LASX
+ bool "LASX"
+ help
+ Enable generating instructions from the 256-bit LoongArch
+ Advanced SIMD Extension (LASX) and the 128-bit LoongArch
+ SIMD Extension (LSX).
+endchoice
+
+choice
+ prompt "Target ABI"
+ default BR2_LOONGARCH_ABI_LP64D if BR2_ARCH_IS_64 && BR2_LOONGARCH_FPU_64
+ default BR2_LOONGARCH_ABI_LP64F if BR2_ARCH_IS_64 && BR2_LOONGARCH_FPU_32
+ default BR2_LOONGARCH_ABI_LP64S if BR2_ARCH_IS_64 && BR2_LOONGARCH_SIMD_NONE
+
+config BR2_LOONGARCH_ABI_LP64D
+ bool "lp64d"
+ depends on BR2_ARCH_IS_64
+ depends on BR2_LOONGARCH_FPU_64
+
+config BR2_LOONGARCH_ABI_LP64F
+ bool "lp64f"
+ depends on BR2_ARCH_IS_64
+ depends on BR2_LOONGARCH_FPU_64 || BR2_LOONGARCH_FPU_32
+
+config BR2_LOONGARCH_ABI_LP64S
+ bool "lp64d"
+ depends on BR2_ARCH_IS_64
+endchoice
+
+config BR2_ARCH
+ default "loongarch64" if BR2_ARCH_IS_64
+
+config BR2_NORMALIZED_ARCH
+ default "loongarch"
+
+config BR2_ENDIAN
+ default "LITTLE"
+
+config BR2_GCC_TARGET_ARCH
+ default "loongarch64" if BR2_loongarch64_generic
+ default "la64v1.0" if BR2_loongarch64_v1_0
+ default "la64v1.1" if BR2_loongarch64_v1_1
+
+config BR2_GCC_TARGET_FPU
+ default "64" if BR2_LOONGARCH_FPU_64
+ default "32" if BR2_LOONGARCH_FPU_32
+ default "none" if BR2_LOONGARCH_FPU_NONE
+
+config BR2_GCC_TARGET_SIMD
+ default "lasx" if BR2_LOONGARCH_SIMD_LASX
+ default "lsx" if BR2_LOONGARCH_SIMD_LSX
+ default "none" if BR2_LOONGARCH_FPU_NONE
+
+config BR2_GCC_TARGET_ABI
+ default "lp64d" if BR2_LOONGARCH_ABI_LP64D
+ default "lp64f" if BR2_LOONGARCH_ABI_LP64F
+ default "lp64s" if BR2_LOONGARCH_ABI_LP64S
+
+config BR2_READELF_ARCH_NAME
+ default "LoongArch"
+
+# vim: ft=kconfig
+# -*- mode:kconfig; -*-
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 03/11] package/glibc: Enable LoongArch64 support
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 01/11] package/gcc: Introduce BR2_GCC_TARGET_SIMD option Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 02/11] arch: Introduce LoongArch64 Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 04/11] package/musl: " Jiaxun Yang
` (7 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang, Romain Naour
Glibc introduced LoongArch64 support in 2.36, it requires kernel
5.19 to build.
Unselect BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT to reflect we can
build the toolchain.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
---
arch/Config.in | 1 -
package/glibc/Config.in | 2 ++
toolchain/toolchain-buildroot/Config.in | 4 ++++
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/Config.in b/arch/Config.in
index 744874362ca73a35d347d3895dd3db7d5e79242b..9193765ff3c55db64eb0915ed852bb2a39f41e66 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -85,7 +85,6 @@ config BR2_loongarch64
select BR2_USE_MMU
select BR2_ARCH_IS_64
select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
- select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
help
LoongArch64 is 64-bit architecture developed by Loongson.
http://www.loongson.cn/
diff --git a/package/glibc/Config.in b/package/glibc/Config.in
index 52752e975e494aabe67b27b601defc504dbba94a..9a4fe6f3db0a1ca4f1ad37f7e1ea709664e254d5 100644
--- a/package/glibc/Config.in
+++ b/package/glibc/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
default y if BR2_aarch64
default y if BR2_aarch64_be
default y if BR2_i386
+ default y if BR2_loongarch64
default y if BR2_m68k_m68k
default y if BR2_mips
default y if BR2_mipsel
@@ -35,6 +36,7 @@ config BR2_PACKAGE_GLIBC_SUPPORTS
# toolchain/toolchain-buildroot/Config.in
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_powerpc64le
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19 || !BR2_loongarch64
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 || !BR2_MIPS_NAN_2008
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 || !BR2_RISCV_32
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_RISCV_64
diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index 0173f40d9768bc279dab7c6a50fe64d7501aa192..0bccdc817cc9f7e15d2285285e8c93cd432288f6 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -48,6 +48,10 @@ comment "glibc needs a toolchain w/ kernel headers >= 3.2"
depends on BR2_PACKAGE_GLIBC_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+comment "glibc on LoongArch64 needs a toolchain w/ headers >= 5.19"
+ depends on BR2_loongarch64
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
+
# glibc >= 2.26 require kernel headers >= 3.10 on powerpc64le.
comment "glibc on powerpc64le needs a toolchain w/ headers >= 3.10"
depends on BR2_powerpc64le
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 04/11] package/musl: Enable LoongArch64 support
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
` (2 preceding siblings ...)
2025-06-18 18:20 ` [Buildroot] [PATCH v3 03/11] package/glibc: Enable LoongArch64 support Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 05/11] linux: Introduce {vmlinux, vmlinuz}.efi kernel binary format Jiaxun Yang
` (6 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang, Romain Naour
musl introduced LoongArch64 support in 1.2.5.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
---
package/musl/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/musl/Config.in b/package/musl/Config.in
index a6e2af054c354fb1078ff918f1058da3367a46a0..70475326f5b29f4b903e91e2be9d52f3b547907d 100644
--- a/package/musl/Config.in
+++ b/package/musl/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_MUSL_ARCH_SUPPORTS
default y if BR2_arm
default y if BR2_armeb
default y if BR2_i386
+ default y if BR2_loongarch64
default y if BR2_m68k_m68k
default y if BR2_microblaze
default y if BR2_mips
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 05/11] linux: Introduce {vmlinux, vmlinuz}.efi kernel binary format
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
` (3 preceding siblings ...)
2025-06-18 18:20 ` [Buildroot] [PATCH v3 04/11] package/musl: " Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 06/11] boot/grub2: Introduce loongarch64-efi target Jiaxun Yang
` (5 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang, Romain Naour
vmlinux.efi and vmlinuz.efi are standard file names for LoongArch
EFISTUB kernel.
Introduce them to build system.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
---
linux/Config.in | 8 ++++++++
linux/linux.mk | 4 ++++
2 files changed, 12 insertions(+)
diff --git a/linux/Config.in b/linux/Config.in
index ddd65154464f9949161c04c07a25d5035407e4f1..970cc3b63f1cc95a2f56c6abc30f6ff7571af41b 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -294,6 +294,10 @@ config BR2_LINUX_KERNEL_VMLINUX_BIN
bool "vmlinux.bin"
depends on BR2_mips || BR2_mipsel || BR2_sh
+config BR2_LINUX_KERNEL_VMLINUX_EFI
+ bool "vmlinux.efi"
+ depends on BR2_loongarch64
+
config BR2_LINUX_KERNEL_VMLINUX
bool "vmlinux"
@@ -305,6 +309,10 @@ config BR2_LINUX_KERNEL_VMLINUZ_BIN
bool "vmlinuz.bin"
depends on BR2_mips || BR2_mipsel
+config BR2_LINUX_KERNEL_VMLINUZ_EFI
+ bool "vmlinuz.efi"
+ depends on BR2_loongarch64
+
config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
bool "custom target"
help
diff --git a/linux/linux.mk b/linux/linux.mk
index 16762ac2e63a9510dccc2f626b7515694e113256..0520394931ce7950a750d4f57dab451377886612 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -262,12 +262,16 @@ else ifeq ($(BR2_LINUX_KERNEL_LINUX_BIN),y)
LINUX_IMAGE_NAME = linux.bin
else ifeq ($(BR2_LINUX_KERNEL_VMLINUX_BIN),y)
LINUX_IMAGE_NAME = vmlinux.bin
+else ifeq ($(BR2_LINUX_KERNEL_VMLINUX_EFI),y)
+LINUX_IMAGE_NAME = vmlinux.efi
else ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y)
LINUX_IMAGE_NAME = vmlinux
else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y)
LINUX_IMAGE_NAME = vmlinuz
else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ_BIN),y)
LINUX_IMAGE_NAME = vmlinuz.bin
+else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ_EFI),y)
+LINUX_IMAGE_NAME = vmlinuz.efi
endif
# The if-else blocks above are all the image types we know of, and all
# come from a Kconfig choice, so we know we have LINUX_IMAGE_NAME set
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 06/11] boot/grub2: Introduce loongarch64-efi target
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
` (4 preceding siblings ...)
2025-06-18 18:20 ` [Buildroot] [PATCH v3 05/11] linux: Introduce {vmlinux, vmlinuz}.efi kernel binary format Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 07/11] configs/loongarch64_efi: new defconfig Jiaxun Yang
` (4 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang, Romain Naour
loongarch64-efi target presents in GRUB can be utilised
by any EFI compatible LoongArch64 machine to boot kernel.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
---
boot/grub2/Config.in | 10 ++++++++++
boot/grub2/grub2.mk | 9 +++++++++
2 files changed, 19 insertions(+)
diff --git a/boot/grub2/Config.in b/boot/grub2/Config.in
index ecee9ef74cdca0847d4ad386a0dc281ced07725b..3a50ec0ad74897cc89793d7c49cd98eb53e74cef 100644
--- a/boot/grub2/Config.in
+++ b/boot/grub2/Config.in
@@ -5,6 +5,7 @@ config BR2_TARGET_GRUB2_ARCH_SUPPORTS
default y if BR2_arm
default y if BR2_aarch64
default y if BR2_RISCV_64
+ default y if BR2_loongarch64
depends on BR2_USE_MMU
menuconfig BR2_TARGET_GRUB2
@@ -112,6 +113,15 @@ config BR2_TARGET_GRUB2_RISCV64_EFI
64bit RISC-V platform and you want to boot Grub 2 as an EFI
application.
+config BR2_TARGET_GRUB2_LOONGARCH64_EFI
+ bool "loongarch64-efi"
+ depends on BR2_loongarch64
+ select BR2_TARGET_GRUB2_HAS_EFI_BOOT
+ help
+ Select this option if the platform you're targetting is a
+ 64bit LoongArch platform and you want to boot Grub 2 as an EFI
+ application.
+
if BR2_TARGET_GRUB2_HAS_LEGACY_BOOT
comment "Options for the x86 legacy BIOS or ARM U-Boot support"
diff --git a/boot/grub2/grub2.mk b/boot/grub2/grub2.mk
index 22d609c004834adc09da061ab8839f4aa561a2dd..4562e57a4f2bfa6b6fb086c7ebf8ef4304615e36 100644
--- a/boot/grub2/grub2.mk
+++ b/boot/grub2/grub2.mk
@@ -102,6 +102,15 @@ GRUB2_BUILTIN_CONFIG_riscv64-efi = $(GRUB2_BUILTIN_CONFIG_EFI)
GRUB2_BUILTIN_MODULES_riscv64-efi = $(GRUB2_BUILTIN_MODULES_EFI)
GRUB2_TUPLES-$(BR2_TARGET_GRUB2_RISCV64_EFI) += riscv64-efi
+GRUB2_IMAGE_loongarch64-efi = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootloongarch64.efi
+GRUB2_CFG_loongarch64-efi = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg
+GRUB2_PREFIX_loongarch64-efi = /EFI/BOOT
+GRUB2_TARGET_loongarch64-efi = loongarch64
+GRUB2_PLATFORM_loongarch64-efi = efi
+GRUB2_BUILTIN_CONFIG_loongarch64-efi = $(GRUB2_BUILTIN_CONFIG_EFI)
+GRUB2_BUILTIN_MODULES_loongarch64-efi = $(GRUB2_BUILTIN_MODULES_EFI)
+GRUB2_TUPLES-$(BR2_TARGET_GRUB2_LOONGARCH64_EFI) += loongarch64-efi
+
# Grub2 is kind of special: it considers CC, LD and so on to be the
# tools to build the host programs and uses TARGET_CC, TARGET_CFLAGS,
# TARGET_CPPFLAGS, TARGET_LDFLAGS to build the bootloader itself.
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 07/11] configs/loongarch64_efi: new defconfig
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
` (5 preceding siblings ...)
2025-06-18 18:20 ` [Buildroot] [PATCH v3 06/11] boot/grub2: Introduce loongarch64-efi target Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 08/11] boot/edk2: Add LoongArch64 OVMF support Jiaxun Yang
` (3 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang, Romain Naour
Introduce bread new loongarch64-efi board, with skeleton
from aarch64-efi board.
It corverd most LoongArch64 systems.
Linux 6.12, as the most recent LTS kernel, was chosen
to ensure proper architecture support is included.
This board config is validated on my Lemote A2101
Loongson 3A5000 board.
A developer entry is created for myself for future contacts
as well.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
--
v3:
- Simplify root partation UUID
- Add links about machine & firmware
---
DEVELOPERS | 2 ++
board/loongarch64-efi/genimage-efi.cfg | 30 +++++++++++++++++
board/loongarch64-efi/grub.cfg | 6 ++++
| 1 +
board/loongarch64-efi/patches/linux/linux.hash | 2 ++
board/loongarch64-efi/post-image.sh | 5 +++
board/loongarch64-efi/readme.txt | 38 ++++++++++++++++++++++
configs/loongarch64_efi_defconfig | 22 +++++++++++++
8 files changed, 106 insertions(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index a406ca6a3de4b46243118c3e1e0363a2c1708836..600cd6c22ff6db57f9ef1da5ba9b6c15b37ca7f8 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1644,6 +1644,8 @@ F: package/rtty/
N: Jiaxun Yang <jiaxun.yang@flygoat.com>
F: arch/Config.in.loongarch
+F: board/loongarch64-efi
+F: configs/loongarch64_efi_defconfig
N: Joachim Wiberg <troglobit@gmail.com>
F: configs/globalscale_espressobin_defconfig
diff --git a/board/loongarch64-efi/genimage-efi.cfg b/board/loongarch64-efi/genimage-efi.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..24b9a8d943fcfed223a2f9da0093631503fe1579
--- /dev/null
+++ b/board/loongarch64-efi/genimage-efi.cfg
@@ -0,0 +1,30 @@
+image efi-part.vfat {
+ vfat {
+ file EFI {
+ image = "efi-part/EFI"
+ }
+ file vmlinux.efi {
+ image = "vmlinux.efi"
+ }
+ }
+
+ size = 64M
+}
+
+image disk.img {
+ hdimage {
+ partition-table-type = "gpt"
+ }
+
+ partition boot {
+ image = "efi-part.vfat"
+ partition-type-uuid = U
+ offset = 32K
+ bootable = true
+ }
+
+ partition root {
+ partition-type-uuid = root-loongarch64
+ image = "rootfs.ext2"
+ }
+}
diff --git a/board/loongarch64-efi/grub.cfg b/board/loongarch64-efi/grub.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..2006f6d60d9b4bde1f8a12c87d76476f9401c6ca
--- /dev/null
+++ b/board/loongarch64-efi/grub.cfg
@@ -0,0 +1,6 @@
+/set default="0"
+set timeout="5"
+
+menuentry "Buildroot" {
+ linux /vmlinux.efi root=PARTLABEL=root rootwait console=ttyS0,115200
+}
--git a/board/loongarch64-efi/patches/linux-headers/linux-headers.hash b/board/loongarch64-efi/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000000000000000000000000000000000..5808d92afe89015ae416e941adf041644162d996
--- /dev/null
+++ b/board/loongarch64-efi/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/loongarch64-efi/patches/linux/linux.hash b/board/loongarch64-efi/patches/linux/linux.hash
new file mode 100644
index 0000000000000000000000000000000000000000..381f3427a60dda4476631271787ff752bca52204
--- /dev/null
+++ b/board/loongarch64-efi/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
+sha256 a9b020721778384507010177d3929e7d4058f7f6120f05a99d56b5c5c0346a70 linux-6.12.32.tar.xz
diff --git a/board/loongarch64-efi/post-image.sh b/board/loongarch64-efi/post-image.sh
new file mode 100755
index 0000000000000000000000000000000000000000..fdb17ece7003611d0cd6de84ed4dbd14767e5b68
--- /dev/null
+++ b/board/loongarch64-efi/post-image.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+BOARD_DIR="$(dirname "$0")"
+
+cp -f "${BOARD_DIR}/grub.cfg" "${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg"
diff --git a/board/loongarch64-efi/readme.txt b/board/loongarch64-efi/readme.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b92f620f9804be044d152728229e128d4dfbf1c
--- /dev/null
+++ b/board/loongarch64-efi/readme.txt
@@ -0,0 +1,38 @@
+The loongarch64_efi_defconfig allows to build a minimal Linux system that
+can boot on all loongarch64 systems providing an New World [1] EFI firmware.
+
+This includes almost all LoongArch Loongson-3 series workstations and servers,
+see [2] for hardware and firmware information.
+
+Building and booting
+====================
+
+$ make loongarch64_efi_defconfig
+$ make
+
+The file output/images/disk.img is a complete disk image that can be
+booted, it includes the grub2 bootloader, Linux kernel and root
+filesystem.
+
+Testing under Qemu
+==================
+
+This image can also be tested using Qemu:
+
+qemu-system-loongarch64 \
+ -M virt \
+ -cpu la464 \
+ -nographic \
+ -bios </path/to/QEMU_EFI.fd> \
+ -drive file=output/images/disk.img,if=none,format=raw,id=hd0 \
+ -device virtio-blk-pci,drive=hd0 \
+ -netdev user,id=eth0 \
+ -device virtio-net-pci,netdev=eth0
+
+Note that </path/to/QEMU_EFI.fd> needs to point to a valid loongarch64 UEFI
+firmware image for qemu.
+It may be provided by your distribution as a edk2-loongarch64 package,
+in path such as /usr/share/edk2/loongarch64/QEMU_EFI.fd .
+
+[1]: https://areweloongyet.com/en/docs/old-and-new-worlds/
+[2]: https://github.com/loongson/Firmware
diff --git a/configs/loongarch64_efi_defconfig b/configs/loongarch64_efi_defconfig
new file mode 100644
index 0000000000000000000000000000000000000000..c98699330d3cd9907043573465a9c8b189d47384
--- /dev/null
+++ b/configs/loongarch64_efi_defconfig
@@ -0,0 +1,22 @@
+BR2_loongarch64=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
+BR2_GLOBAL_PATCH_DIR="board/loongarch64-efi/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/loongarch64-efi/post-image.sh support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/loongarch64-efi/genimage-efi.cfg"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.32"
+BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_TARGET_GRUB2=y
+BR2_TARGET_GRUB2_LOONGARCH64_EFI=y
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 08/11] boot/edk2: Add LoongArch64 OVMF support
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
` (6 preceding siblings ...)
2025-06-18 18:20 ` [Buildroot] [PATCH v3 07/11] configs/loongarch64_efi: new defconfig Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 09/11] package/qemu: enable loongarch64 as target package Jiaxun Yang
` (2 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang, Romain Naour
LoongArch64 OVMF target is introduced to EDK2 in edk2-202408.
Enable architecture support here.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
---
boot/edk2/Config.in | 14 +++++++++++++-
boot/edk2/edk2.mk | 6 ++++++
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/boot/edk2/Config.in b/boot/edk2/Config.in
index 4e6e7d122cb550cbf57ce8fde31779e2d2cbc9a9..734826a8be722c1c45ab157b43fee60ebb4a30a0 100644
--- a/boot/edk2/Config.in
+++ b/boot/edk2/Config.in
@@ -2,6 +2,7 @@ config BR2_TARGET_EDK2_ARCH_SUPPORTS
bool
default y if BR2_aarch64
default y if BR2_i386
+ default y if BR2_loongarch64
default y if BR2_RISCV_64
default y if BR2_x86_64
@@ -21,6 +22,8 @@ if BR2_TARGET_EDK2
choice
prompt "Platform"
default BR2_TARGET_EDK2_PLATFORM_OVMF_I386 if BR2_i386
+ default BR2_TARGET_EDK2_PLATFORM_OVMF_LOONGARCH64 if \
+ BR2_loongarch64
default BR2_TARGET_EDK2_PLATFORM_OVMF_RISCV if BR2_RISCV_64
default BR2_TARGET_EDK2_PLATFORM_OVMF_X64 if BR2_x86_64
default BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU if BR2_aarch64
@@ -31,7 +34,15 @@ config BR2_TARGET_EDK2_PLATFORM_OVMF_I386
help
Platform configuration for a generic i386 target.
This platform will boot from flash address 0x0.
- It should therefore be used as the first bootloader.
+
+config BR2_TARGET_EDK2_PLATFORM_OVMF_LOONGARCH64
+ bool "LoongArch64"
+ depends on BR2_loongarch64
+ help
+ Platform configuration for LoongArch QEMU targeting the
+ Virt machine. This platform will only boot from flash
+ address 0x1c000000. It should therefore be used as the first
+ bootloader.
config BR2_TARGET_EDK2_PLATFORM_OVMF_RISCV
bool "RISC-V"
@@ -139,6 +150,7 @@ config BR2_TARGET_EDK2_FD_NAME
default "OVMF" if BR2_TARGET_EDK2_PLATFORM_OVMF_X64
default "QEMU_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU
default "QEMU_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU_KERNEL
+ default "QEMU_EFI" if BR2_TARGET_EDK2_PLATFORM_OVMF_LOONGARCH64
default "BL33_AP_UEFI" if BR2_TARGET_EDK2_PLATFORM_ARM_SGI575
default "FVP_AARCH64_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VEXPRESS_FVP_AARCH64
default "FVP_AARCH64_EFI" if BR2_TARGET_EDK2_PLATFORM_SOCIONEXT_DEVELOPERBOX
diff --git a/boot/edk2/edk2.mk b/boot/edk2/edk2.mk
index bc4049b2def3e75a1e95ba85696de77d58335a3e..4540a9bdea88e682dedd02ab43937127e3e464e7 100644
--- a/boot/edk2/edk2.mk
+++ b/boot/edk2/edk2.mk
@@ -142,6 +142,12 @@ EDK2_PACKAGE_NAME = OvmfPkg/RiscVVirt
EDK2_PLATFORM_NAME = RiscVVirtQemu
EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)
+else ifeq ($(BR2_TARGET_EDK2_PLATFORM_OVMF_LOONGARCH64),y)
+EDK2_ARCH = LOONGARCH64
+EDK2_PACKAGE_NAME = OvmfPkg/LoongArchVirt
+EDK2_PLATFORM_NAME = LoongArchVirtQemu
+EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)
+
endif
EDK2_BASETOOLS_OPTS = \
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 09/11] package/qemu: enable loongarch64 as target package
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
` (7 preceding siblings ...)
2025-06-18 18:20 ` [Buildroot] [PATCH v3 08/11] boot/edk2: Add LoongArch64 OVMF support Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 10/11] configs/qemu_loongarch64_virt_efi: new defconfig Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 11/11] support/config-fragments: Add LoongArch64 toolchain support Jiaxun Yang
10 siblings, 0 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang
LoongArch64 emulation system / user emulation is supported
by QEMU.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
package/qemu/Config.in.host | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host
index 4db114490a41f2625f212e1e33b1bcf637fae9bb..090204d90c51d1d03aaef4378ef2cf74345ed84e 100644
--- a/package/qemu/Config.in.host
+++ b/package/qemu/Config.in.host
@@ -4,6 +4,7 @@ config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
default y if BR2_armeb
default y if BR2_aarch64
default y if BR2_i386
+ default y if BR2_loongarch64
default y if BR2_m68k
default y if BR2_microblazeel
default y if BR2_microblazebe
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 10/11] configs/qemu_loongarch64_virt_efi: new defconfig
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
` (8 preceding siblings ...)
2025-06-18 18:20 ` [Buildroot] [PATCH v3 09/11] package/qemu: enable loongarch64 as target package Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 11/11] support/config-fragments: Add LoongArch64 toolchain support Jiaxun Yang
10 siblings, 0 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang, Julien Olivain, Romain Naour
Add qemu_loongarch64_virt_efi_defconfig, which builds EDK2
and host QEMU to test LoongArch64 buildroot.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Julien Olivain <ju.o@free.fr>
Reviewed-by: Julien Olivain <ju.o@free.fr>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Tested-by: Romain Naour <romain.naour@smile.fr>
---
v3: Address comments from Julien
---
DEVELOPERS | 2 ++
board/qemu/loongarch64-virt-efi/genimage.cfg | 30 ++++++++++++++++++++++++++
board/qemu/loongarch64-virt-efi/grub.cfg | 6 ++++++
board/qemu/loongarch64-virt-efi/post-image.sh | 5 +++++
board/qemu/loongarch64-virt-efi/readme.txt | 31 +++++++++++++++++++++++++++
configs/qemu_loongarch64_virt_efi_defconfig | 25 +++++++++++++++++++++
6 files changed, 99 insertions(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index 600cd6c22ff6db57f9ef1da5ba9b6c15b37ca7f8..8030311fd9f8892712841a66ddab3a23a96a9fb0 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1645,7 +1645,9 @@ F: package/rtty/
N: Jiaxun Yang <jiaxun.yang@flygoat.com>
F: arch/Config.in.loongarch
F: board/loongarch64-efi
+F: board/qemu/loongarch64-virt-efi
F: configs/loongarch64_efi_defconfig
+F: configs/qemu_loongarch64_virt_efi_defconfig
N: Joachim Wiberg <troglobit@gmail.com>
F: configs/globalscale_espressobin_defconfig
diff --git a/board/qemu/loongarch64-virt-efi/genimage.cfg b/board/qemu/loongarch64-virt-efi/genimage.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..24b9a8d943fcfed223a2f9da0093631503fe1579
--- /dev/null
+++ b/board/qemu/loongarch64-virt-efi/genimage.cfg
@@ -0,0 +1,30 @@
+image efi-part.vfat {
+ vfat {
+ file EFI {
+ image = "efi-part/EFI"
+ }
+ file vmlinux.efi {
+ image = "vmlinux.efi"
+ }
+ }
+
+ size = 64M
+}
+
+image disk.img {
+ hdimage {
+ partition-table-type = "gpt"
+ }
+
+ partition boot {
+ image = "efi-part.vfat"
+ partition-type-uuid = U
+ offset = 32K
+ bootable = true
+ }
+
+ partition root {
+ partition-type-uuid = root-loongarch64
+ image = "rootfs.ext2"
+ }
+}
diff --git a/board/qemu/loongarch64-virt-efi/grub.cfg b/board/qemu/loongarch64-virt-efi/grub.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..dc3452fe6a3dba9279c6bd8e0d48542e37555338
--- /dev/null
+++ b/board/qemu/loongarch64-virt-efi/grub.cfg
@@ -0,0 +1,6 @@
+set default="0"
+set timeout="5"
+
+menuentry "Buildroot" {
+ linux /vmlinux.efi root=PARTLABEL=root rootwait console=ttyS0
+}
diff --git a/board/qemu/loongarch64-virt-efi/post-image.sh b/board/qemu/loongarch64-virt-efi/post-image.sh
new file mode 100755
index 0000000000000000000000000000000000000000..fdb17ece7003611d0cd6de84ed4dbd14767e5b68
--- /dev/null
+++ b/board/qemu/loongarch64-virt-efi/post-image.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+BOARD_DIR="$(dirname "$0")"
+
+cp -f "${BOARD_DIR}/grub.cfg" "${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg"
diff --git a/board/qemu/loongarch64-virt-efi/readme.txt b/board/qemu/loongarch64-virt-efi/readme.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c35ee1efe56e9b0e7584c544407a0c944373f10
--- /dev/null
+++ b/board/qemu/loongarch64-virt-efi/readme.txt
@@ -0,0 +1,31 @@
+Intro
+=====
+
+This is a LoongArch 64bit UEFI Linux boot demo in QEMU virt machine.
+
+Build
+=====
+
+ make qemu_loongarch64_virt-efi_defconfig
+ make
+
+Emulation
+=========
+
+Run the emulation with:
+
+ qemu-system-loongarch64 \
+ -M virt \
+ -smp 2 \
+ -m 1024 \
+ -nographic \
+ -bios output/images/QEMU_EFI.fd \
+ -drive file=output/images/disk.img,format=raw \
+ -netdev user,id=net0 \
+ -device virtio-net-pci,netdev=net0 # qemu_loongarch64_virt_efi_defconfig
+
+Note: for information, qemu version >= 9.0.0 is needed for this UEFI
+Linux demo. The host-qemu package in Buildroot (enabled in this
+defconfig) is sufficient to run this demo. In case another qemu is
+used (for example, from the host OS), make sure to check the version
+requirement.
diff --git a/configs/qemu_loongarch64_virt_efi_defconfig b/configs/qemu_loongarch64_virt_efi_defconfig
new file mode 100644
index 0000000000000000000000000000000000000000..945cb9232dadb883829fc1266b7ec7a1e92c03b4
--- /dev/null
+++ b/configs/qemu_loongarch64_virt_efi_defconfig
@@ -0,0 +1,25 @@
+BR2_loongarch64=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
+BR2_GLOBAL_PATCH_DIR="board/qemu/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
+BR2_SYSTEM_DHCP="eth0"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/loongarch64-virt-efi/post-image.sh board/qemu/post-image.sh support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG) -c board/qemu/loongarch64-virt-efi/genimage.cfg"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.27"
+BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_TARGET_EDK2=y
+BR2_TARGET_GRUB2=y
+BR2_TARGET_GRUB2_LOONGARCH64_EFI=y
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
+BR2_PACKAGE_HOST_QEMU=y
+BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 11/11] support/config-fragments: Add LoongArch64 toolchain support
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
` (9 preceding siblings ...)
2025-06-18 18:20 ` [Buildroot] [PATCH v3 10/11] configs/qemu_loongarch64_virt_efi: new defconfig Jiaxun Yang
@ 2025-06-18 18:20 ` Jiaxun Yang
10 siblings, 0 replies; 17+ messages in thread
From: Jiaxun Yang @ 2025-06-18 18:20 UTC (permalink / raw)
To: buildroot
Cc: Giulio Benetti, Romain Naour, Thomas Petazzoni, Dick Olsson,
Jiaxun Yang
Add full/glibc variant of LoongArch64 internal toolchain.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
support/config-fragments/autobuild/br-loongarch64-full-internal.config | 3 +++
.../config-fragments/autobuild/br-loongarch64-internal-glibc.config | 3 +++
support/config-fragments/autobuild/toolchain-configs.csv | 2 ++
3 files changed, 8 insertions(+)
diff --git a/support/config-fragments/autobuild/br-loongarch64-full-internal.config b/support/config-fragments/autobuild/br-loongarch64-full-internal.config
new file mode 100644
index 0000000000000000000000000000000000000000..9faab86b3ca4b5529f5b8f52f022c704e59870eb
--- /dev/null
+++ b/support/config-fragments/autobuild/br-loongarch64-full-internal.config
@@ -0,0 +1,3 @@
+BR2_loongarch64=y
+BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
diff --git a/support/config-fragments/autobuild/br-loongarch64-internal-glibc.config b/support/config-fragments/autobuild/br-loongarch64-internal-glibc.config
new file mode 100644
index 0000000000000000000000000000000000000000..a9ee70d5590c75955982f3bafcc1d61c92e907ff
--- /dev/null
+++ b/support/config-fragments/autobuild/br-loongarch64-internal-glibc.config
@@ -0,0 +1,3 @@
+BR2_loongarch64=y
+BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
diff --git a/support/config-fragments/autobuild/toolchain-configs.csv b/support/config-fragments/autobuild/toolchain-configs.csv
index 047b22a9fa66a7d62eff5f24d476fe5e07f80a90..d0002375d6ed9eb4715afaef06f45a3371068836 100644
--- a/support/config-fragments/autobuild/toolchain-configs.csv
+++ b/support/config-fragments/autobuild/toolchain-configs.csv
@@ -50,6 +50,8 @@ support/config-fragments/autobuild/br-arm-internal-full.config,any
support/config-fragments/autobuild/br-arm-internal-glibc.config,any
support/config-fragments/autobuild/br-arm-internal-musl.config,any
support/config-fragments/autobuild/br-i386-pentium4-full.config,x86_64
+support/config-fragments/autobuild/br-loongarch64-full-internal.config,any
+support/config-fragments/autobuild/br-loongarch64-internal-glibc.config,any
support/config-fragments/autobuild/br-microblazeel-full-internal.config,any
support/config-fragments/autobuild/br-mips64-n64-full.config,x86_64
support/config-fragments/autobuild/br-mips64r6-el-hf-glibc.config,x86_64
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [Buildroot] [PATCH v3 02/11] arch: Introduce LoongArch64
2025-06-18 18:20 ` [Buildroot] [PATCH v3 02/11] arch: Introduce LoongArch64 Jiaxun Yang
@ 2025-07-05 12:17 ` Julien Olivain via buildroot
2025-07-05 13:24 ` Jiaxun Yang
0 siblings, 1 reply; 17+ messages in thread
From: Julien Olivain via buildroot @ 2025-07-05 12:17 UTC (permalink / raw)
To: Jiaxun Yang
Cc: buildroot, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Dick Olsson
Hi Jiaxun,
On 18/06/2025 20:20, Jiaxun Yang wrote:
> Introduce LoongArch64 at architecture level.
>
> Config.in.loongarch is prepared for possible loongarch32
> enablement in future, thus BR2_ARCH_IS_64 is being depended
> by some 64bit only options.
>
> Internal toolchain is supported, as our minimal binutils
> version is already beyond LoongArch minimal version and
> GCC option is limited by BR2_ARCH_NEEDS_GCC_AT_LEAST_12.
>
> BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT is selected temporary
> and it's going to be rmoved after we gain libc support.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
I tested this series more extensively in the past weeks with 500+
Buildroot packages. Overall, this new architecture support looks good,
so I am in favor to merge those patches.
Before I do so, I would like to point out that enabling a new
architecture in Buildroot is not "just" testing the new
defconfigs are building and booting. The autobuilder will start
generating random configs for this architecture, including
any packages that could be selected for it. As soon as we'll merge
those patches, I expect to see new build failures for this arch.
They will most likely show up in:
https://autobuild.buildroot.org/?arch=loongarch64
Since you are registering yourself as the architecture maintainer
in Buildroot, will you be able to help solving those package issues?
I expect the kind of package maintenance to be:
- fixing package bugs specific to the arch
(including upstreaming those fixes)
- updating failing packages to new versions
(if their upstream already include loongarch fixes)
- marking packages as unsupported for this arch,
typically by introducing a _ARCH_SUPPORTS Kconfig which
does not list this arch.
If you promise to help us doing this maintenance, I think we could
this series merged soon.
What do you think?
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Buildroot] [PATCH v3 02/11] arch: Introduce LoongArch64
2025-07-05 12:17 ` Julien Olivain via buildroot
@ 2025-07-05 13:24 ` Jiaxun Yang
2025-07-05 17:50 ` Julien Olivain via buildroot
0 siblings, 1 reply; 17+ messages in thread
From: Jiaxun Yang @ 2025-07-05 13:24 UTC (permalink / raw)
To: Julien Olivain
Cc: buildroot, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Dick Olsson
在2025年7月5日周六 下午1:17,Julien Olivain写道:
> Hi Jiaxun,
>
Hi Julien,
All sounds good to me! Many thanks for looking into it.
[...]
> If you promise to help us doing this maintenance, I think we could
> this series merged soon.
Sure, I will try my best.
I just want to note that I'm a hobbyist so my availability may vary,
but it should be fine to devote a couple of hours per week.
I'll monitor Cc from buildroot list promptly.
>
> What do you think?
Thanks again.
>
> Best regards,
>
> Julien.
--
- Jiaxun
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Buildroot] [PATCH v3 02/11] arch: Introduce LoongArch64
2025-07-05 13:24 ` Jiaxun Yang
@ 2025-07-05 17:50 ` Julien Olivain via buildroot
2025-07-05 18:14 ` Jiaxun Yang
0 siblings, 1 reply; 17+ messages in thread
From: Julien Olivain via buildroot @ 2025-07-05 17:50 UTC (permalink / raw)
To: Jiaxun Yang
Cc: buildroot, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Dick Olsson
Hi Jiaxun,
On 05/07/2025 15:24, Jiaxun Yang wrote:
> 在2025年7月5日周六 下午1:17,Julien Olivain写道:
>> Hi Jiaxun,
>>
> Hi Julien,
>
> All sounds good to me! Many thanks for looking into it.
>
> [...]
>
>> If you promise to help us doing this maintenance, I think we could
>> this series merged soon.
>
> Sure, I will try my best.
>
> I just want to note that I'm a hobbyist so my availability may vary,
> but it should be fine to devote a couple of hours per week.
>
> I'll monitor Cc from buildroot list promptly.
Thanks for your confirmation.
With that, I just merged this series into master.
Let's see how it goes with the autobuilders.
>>
>> What do you think?
>
> Thanks again.
>
>>
>> Best regards,
>>
>> Julien.
>
> --
> - Jiaxun
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Buildroot] [PATCH v3 02/11] arch: Introduce LoongArch64
2025-07-05 17:50 ` Julien Olivain via buildroot
@ 2025-07-05 18:14 ` Jiaxun Yang
2025-07-05 19:46 ` Julien Olivain via buildroot
0 siblings, 1 reply; 17+ messages in thread
From: Jiaxun Yang @ 2025-07-05 18:14 UTC (permalink / raw)
To: Julien Olivain
Cc: buildroot, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Dick Olsson, xry111, jeffbai
在2025年7月5日周六 下午6:50,Julien Olivain写道:
Hi Julian,
[...]
> Thanks for your confirmation.
>
> With that, I just merged this series into master.
Thanks for accepting it!
>
> Let's see how it goes with the autobuilders.
I just had a talk with Loongson folks and they agreed to
take care of the port together with me.
They sent two developers to help with us:
Xi Ruoyao <xry111@xry111.site>
Mingcong Bai <jeffbai@aosc.io>
They are both Linux distro veterans, so it should be easy
for them to maintain the architecture.
Should I draft a patch to add them to `DEVELOPERS`?
Thanks!
>
>>>
[...]
>
> Julien.
--
- Jiaxun
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Buildroot] [PATCH v3 02/11] arch: Introduce LoongArch64
2025-07-05 18:14 ` Jiaxun Yang
@ 2025-07-05 19:46 ` Julien Olivain via buildroot
0 siblings, 0 replies; 17+ messages in thread
From: Julien Olivain via buildroot @ 2025-07-05 19:46 UTC (permalink / raw)
To: Jiaxun Yang
Cc: buildroot, Giulio Benetti, Romain Naour, Thomas Petazzoni,
Dick Olsson, xry111, jeffbai
Hi Jiaxun,
On 05/07/2025 20:14, Jiaxun Yang wrote:
> 在2025年7月5日周六 下午6:50,Julien Olivain写道:
> Hi Julian,
>
> [...]
>
>> Thanks for your confirmation.
>>
>> With that, I just merged this series into master.
>
> Thanks for accepting it!
>
>>
>> Let's see how it goes with the autobuilders.
>
> I just had a talk with Loongson folks and they agreed to
> take care of the port together with me.
>
> They sent two developers to help with us:
> Xi Ruoyao <xry111@xry111.site>
> Mingcong Bai <jeffbai@aosc.io>
>
> They are both Linux distro veterans, so it should be easy
> for them to maintain the architecture.
>
> Should I draft a patch to add them to `DEVELOPERS`?
Yes, please!
Anybody willing to help is free to register in DEVELOPERS.
The registered emails will be returned the "utils/get-developers"
script. Those emails will receive notifications and patches.
See:
https://buildroot.org/downloads/manual/manual.html#DEVELOPERS
and
https://gitlab.com/buildroot.org/buildroot/-/blob/2025.05/DEVELOPERS#L17
>
> Thanks!
>>
>>>>
> [...]
>>
>> Julien.
>
> --
> - Jiaxun
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2025-07-05 19:46 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18 18:20 [Buildroot] [PATCH v3 00/11] LoongArch64 initial support Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 01/11] package/gcc: Introduce BR2_GCC_TARGET_SIMD option Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 02/11] arch: Introduce LoongArch64 Jiaxun Yang
2025-07-05 12:17 ` Julien Olivain via buildroot
2025-07-05 13:24 ` Jiaxun Yang
2025-07-05 17:50 ` Julien Olivain via buildroot
2025-07-05 18:14 ` Jiaxun Yang
2025-07-05 19:46 ` Julien Olivain via buildroot
2025-06-18 18:20 ` [Buildroot] [PATCH v3 03/11] package/glibc: Enable LoongArch64 support Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 04/11] package/musl: " Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 05/11] linux: Introduce {vmlinux, vmlinuz}.efi kernel binary format Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 06/11] boot/grub2: Introduce loongarch64-efi target Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 07/11] configs/loongarch64_efi: new defconfig Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 08/11] boot/edk2: Add LoongArch64 OVMF support Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 09/11] package/qemu: enable loongarch64 as target package Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 10/11] configs/qemu_loongarch64_virt_efi: new defconfig Jiaxun Yang
2025-06-18 18:20 ` [Buildroot] [PATCH v3 11/11] support/config-fragments: Add LoongArch64 toolchain support Jiaxun Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox