| /openbmc/qemu/.gitlab-ci.d/ |
| H A D | crossbuild-template.yml | 3 stage: build 7 - ccache 12 - source scripts/ci/gitlab-ci-section 13 - section_start setup "Pre-script setup" 14 - JOBS=$(expr $(nproc) + 1) 15 - cat /packages.txt 16 - section_end setup 18 - export CCACHE_BASEDIR="$(pwd)" 19 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache" 20 - export CCACHE_MAXSIZE="500M" [all …]
|
| H A D | buildtest.yml | 2 - 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/qemu/tests/docker/dockerfiles/ |
| H A D | debian-all-test-cross.docker | 2 # Docker all cross-compiler target (tests only) 5 # build environments which can cross build QEMU this just installs the 7 # to build and run linux-user tests on GitLab 9 FROM docker.io/library/debian:12-slim 11 # Duplicate deb line as deb-src 12 RUN sed -in "s/Types: deb/Types: deb deb-src/g" /etc/apt/sources.list.d/debian.sources 15 apt-get update && \ 16 apt-get install -y eatmydata && \ 17 eatmydata apt-get dist-upgrade -y && \ 18 apt build-dep -yy --arch-only qemu [all …]
|
| H A D | debian-toolchain.docker | 2 # Docker toolchain cross-compiler 4 # This dockerfile is used for building a cross-compiler toolchain. 5 # The script for building the toolchain is supplied via extra-files. 7 FROM docker.io/library/debian:11-slim 9 # Install build utilities for building gcc and glibc. 10 # ??? The build-dep isn't working, missing a number of 11 # minimal build dependiencies, e.g. libmpc. 13 RUN sed 's/^deb /deb-src /' </etc/apt/sources.list >/etc/apt/sources.list.d/deb-src.list 16 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ 18 apt install -y --no-install-recommends \ [all …]
|
| H A D | debian-loongarch-cross.docker | 2 # Docker cross-compiler target 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 18 RUN apt-get update && \ [all …]
|
| H A D | debian-hexagon-cross.docker | 2 # Docker Hexagon cross-compiler target 5 # needs to be able to build QEMU itself in CI we include its 6 # build-deps. 8 FROM docker.io/library/debian:11-slim 10 # Duplicate deb line as deb-src 11 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 12 RUN apt-get update && \ 13 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ 15 # Install common build utilities 16 apt-get install -y --no-install-recommends \ [all …]
|
| H A D | debian-legacy-test-cross.docker | 1 # Docker legacy cross-compiler target (tests and minimal qemu) 6 # libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054412 7 # sh4-linux-user: binaries don't run with bookworm compiler 9 # As we are targeting check-tcg here we only need minimal qemu 12 FROM docker.io/library/debian:11-slim 14 # Duplicate deb line as deb-src 15 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 18 apt-get update && \ 19 apt-get install -y eatmydata && \ 20 eatmydata apt-get dist-upgrade -y && \ [all …]
|
| H A D | debian-tricore-cross.docker | 2 # Docker TriCore cross-compiler target 8 # Copyright (c) 2018 Philippe Mathieu-Daudé 10 # SPDX-License-Identifier: GPL-2.0-or-later 12 FROM docker.io/library/debian:11-slim 15 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ 16 DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy \ 19 ca-certificates \ 26 libglib2.0-dev \ 27 libpixman-1-dev \ 30 ninja-build \ [all …]
|
| /openbmc/openbmc-build-scripts/ |
| H A D | build-setup.sh | 4 # This build script is for running the OpenBMC builds as Docker containers. 9 # build_scripts_dir The path of the openbmc-build-scripts directory. 22 # build, which will be written into local.conf. 24 # CONTAINER_ONLY Set to "true" if you only want to build the docker 31 # Docker Image Build Variables: 32 # BITBAKE_OPTS Set to "-c populate_sdk" or whatever other BitBake options 33 # you'd like to pass into the build. 35 # build_dir Path where the actual BitBake build occurs inside the 37 # Default: "$WORKSPACE/build" 38 # distro The distro used as the base image for the build image: [all …]
|
| /openbmc/phosphor-user-manager/docs/ |
| H A D | README.md | 1 # phosphor-user-manager 3 ## To Build 5 To build this package, do the following steps: 8 1. meson build 9 2. ninja -C build 17 …-c cjar -b cjar -k -H "Content-Type: application/json" -X POST -d '{"data":[false,"ldap://<ldap://… 26 - First time LDAP configuration. 27 - Change the already configured Client/CA certificate 32 curl -c cjar -b cjar -k -H "Content-Type: application/octet-stream" 33 -X PUT -T <FILE> https://<BMC_IP>/xyz/openbmc_project/certs/client/ldap [all …]
|
| /openbmc/docs/testing/ |
| H A D | run-test-docker.md | 6 ## Build Docker Image 18 3. Clone openbmc-build-scripts repository. 20 `git clone https://github.com/openbmc/openbmc-build-scripts` 22 4. Change directory to openbmc-build-scripts. 24 `cd openbmc-build-scripts` 26 5. Build the Docker image required to execute the robot tests (it may take close 28 "openbmc/ubuntu-robot-qemu". You can check images using "docker images" 31 `./scripts/build-qemu-robot-docker.sh` 34 the build command (use proper IP and PORT values.) 37 --build-arg http_proxy=<IP>:<PORT> --build-arg https_proxy=<IP>:<PORT> [all …]
|
| /openbmc/openbmc/poky/documentation/dev-manual/ |
| H A D | python-development-shell.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 11 :ref:`ref-tasks-patch` are run for the 19 '/media/build1/poky/build/tmp/sysroots' 27 pydevshell> bb.build.exec_func("do_unpack", d) 30 See the ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:functions you can call from within … 31 section in the BitBake User Manual for details about available functions. 33 The commands execute just as if the OpenEmbedded build 35 helpful when debugging a build or preparing software to be used with the 36 OpenEmbedded build system. 39 ``matchbox-desktop``:: [all …]
|
| H A D | wayland.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 19 can find the recipes that build both Wayland and Weston at 20 ``meta/recipes-graphics/wayland``. 22 You can build both the Wayland and Weston packages for use only with targets 25 you cannot build and use the packages if your target uses, for example, the 44 ---------------- 46 To cause Mesa to build the ``wayland-egl`` platform and Weston to build 57 If X11 has been enabled elsewhere, Weston will build Wayland with X11 61 ----------------------------- 77 Alternatively, you can run Weston through the command-line interpretor [all …]
|
| /openbmc/qemu/gdbstub/ |
| H A D | meson.build | 2 # The main gdbstub still relies on per-build definitions of various 3 # types. The bits pushed to system/user.c try to use guest agnostic 7 # We build two versions of gdbstub, one for each mode 11 'user.c' 20 # The user-target is specialised by the guest 21 specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-target.c'))
|
| /openbmc/openbmc/poky/bitbake/doc/bitbake-user-manual/ |
| H A D | bitbake-user-manual-execution.rst | 1 .. SPDX-License-Identifier: CC-BY-2.5 11 development kit, or even a full, board-specific bootable Linux image, 25 <bitbake-user-manual-command>`" section. 30 parallel thread execution on your build host by setting the 34 A common method to determine this value for your build host is to run 40 the number of processors, which takes into account hyper-threading. 41 Thus, a quad-core build host with hyper-threading most likely shows 57 - **Recipes:** Details about particular pieces of software. 59 - **Class Data:** An abstraction of common build information (e.g. how to 60 build a Linux kernel). [all …]
|
| H A D | bitbake-user-manual-metadata.rst | 1 .. SPDX-License-Identifier: CC-BY-2.5 20 ---------------------- 53 ---------------------------- 58 - Customize a recipe that uses the variable. 60 - Change a variable's default value used in a ``*.bbclass`` file. 62 - Change the variable in a ``*.bbappend`` file to override the variable 65 - Change the variable in a configuration file so that the value 80 - For configuration changes, use the following:: 82 $ bitbake -e 94 - To find changes to a given variable in a specific recipe, use the [all …]
|
| /openbmc/openbmc-build-scripts/scripts/ |
| H A D | build-qemu-robot-docker.sh | 1 #!/bin/bash -xe 3 # Build the required docker image to run QEMU and Robot test cases 16 # default is openbmc/ubuntu-robot-qemu 17 # param2: <optional, the distro to build a docker image against> 19 set -uo pipefail 21 http_proxy=${http_proxy:-} 23 DOCKER_IMG_NAME=${1:-"openbmc/ubuntu-robot-qemu"} 24 DISTRO=${2:-"ubuntu:plucky"} 25 UBUNTU_MIRROR=${UBUNTU_MIRROR:-""} 26 PIP_MIRROR=${PIP_MIRROR:-""} [all …]
|
| /openbmc/qemu/tests/docker/ |
| H A D | Makefile.include | 3 .PHONY: docker docker-help docker-test docker-clean docker-image docker-qemu-src 9 HOST_ARCH = $(shell uname -m) 10 USER = $(if $(NOUSER),,$(shell id -un)) 11 UID = $(if $(NOUSER),,$(shell id -u)) 15 DOCKER_DEFAULT_REGISTRY := registry.gitlab.com/qemu-project/qemu 19 RUNC ?= $(if $(shell command -v docker), docker, podman) 20 DOCKER_SCRIPT=$(SRC_PATH)/tests/docker/docker.py --engine $(RUNC) 22 CUR_TIME := $(shell date +%Y-%m-%d-%H.%M.%S.$$$$) 23 DOCKER_SRC_COPY := $(BUILD_DIR)/docker-src.$(CUR_TIME) 29 $(call quiet-command, cp "$(SRC_ARCHIVE)" $@/qemu.tar, \ [all …]
|
| /openbmc/openbmc/poky/documentation/toaster-manual/ |
| H A D | setup-and-use.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 13 dependencies as described in the ":ref:`toaster-manual/start:Preparing to Use 22 Once in that directory, source the build environment script:: 24 $ source oe-init-build-env 26 Next, from the :term:`Build Directory` (e.g. ``poky/build``), start Toaster 33 ":ref:`toaster-manual/setup-and-use:using the toaster web interface`". 55 - Capturing a command-line build's statistics into the Toaster database 58 - Capturing a command-line build's statistics when the Toaster server 61 - Having one instance of the Toaster web server track and capture 62 multiple command-line builds, where each build is started in its own [all …]
|
| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | imagefeatures.py | 4 # SPDX-License-Identifier: MIT 23 Summary: Check if non root user can connect via ssh without password 24 …Expected: 1. Connection to the image via ssh using root user without providing a password should b… 25 …2. Connection to the image via ssh using tester user without providing a password should be allowe… 26 Product: oe-core 31 …features = 'EXTRA_IMAGE_FEATURES = "ssh-server-openssh empty-root-password allow-empty-password al… 33 …features += 'EXTRA_USERS_PARAMS = "useradd -p \'\' {}; usermod -s /bin/sh {};"'.format(self.test_u… 36 # Build a core-image-minimal 37 bitbake('core-image-minimal') 39 with runqemu("core-image-minimal") as qemu: [all …]
|
| /openbmc/openbmc/poky/documentation/overview-manual/ |
| H A D | concepts.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 8 beyond the surface of "how-to" information and reference (or look-up) 9 material. Concepts such as components, the :term:`OpenEmbedded Build System` 11 cross-development toolchains, shared state cache, and so forth are 19 :term:`OpenEmbedded-Core (OE-Core)`. This section 26 - *Recipes:* Provides details about particular pieces of software. 28 - *Class Data:* Abstracts common build information (e.g. how to build a 31 - *Configuration Data:* Defines machine-specific settings, policy 37 ":ref:`dev-manual/layers:understanding and creating layers`" 41 additional information on how these components interact during a build, [all …]
|
| /openbmc/openbmc/meta-raspberrypi/.github/workflows/docker-images/yocto-builder/ |
| H A D | Dockerfile | 1 # SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com> 3 # SPDX-License-Identifier: MIT 8 RUN apt-get update -qq 9 RUN apt-get install -y eatmydata 11 # Yocto/OE build host dependencies 15 RUN eatmydata apt-get install -qq -y \ 16 build-essential chrpath cpio debianutils diffstat file gawk gcc \ 17 git iputils-ping libacl1 liblz4-tool locales python3 python3-git \ 18 python3-jinja2 python3-pexpect python3-pip python3-subunit socat \ 19 texinfo unzip wget xz-utils zstd [all …]
|
| /openbmc/qemu/target/loongarch/ |
| H A D | README | 1 - 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/openbmc/poky/meta/recipes-devtools/qemu/qemu/ |
| H A D | 0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch | 4 Subject: [PATCH] qemu: Add some user space mmap tweaks to address musl 32 bit 6 When using qemu-i386 to build qemux86 webkitgtk on musl, it sits in an 13 can/should return EFAULT and changing this allows the build to succeed. 18 Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg01355.html] 19 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org 20 --- 21 linux-user/mmap.c | 10 +++++++--- 22 1 file changed, 7 insertions(+), 3 deletions(-) 24 diff --git a/linux-user/mmap.c b/linux-user/mmap.c 26 --- a/linux-user/mmap.c [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
| H A D | views.py | 6 # SPDX-License-Identifier: GPL-2.0-only 22 from orm.models import Build, Target, Task, Layer, Layer_Version, Recipe 57 # Project creation and managed build enable 63 # setting this to False enables additional non-standard mimetypes 68 # or 'application/octet-stream' if the type couldn't be guessed 74 guessed_type = 'application/octet-stream' 88 # in build mode, we redirect to the command-line builds page 91 default_project_builds = Build.objects.filter(project = default_project) 93 # we only redirect to projects page if there is a user-generated project 94 num_builds = Build.objects.all().count() [all …]
|