Home
last modified time | relevance | path

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

12

/openbmc/qemu/docs/system/loongarch/
H A Dvirt.rst12 -----------------
26 --------------------
28 The ``qemu-system-loongarch64`` provides emulation for virt
33 ------------
39 (1) Build qemu-system-loongarch64:
41 .. code-block:: bash
43 ./configure --target-list="loongarch64-softmmu"
44 make -j8
48 .. code-block:: bash
50 …wget https://github.com/loongson/build-tools/releases/download/2022.09.06/loongarch64-clfs-6.3-cro…
[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/tests/uefi-test-tools/
H A Duefi-test-build.config7 [build.arm]
10 dest = ./Build
12 cpy1 = ARM/BiosTablesTest.efi bios-tables-test.arm.efi
17 [build.aarch64]
20 dest = ./Build
22 cpy1 = AARCH64/BiosTablesTest.efi bios-tables-test.aarch64.efi
25 # loongarch64
27 [build.loongarch64]
30 dest = ./Build
31 arch = LOONGARCH64
[all …]
H A DMakefile8 # <http://opensource.org/licenses/bsd-license.php>.
14 images_dir := ../data/uefi-boot-images
15 emulation_targets := arm aarch64 i386 x86_64 riscv64 loongarch64
16 uefi_binaries := bios-tables-test
23 # Preserve all intermediate targets if the build succeeds.
24 # - Intermediate targets help with development & debugging.
25 # - Preserving intermediate targets also keeps spurious changes out of the
26 # final build products, in case the user re-runs "make" without any changes
28 # removed by the last "make" invocation, hence the re-run would rebuild them
30 # "genisoimage" utilities embed timestamp-based information in their outputs,
[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/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/tests/data/acpi/
H A Drebuild-expected-aml.sh4 # Rebuild expected AML files for acpi unit-test
13 # See the COPYING.LIB file in the top-level directory.
15 qemu_arches="x86_64 aarch64 riscv64 loongarch64"
17 if [ ! -e "tests/qtest/bios-tables-test" ]; then
18 echo "Test: bios-tables-test is required! Run make check before this script."
19 echo "Run this script from the build directory."
23 if grep TARGET_DIRS= config-host.mak; then
25 if grep TARGET_DIRS= config-host.mak | grep "$arch"-softmmu;
27 qemu_bins="$qemu_bins ./qemu-system-$arch"
31 echo "config-host.mak missing!"
[all …]
/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/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/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[rustc-snapshot-aarch64.sha256sum] = "9f5650aece53e083b933a57e5a8e0e2db4479f52ec897d5b6d0f77…
10 SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "023f0b6153b23ac0e9686c2ab95bc393ee3e295b166bb36de3b…
11 SRC_URI[cargo-snapshot-aarch64.sha256sum] = "68d4ad239b6d1e810e7b8591636dc408cb2c1e89661329fed906fe…
12 SRC_URI[clippy-snapshot-aarch64.sha256sum] = "6022245416a988b9952f36bf20f62de0c2f3337bd150e34439ea6…
14 SRC_URI[rustc-snapshot-i686.sha256sum] = "f0bc277e8e8c072d20ee91784f919c08b34a65ab56b67bcd2bb98a009…
15 SRC_URI[rust-std-snapshot-i686.sha256sum] = "e710100be26e742733d445722a37227381f1ec2010664ece85489b…
16 SRC_URI[cargo-snapshot-i686.sha256sum] = "3a20231475b75f2f6ad0f7c5de283c5706403b41e941d3f1ca6cccfbc…
17 SRC_URI[clippy-snapshot-i686.sha256sum] = "8b5bdd84b9128abc6d61bc1acb60e55eab90e063c7057371b4e6f79a…
[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/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/openbmc/poky/meta/recipes-bsp/grub/
H A Dgrub-efi_2.12.bb3 require conf/image-uefi.conf
7 DEPENDS:append = " grub-native"
8 RDEPENDS:${PN} = "grub-common virtual-grub-bootconf"
14 S = "${WORKDIR}/grub-${PV}"
20 prefix = "" if d.getVar('EFI_PROVIDER') == "grub-efi" else "grub-efi-"
33 elif re.match('loongarch64', target):
34 grubtarget = 'loongarch64'
36 raise bb.parse.SkipRecipe("grub-efi is incompatible with target %s" % target)
40 prefix = "grub-efi-" if prefix == "" else ""
47 EXTRA_OECONF += "--enable-efiemu=no"
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/webkitgtk/webkitgtk3/
H A Dfix-ftbfs-riscv64.patch3 WebKitGTK doesn't build on riscv64 even with the JIT disabled.
5 to get the build done until someone steps up to maintain this
10 Upstream-Status: Pending
11 Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 --- a/Source/WTF/wtf/PlatformCPU.h
14 @@ -286,14 +286,6 @@
18 -/* CPU(RISCV64) - RISC-V 64-bit */
19 -#if defined(__riscv) \
20 - && defined(__riscv_xlen) \
21 - && (__riscv_xlen == 64)
[all …]
/openbmc/openbmc/poky/meta/recipes-sato/webkit/webkitgtk/
H A Dfix-ftbfs-riscv64.patch3 WebKitGTK doesn't build on riscv64 even with the JIT disabled.
5 to get the build done until someone steps up to maintain this
9 Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=271371#c1]
10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 --- a/Source/WTF/wtf/PlatformCPU.h
13 @@ -286,14 +286,6 @@
17 -/* CPU(RISCV64) - RISC-V 64-bit */
18 -#if defined(__riscv) \
19 - && defined(__riscv_xlen) \
20 - && (__riscv_xlen == 64)
[all …]
/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-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/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-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/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/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-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.8.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 \
21 inherit python_setuptools_build_meta github-releases
[all …]

12