LoongArch is a new architecture, already supported by linux-6.1, gcc-12, I want to add support to openembedded.
These patch sets add basic support, and it can run cross-compile on on x86_64. The next step is to add support for yocto repositories, such as yocto-kernel-cache. Please review these patches, thanks. v1->v2: - remove loongarch64 from local.conf.sample. - update commit message for uboot. Xiaotian Wu (5): base: add support for loongarch64 linux: add loongarch64 support binutils: disable gold on loongarch64 loongarch: disable seccomp from default feature uboot: add a loongarch64 entry meta/classes-recipe/kernel-arch.bbclass | 2 ++ meta/classes-recipe/siteinfo.bbclass | 4 +++ .../distro/include/default-distrovars.inc | 3 ++ meta/conf/machine-sdk/loongarch64.conf | 2 ++ .../include/loongarch/arch-loongarch.inc | 7 ++++ .../include/loongarch/qemuloongarch.inc | 35 +++++++++++++++++++ .../include/loongarch/tune-loongarch.inc | 13 +++++++ meta/conf/machine/qemuloongarch64.conf | 11 ++++++ meta/lib/oe/elf.py | 2 ++ meta/recipes-bsp/u-boot/u-boot-tools.inc | 1 + meta/recipes-devtools/binutils/binutils.inc | 5 +-- meta/recipes-devtools/meson/meson_1.0.0.bb | 2 ++ meta/recipes-devtools/qemu/qemu.inc | 2 +- meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +- meta/recipes-kernel/linux/linux-yocto_6.1.bb | 4 ++- meta/site/loongarch64-linux | 11 ++++++ scripts/lib/wic/canned-wks/qemuloongarch.wks | 3 ++ scripts/runqemu | 4 ++- 18 files changed, 107 insertions(+), 6 deletions(-) create mode 100644 meta/conf/machine-sdk/loongarch64.conf create mode 100644 meta/conf/machine/include/loongarch/arch-loongarch.inc create mode 100644 meta/conf/machine/include/loongarch/qemuloongarch.inc create mode 100644 meta/conf/machine/include/loongarch/tune-loongarch.inc create mode 100644 meta/conf/machine/qemuloongarch64.conf create mode 100644 meta/site/loongarch64-linux create mode 100644 scripts/lib/wic/canned-wks/qemuloongarch.wks -- 2.39.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#176708): https://lists.openembedded.org/g/openembedded-core/message/176708 Mute This Topic: https://lists.openembedded.org/mt/96718644/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-