/openbmc/qemu/.gitlab-ci.d/ |
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/ |
H A D | configure | 14 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/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/meta-openembedded/meta-oe/recipes-support/openldap/openldap/ |
H A D | remove-user-host-pwd-from-version.patch | 4 Subject: [PATCH] mkversion: remove user host pwd from version 6 Upstream-Status: Pending 10 Signed-off-by: Changqing Li <changqing.li@windriver.com> 11 --- 12 build/mkversion | 8 ++++++-- 13 1 file changed, 6 insertions(+), 2 deletions(-) 15 --- a/build/mkversion 16 +++ b/build/mkversion 17 @@ -53,8 +53,12 @@ APPLICATION=$1 19 if [ -n "${SOURCE_DATE_EPOCH}" ]; then [all …]
|
/openbmc/qemu/docs/devel/ |
H A D | build-system.rst | 2 The QEMU build system architecture 6 QEMU build system. As with projects using GNU autotools, the QEMU build 8 to determine the local build environment characteristics, then they run 9 "make" to build the project. This is about where the similarities with 12 The two general ways to perform a build are as follows: 14 - build artifacts outside of QEMU source tree entirely:: 17 mkdir build 18 cd build 22 - build artifacts in a subdir of QEMU source tree:: 24 mkdir build [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/docs/development/ |
H A D | dev-environment.md | 15 walk you through utilizing bitbake to build OpenBMC firmware and boot it in 18 Bitbake is the build engine used by Yocto and OpenBMC to build its custom Linux 41 [VMware](https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html) 49 OpenBMC continuous integration utilizes docker to build its images. This is 51 [build-setup.sh](https://github.com/openbmc/openbmc-build-scripts/blob/master/build-setup.sh) 52 for a reference on the script CI uses to build an appropriate docker 63 **VirtualBox Tips** - You'll want copy/paste working between your VM and 66 - Devices -> Insert Guest Additions CD Image (install) 67 - Devices -> Shared Clipboard -> Bidirectional 68 - reboot (the VM) [all …]
|
/openbmc/webui-vue/.github/workflows/ |
H A D | deploy-docs-to-gh-pages.yml | 6 build: 7 runs-on: ubuntu-latest 10 - uses: actions/checkout@v2 12 - name: Generate static vuepress files 13 uses: actions/setup-node@v1 15 node-version: "12.x" 16 - run: npm ci 17 - run: npm run docs:build 19 - name: Init new repo in dist folder and commit generated files 23 git add -A [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/bitbake/lib/toaster/toastergui/ |
H A D | widgets.py | 6 # SPDX-License-Identifier: GPL-2.0-only 16 from orm.models import Project, Build 64 self.empty_state = "Sorry - no data found" 155 hideable (bool): Whether the user can hide the column 193 """Utility function to render the static data template""" 235 # pass it to the user - programming error here 273 (for a toggle filter) or "2015-12-11,2015-12-12" 297 cache_name = re.sub(r'[^A-Za-z0-9-]', "", cache_name) 349 # Check if we need to process some static data 367 '<!--error-->' [all …]
|
/openbmc/qemu/tests/tcg/ |
H A D | Makefile.target | 1 # -*- Mode: makefile -*- 5 # These are complicated by the fact we want to build them for guest 7 # ones we have cross-compilers for or docker images with 8 # cross-compilers. 11 # cross-compilers don't always have a large amount of libraries 14 # We only include the host build system for SRC_PATH and we don't 17 # CC - the C compiler command 18 # EXTRA_CFLAGS - any extra CFLAGS 19 # BUILD_STATIC - are we building static binaries 22 # may not package static libraries by default. If an external [all …]
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | gcov.rst | 6 is exported in gcov-compatible format via the "gcov" debugfs directory. 7 To get coverage data for a specific file, change to the kernel build 8 directory and use gcov with the ``-o`` option as follows (requires root):: 10 # cd /tmp/linux-out 11 # gcov -o /sys/kernel/debug/gcov/tmp/linux-out/kernel spinlock.c 14 in the current directory. In addition, graphical gcov front-ends such 30 ----------- 48 mount -t debugfs none /sys/kernel/debug 52 ------------- 57 - For a single file (e.g. main.o):: [all …]
|
/openbmc/qemu/.gitlab-ci.d/custom-runners/ |
H A D | ubuntu-22.04-aarch64.yml | 1 # All ubuntu-22.04 jobs should run successfully in an environment 2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task 3 # "Install basic packages to build QEMU on Ubuntu 22.04" 5 ubuntu-22.04-aarch64-all-linux-static: 8 stage: build 10 - ubuntu_22.04 11 - aarch64 13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' 14 - if: "$AARCH64_RUNNER_AVAILABLE" 16 - mkdir build [all …]
|
/openbmc/openbmc/poky/meta/conf/ |
H A D | documentation.conf | 3 # Mail your changes to openembedded-devel@openembedded.org 8 do_build[doc] = "Default task for a recipe - depends on all other normal tasks required to 'build' … 17 do_configure[doc] = "Configures the source by enabling and disabling any build-time and configurati… 26 do_kernel_checkout[doc] = "Checks out source/meta branches for a linux-yocto style kernel" 27 do_kernel_configcheck[doc] = "Validates the kernel configuration for a linux-yocto style kernel" 28 do_kernel_configme[doc] = "Assembles the kernel configuration for a linux-yocto style kernel" 39 do_packagedata[doc] = "Creates package metadata used by the build system to generate the final pack… 44 do_rm_work[doc] = "Removes work files after the build system has finished with them" 45 do_rm_work_all[doc] = "Top-level task for removing work files after the build system has finished w… 49 do_spdx[doc] = "A build stage that takes the source code and scans it on a remote FOSSOLOGY server … [all …]
|
/openbmc/openbmc/poky/meta-poky/conf/distro/ |
H A D | poky-tiny.conf | 1 # Distribution definition for: poky-tiny 9 # Poky-tiny is intended to define a tiny Linux system comprised of a 11 # Poky-tiny sets some basic policy to ensure a usable system while still 17 # o Single user ash shell 18 # o Static images (no support for adding packages or libraries later) 19 # o Read-only or RAMFS root filesystem 21 # o Allow the user to select between eglibc or uclibc with the TCLIBC variable 24 # [ ] Integrate linux-yocto-tiny ktype into linux-yocto 25 # [ ] Define linux-yocto-tiny configs for all supported BSPs 28 # runqemu qemux86 qemuparams="-nographic" bootparams="console=ttyS0,115200 root=0800" [all …]
|
/openbmc/openbmc/poky/documentation/dev-manual/ |
H A D | licenses.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 6 As mentioned in the ":ref:`overview-manual/development-environment:licensing`" 10 which the :term:`OpenEmbedded Build System` 24 build will fail. 27 -------------------------------------------- 40 - When using "beginline" and "endline", realize that line numbering 45 - When a license check fails, the selected license text is included 49 The build system uses the :term:`S` 68 --------------------- 83 mismatch occurs. This mismatch triggers a build failure and notifies the [all …]
|
/openbmc/qemu/tests/docker/ |
H A D | docker.py | 12 # the top-level directory. 65 return _bytes_checksum(text.encode('utf-8')) 68 return open(path, 'rt', encoding='utf-8').read() 81 commands += [["docker"], ["sudo", "-n", "docker"]] 121 ldd_re = re.compile(r"(?:\S+ => )?(\S*) \(:?0x[0-9a-f]+\)") 123 ldd_output = subprocess.check_output(["ldd", executable]).decode('utf-8') 132 print("%s had no associated libraries (static build?)" % (executable)) 145 This does rely on the host file-system being fairly multi-arch 199 # special case for Debian linux-user images 200 if img_name.startswith("debian") and img_name.endswith("user"): [all …]
|
/openbmc/linux/tools/testing/selftests/nolibc/ |
H A D | Makefile | 1 # 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 # -------------|-----------|------------------------- 36 # map from user input variants to their kernel supported architectures 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/tests/docker/dockerfiles/ |
H A D | centos9.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all centos-stream-9 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN dnf distro-sync -y && \ 10 dnf install 'dnf-command(config-manager)' -y && \ 11 dnf config-manager --set-enabled -y crb && \ 12 dnf install -y epel-release && \ 13 dnf install -y epel-next-release && \ 14 dnf install -y \ 15 SDL2-devel \ [all …]
|
H A D | fedora.docker | 1 # THIS FILE WAS AUTO-GENERATED 3 # $ lcitool dockerfile --layers all fedora-40 qemu 5 # https://gitlab.com/libvirt/libvirt-ci 9 RUN dnf install -y nosync && \ 11 if test -d /usr/lib64\n\ 19 nosync dnf update -y && \ 20 nosync dnf install -y \ 21 SDL2-devel \ 22 SDL2_image-devel \ 23 alsa-lib-devel \ [all …]
|
/openbmc/linux/security/landlock/ |
H A D | syscalls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Landlock LSM - System call implementations and user space interfaces 5 * Copyright © 2016-2020 Mickaël Salaün <mic@digikod.net> 6 * Copyright © 2018-2020 ANSSI 35 static bool is_initialized(void) in is_initialized() 41 "Disabled but requested by user space. " in is_initialized() 43 "https://docs.kernel.org/userspace-api/landlock.html#boot-time-configuration\n"); in is_initialized() 48 * copy_min_struct_from_user - Safe future-proof argument copying 50 * Extend copy_struct_from_user() to check for consistent user buffer. 55 * @src: User space pointer or NULL. [all …]
|
/openbmc/openbmc/poky/documentation/ref-manual/ |
H A D | variables.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 7 This chapter lists common variables used in the OpenEmbedded build 16 :term:`U <UBOOT_BINARY>` :term:`V <VIRTUAL-RUNTIME>` 27 ``meta/conf/machine/include/arm/arch-arm.inc`` file sets the 39 Like all package-controlling variables, you must always use them in 43 ALLOW_EMPTY:${PN}-dev = "1" 44 ALLOW_EMPTY:${PN}-staticdev = "1" 49 When this occurs, the OpenEmbedded build system needs to use the 51 commands can co-exist. 60 ":ref:`ref-classes-update-alternatives`" [all …]
|
/openbmc/linux/Documentation/dev-tools/kunit/ |
H A D | architecture.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - `In-Kernel Testing Framework`_ 10 - `kunit_tool (Command-line Test Harness)`_ 12 In-Kernel Testing Framework 19 - Organizes tests 20 - Reports test results 21 - Provides test utilities 24 ---------- 32 ``generate_params`` is optional for non-parameterized tests. 38 - ``->priv``: The setup functions can use it to store arbitrary test [all …]
|
/openbmc/qemu/docs/ |
H A D | conf.py | 1 # -*- coding: utf-8 -*- 3 # QEMU documentation build configuration file, created by 4 # sphinx-quickstart on Thu Jan 31 16:40:14 2019. 8 # for each of QEMU's manuals: in this case sphinx-build is run multiple 11 # the manuals into a single document: in this case sphinx-build is 12 # run once, on the top-level docs directory. 15 # only the ones the user cares about (in particular we don't want 16 # to ship the 'devel' manual to end-users). 17 # Third-party sites such as readthedocs.org will take option (2). 34 # The per-manual conf.py will set qemu_docdir for a single-manual build; [all …]
|
/openbmc/openbmc/poky/documentation/migration-guides/ |
H A D | migration-2.1.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 9 .. _migration-2.1-variable-expansion-in-python-functions: 12 -------------------------------------- 23 .. _migration-2.1-overrides-must-now-be-lower-case: 25 Overrides Must Now be Lower-Case 26 -------------------------------- 28 The convention for overrides has always been for them to be lower-case 30 now assumes lower-case characters in order to give a slight performance 33 appear in lower-case characters (e.g. values for :term:`MACHINE`, 35 ``_pn-``\ recipename overrides are to be effective). [all …]
|