Home
last modified time | relevance | path

Searched +full:build +full:- +full:loongarch64 (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/qemu/docs/system/loongarch/
H A Dvirt.rst12 -----------------
15 - Gpex host bridge
16 - Ls7a RTC device
17 - Ls7a IOAPIC device
18 - ACPI GED device
19 - Fw_cfg device
20 - PCI/PCIe devices
21 - Memory device
22 - CPU device. Type: la464.
25 --------------------
[all …]
/openbmc/qemu/target/loongarch/
H A DREADME1 - Introduction
7 …https://github.com/loongson/LoongArch-Documentation/releases/download/2021.08.17/LoongArch-Vol1-v1…
9 …We can get the latest loongarch documents at https://github.com/loongson/LoongArch-Documentation/t…
12 - System emulation
16 - Linux-user emulation
18 …We already support Linux user emulation. We can use LoongArch cross-tools to build LoongArch execu…
19 and We can also use qemu-loongarch64 to run LoongArch executables.
21 1. Config cross-tools env.
27 …./configure --static --prefix=/usr --disable-werror --target-list="loongarch64-linux-user" --en…
29 cd build
[all …]
/openbmc/qemu/tests/docker/dockerfiles/
H A Ddebian-loongarch-cross.docker2 # Docker cross-compiler target
4 # This docker target uses prebuilt toolchains for LoongArch64 from:
5 # https://github.com/loongson/build-tools/releases
7 FROM docker.io/library/debian:11-slim
9 # Duplicate deb line as deb-src
10 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
13 apt-get update && \
14 apt-get install -y eatmydata && \
15 eatmydata apt-get dist-upgrade -y && \
16 apt build-dep -yy qemu
[all …]
/openbmc/qemu/roms/
H A Dedk2-build.config39 [build.ovmf.i386]
40 desc = ovmf build (32-bit)
45 dest = ../pc-bios
46 cpy1 = FV/OVMF_CODE.fd edk2-i386-code.fd
47 cpy2 = FV/OVMF_VARS.fd edk2-i386-vars.fd
49 [build.ovmf.i386.secure]
50 desc = ovmf build (32-bit, secure boot)
56 dest = ../pc-bios
57 cpy1 = FV/OVMF_CODE.fd edk2-i386-secure-code.fd
62 [build.ovmf.x86_64]
[all …]
H A Dedk2-build.py3 build helper script for edk2, see
4 https://gitlab.com/kraxel/edk2-build-config
19 # pylint: disable=unused-variable
21 """ detect 'git rebase -x edk2-build.py master' testbuilds """
27 with open(gitdir, 'r', encoding = 'utf-8') as f:
30 if not os.path.exists(f'{gitdir}/rebase-merge/msgnum'):
32 with open(f'{gitdir}/rebase-merge/msgnum', 'r', encoding = 'utf-8') as f:
34 with open(f'{gitdir}/rebase-merge/end', 'r', encoding = 'utf-8') as f:
36 with open(f'{gitdir}/rebase-merge/head-name', 'r', encoding = 'utf-8') as f:
39 rebase_prefix = f'[ {int(msgnum/2)} / {int(end/2)} - {head[-1]} ] '
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Drust-target-config.bbclass4 # SPDX-License-Identifier: MIT
7 # Right now this is focused on arm-specific tune features.
8 # We get away with this for now as one can only use x86-64 as the build host
11 # don't want to use this for the host/build.
26 f.append("-d32")
31 f.append("-d32")
38 f.append("-neon")
52 f.append("+strict-align")
55 f.append("+strict-align")
59 f.append("+strict-align")
[all …]
/openbmc/qemu/tests/tcg/loongarch64/
H A DMakefile.softmmu-target2 # Loongarch64 system tests
5 LOONGARCH64_SYSTEM_SRC=$(SRC_PATH)/tests/tcg/loongarch64/system
16 LDFLAGS=-Wl,-T$(LINK_SCRIPT)
18 CFLAGS+=-nostdlib -g -O1 -march=loongarch64 -mabi=lp64d $(MINILIB_INC)
19 LDFLAGS+=-static -nostdlib $(CRT_OBJS) $(MINILIB_OBJS) -lgcc -Wl,--no-warn-rwx-segments
25 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -x assembler-with-cpp -Wa,--noexecstack -c $< -o $@
27 # Build and link the tests
29 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS)
31 memory: CFLAGS+=-DCHECK_UNALIGNED=0
33 QEMU_OPTS+=-serial chardev:output -kernel
/openbmc/qemu/linux-user/loongarch64/
H A DMakefile.vdso1 include $(BUILD_DIR)/tests/tcg/loongarch64-linux-user/config-target.mak
3 SUBDIR = $(SRC_PATH)/linux-user/loongarch64
8 $(SUBDIR)/vdso.so: vdso.S vdso.ld vdso-asmoffset.h
9 $(CC) -o $@ -nostdlib -shared -fpic -Wl,-h,linux-vdso.so.1 \
10 -Wl,--build-id=sha1 -Wl,--hash-style=both \
11 -Wl,--no-warn-rwx-segments -Wl,-z,max-page-size=4096 \
12 -Wl,-T,$(SUBDIR)/vdso.ld $<
/openbmc/openbmc/poky/meta/recipes-devtools/rust/
H A Drust-snapshot.inc1 ## This is information on the rust-snapshot (binary) used to build our current release.
3 ## Rust is self-hosting and bootstraps itself with a pre-built previous version of itself.
9 SRC_URI[cargo-snapshot-aarch64.sha256sum] = "a8c4f1ab2f65e7579eb80153fd1ca9a0b365ca31ca6ae0ebd34156…
10 SRC_URI[clippy-snapshot-aarch64.sha256sum] = "3d522172f9797e65c609a640af7f4ac331525150c91f93e41798c…
11 SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "8fc4bfc3a5fe64f8530964a5ea3bda95e39357eff14d6a8bb24…
12 SRC_URI[rustc-snapshot-aarch64.sha256sum] = "fc21ca734504c3d0ccaf361f05cb491142c365ce8a326f942206b0…
14 SRC_URI[cargo-snapshot-i686.sha256sum] = "b0f6d95c8a292b1276f30b1bca14197b28297c2fcd51974ef320d0549…
15 SRC_URI[clippy-snapshot-i686.sha256sum] = "a6899744ed734dd3a9f59631a943721bfe67ed6273e60dd67e863682…
16 SRC_URI[rust-std-snapshot-i686.sha256sum] = "6547876dcf243aeeeadaa38dbdce02c316b6f83305a5337520e02e…
17 SRC_URI[rustc-snapshot-i686.sha256sum] = "b40c1437491d0a24756b6baabb14c2d4d0def199bc652f16e417addb1…
[all …]
/openbmc/qemu/.gitlab-ci.d/
H A Dbuildtest.yml2 - local: '/.gitlab-ci.d/buildtest-template.yml'
4 build-system-alpine:
6 - .native_build_job_template
7 - .native_build_artifact_template
9 - job: amd64-alpine-container
12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu
13 MAKE_CHECK_ARGS: check-build
14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog
16 check-system-alpine:
19 - job: build-system-alpine
[all …]
/openbmc/openbmc/poky/meta/recipes-core/ovmf/ovmf/
H A D0003-debug-prefix-map.patch7 --debug-prefix-map to nasm (we carry a patch to nasm for this). The
8 tools definitions file is built by ovmf-native so we need to pass this in
9 at target build time when we know the right values so we use the environment.
11 By using determininistc file paths during the ovmf build, it removes the
17 Upstream-Status: Submitted [https://github.com/tianocore/edk2/pull/2202]
18 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
20 ---
21 BaseTools/Conf/tools_def.template | 18 +++++++++---------
22 1 file changed, 9 insertions(+), 9 deletions(-)
[all …]
/openbmc/openbmc/poky/meta/conf/distro/include/
H A Ddefault-distrovars.inc5 KERNEL_CONSOLE ?= "${@','.join(d.getVar('SERIAL_CONSOLES').split(' ')[0].split(';')[::-1]) or 'ttyS…
8 DEFAULT_IMAGE_LINGUAS = "en-us en-gb"
9 DEFAULT_IMAGE_LINGUAS:libc-glibc = "c en-us en-gb"
15 LOCALE_UTF8_IS_DEFAULT:class-nativesdk = "0"
26 # seccomp is not yet ported to loongarch64
27 DISTRO_FEATURES_DEFAULT:remove:loongarch64 = "seccomp"
34 # COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse"
36 # COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-ba…
38 COMMON_LICENSE_DIR ??= "${COREBASE}/meta/files/common-licenses"
44 # Default to emitting logfiles if a build fails.
[all …]
/openbmc/qemu/configs/devices/loongarch64-softmmu/
H A Ddefault.mak1 # Default configuration for loongarch64-softmmu
6 # Boards are selected by default, uncomment to keep out of the build.
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/
H A Dbinutils.inc12 LICENSE = "GPL-3.0-only"
14 DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"
21 ${libdir}/bfd-plugins/lib*${SOLIBSDEV} \
22 ${libdir}/lib*-${PV}*.so \
26 RPROVIDES:${PN} += "${PN}-symlinks"
28 FILES:${PN}-dev = " \
33 ${libdir}/libctf-nobfd.so \
36 FILES:${PN}-staticdev += "${libdir}/gprofng/*.a"
42 gp-archive \
43 gp-collect-app \
[all …]
/openbmc/linux/arch/loongarch/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
4 # Copyright (C) 2020-2022 Loongson Technology Corporation Limited
10 image-name-y := vmlinux
11 image-name-$(CONFIG_EFI_ZBOOT) := vmlinuz
16 KBUILD_IMAGE := $(boot)/$(image-name-y).efi
22 64bit-tool-archpref = loongarch64
23 32bit-bfd = elf32-loongarch
24 64bit-bfd = elf64-loongarch
25 32bit-emul = elf32loongarch
26 64bit-emul = elf64loongarch
[all …]
/openbmc/linux/arch/loongarch/boot/
H A DMakefile4 # Copyright (C) 2020-2022 Loongson Technology Corporation Limited
7 drop-sections := .comment .note .options .note.gnu.build-id
8 strip-flags := $(addprefix --remove-section=,$(drop-sections)) -S
9 OBJCOPYFLAGS_vmlinux.efi := -O binary $(strip-flags)
12 cmd_strip = $(STRIP) -s -o $@ $<
23 EFI_ZBOOT_BFD_TARGET := elf64-loongarch
24 EFI_ZBOOT_MACH_TYPE := LOONGARCH64
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs-128/
H A Driscv32.patch3 Date: Sun, 24 Oct 2021 22:32:50 -0700
6 Upstream-Status: Pending
7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 ---
9 build/moz.configure/init.configure | 3 +++
14 diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure
16 --- a/build/moz.configure/init.configure
17 +++ b/build/moz.configure/init.configure
18 @@ -594,6 +594,9 @@ def split_triplet(triplet, allow_wasi=False):
28 diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/c…
[all …]
/openbmc/openbmc/poky/meta/recipes-bsp/u-boot/
H A Du-boot-tools.inc1 SUMMARY = "U-Boot bootloader tools"
2 DEPENDS += "gnutls openssl util-linux swig-native"
7 PROVIDES = "${MLPREFIX}u-boot-mkimage ${MLPREFIX}u-boot-mkenvimage ${MLPREFIX}u-boot-mkeficapsule"
8 PROVIDES:class-native = "u-boot-mkimage-native u-boot-mkenvimage-native u-boot-mkeficapsule-native"
10 PACKAGES += "${PN}-mkimage ${PN}-mkenvimage ${PN}-mkeficapsule"
12 # Required for backward compatibility with "u-boot-mkimage-xxx.bb"
13 RPROVIDES:${PN}-mkimage = "u-boot-mkimage"
14 RREPLACES:${PN}-mkimage = "u-boot-mkimage"
15 RCONFLICTS:${PN}-mkimage = "u-boot-mkimage"
17 EXTRA_OEMAKE:class-target = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTC…
[all …]
/openbmc/qemu/
H A Dconfigure14 source_path=$(cd "$(dirname -- "$0")"; pwd)
16 if test "$PWD" -ef "$source_path"
18 echo "Using './build' as the directory for build output"
20 MARKER=build/auto-created-by-configure
22 if test -e build
24 if test -f $MARKER
26 rm -rf build
28 echo "ERROR: ./build dir already exists and was not previously created by configure"
33 if ! mkdir build || ! touch $MARKER
35 echo "ERROR: Could not create ./build directory. Check the permissions on"
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/
H A Dgcc-sanitizers.inc1 require gcc-configure-common.inc
10 --with-sysroot=/not/exist \
11 --with-build-sysroot=${STAGING_DIR_TARGET} \
14 # Workaround for this issue: https://github.com/llvm/llvm-project/issues/65144 on aarch64
15 # compiler-rt/sanitizers/aarch64: CHECK failed: sanitizer_allocator_primary64.h:133
16 CXXFLAGS:append:aarch64 = " -DSANITIZER_CAN_USE_ALLOCATOR64=0"
19 rm -rf ${B}/${TARGET_SYS}/libsanitizer/
20 mkdir -p ${B}/${TARGET_SYS}/libsanitizer/
27 …sed -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' ${B}/${TARGET_SYS}/libsanitizer/libtool
29 …sed -i -e '/LIBSTDCXX_RAW_CXX_\(CXXFLAGS\|LDFLAGS\)\s*=/d' ${B}/${TARGET_SYS}/libsanitizer/*/Makef…
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/
H A Dglibc-locale.inc1 require glibc-collateral.inc
9 # objcopy/gcc-nm and glibc-locale depends on virtual/libc directly.
12 # Binary locales are generated at build time if ENABLE_BINARY_LOCALE_GENERATION
19 ENABLE_BINARY_LOCALE_GENERATION:pn-nativesdk-glibc-locale = "1"
23 BINARY_LOCALE_ARCHES ?= "arc arm.* aarch64 i[3-6]86 x86_64 powerpc mips mips64 riscv32 riscv64 loon…
25 # set "1" to use cross-localedef for locale generation
27 LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
29 PROVIDES = "virtual/libc-locale"
31 PACKAGES = "localedef ${PN}-dbg ${LOCALEBASEPN}-locale-alias"
33 PACKAGES_DYNAMIC = "^locale-base-.* \
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/meson/
H A Dmeson_1.7.0.bb2 SUMMARY = "A high performance build system"
3 DESCRIPTION = "Meson is a build system designed to increase programmer \
7 LICENSE = "Apache-2.0"
11 SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/meson-${PV}.tar.gz \
12 file://meson-setup.py \
13 file://meson-wrapper \
14 file://0001-python-module-do-not-manipulate-the-environment-when.patch \
15 file://0001-Make-CPU-family-warnings-fatal.patch \
16 file://0002-Support-building-allarch-recipes-again.patch \
17 file://0001-dependencies-dev-prepend-sysroot-when-searching-for-.patch \
[all …]
/openbmc/linux/tools/testing/selftests/nolibc/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
4 # We need this for the "cc-option" macro.
5 include ../../../build/Build.include
19 # and the Qemu program used. It is copied as-is into ARCH except for
23 # -------------|-----------|-------------------------
88 QEMU_ARCH_loongarch = loongarch64
91 # QEMU_ARGS : some arch-specific args to pass to qemu
92 QEMU_ARGS_i386 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=…
93 QEMU_ARGS_x86_64 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=…
94 QEMU_ARGS_x86 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=…
[all …]
/openbmc/qemu/docs/interop/
H A Dfirmware.json1 # -*- Mode: Python -*-
11 # later. See the COPYING file in the top-level directory.
18 'member-name-exceptions': [
25 # Lists the firmware-OS interface types provided by various firmware
32 # 1275-1994 standard. Examples for firmware projects that
35 # @uboot: Firmware interface defined by the U-Boot project.
71 # @aarch64: 64-bit Arm.
73 # @arm: 32-bit Arm.
75 # @i386: 32-bit x86.
77 # @loongarch64: 64-bit LoongArch. (since: 7.1)
[all …]
/openbmc/openbmc/poky/meta/recipes-connectivity/openssl/
H A Dopenssl_3.4.0.bb7 LICENSE = "Apache-2.0"
10 SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \
11 file://run-ptest \
12 file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \
13 file://0001-Configure-do-not-tweak-mips-cflags.patch \
14 file://0001-Added-handshake-history-reporting-when-test-fails.patch \
15 file://0001-Fix-builds-on-riscv64-using-musl.patch \
18 SRC_URI:append:class-nativesdk = " \
19 file://environment.d-openssl.sh \
25 MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash"
[all …]

12