Message ID | 20230202080219.3465767-1-wuxiaotian@loongson.cn |
---|---|
Headers | show |
Series | Add support for LoongArch | expand |
Thank you, the patches overall seem fine; I only added a couple of small comments that should be easy to address. Alex On Thu, 2 Feb 2023 at 09:02, Xiaotian Wu <wuxiaotian@loongson.cn> wrote: > > 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. > > Xiaotian Wu (5): > base: add support for loongarch64 > linux: add loongarch64 support > binutils: disable gold on loongarch64 > loongarch: disable seccomp from default feature > uboot: loongarch64 > > 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/conf/templates/default/local.conf.sample | 1 + > 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 ++- > 19 files changed, 108 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 (#176676): https://lists.openembedded.org/g/openembedded-core/message/176676 > Mute This Topic: https://lists.openembedded.org/mt/96696073/1686489 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >