Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [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

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