| /external/mesa3d/.gitlab-ci/container/ |
| D | gitlab-ci.yml | 3 .incorporate-templates-commit: 5 FDO_DISTRIBUTION_TAG: "${MESA_IMAGE_TAG}--${MESA_TEMPLATES_COMMIT}" 7 .incorporate-base-tag+templates-commit: 9 …FDO_BASE_IMAGE: "${CI_REGISTRY_IMAGE}/${MESA_BASE_IMAGE}:${MESA_BASE_TAG}--${MESA_TEMPLATES_COMMIT… 10 FDO_DISTRIBUTION_TAG: "${MESA_IMAGE_TAG}--${MESA_BASE_TAG}--${MESA_TEMPLATES_COMMIT}" 12 .set-image: 14 - .incorporate-templates-commit 19 .set-image-base-tag: 21 - .set-image 22 - .incorporate-base-tag+templates-commit [all …]
|
| D | lava_build.sh | 5 # shellcheck disable=SC2016 # non-expanded variables are intentional 7 # .gitlab-ci/image-tags.yml tags: 10 set -e 12 . .gitlab-ci/setup-test-env.sh 14 set -o xtrace 23 if curl -L --retry 4 -f --retry-delay 60 -s -X HEAD \ 25 echo "Remote files are up-to-date, skip rebuilding them." 33 . .gitlab-ci/container/container_pre_build.sh 35 # Install rust, which we'll be using for deqp-runner. It will be cleaned up at the end. 36 . .gitlab-ci/container/build-rust.sh [all …]
|
| D | baremetal_build.sh | 3 set -e 4 set -o xtrace 6 # Fetch the arm-built rootfs image and unpack it in our x86_64 container (saves 10 if curl -X HEAD -s "${ARTIFACTS_PREFIX}/${FDO_UPSTREAM_REPO}/${ARTIFACTS_SUFFIX}/${arch}/done"; then 16 curl -L --retry 4 -f --retry-all-errors --retry-delay 60 \ 17 "${ARTIFACTS_URL}"/lava-rootfs.tar.zst -o rootfs.tar.zst 18 mkdir -p /rootfs-"$arch" 19 tar -C /rootfs-"$arch" '--exclude=./dev/*' --zstd -xf rootfs.tar.zst 20 rm rootfs.tar.zst 23 mkdir -p /baremetal-files [all …]
|
| /external/mesa3d/.gitlab-ci/lava/ |
| D | lava-gitlab-ci.yml | 2 …REGISTRY_IMAGE}/alpine/x86_64_lava_ssh_client:${ALPINE_X86_64_LAVA_SSH_TAG}--${MESA_TEMPLATES_COMM… 5 .lava-test: 10 FDO_CI_CONCURRENT: 6 # should be replaced by per-machine definitions 12 LAVA_HTTP_CACHE_URI: "http://caching-proxy/cache/?uri=" 17 # per-job build artifacts 18 JOB_ROOTFS_OVERLAY_PATH: "${JOB_ARTIFACTS_BASE}/job-rootfs-overlay.tar.gz" 20 LAVA_S3_ARTIFACT_NAME: "mesa-${ARCH}-default-debugoptimized" 21 S3_ARTIFACT_NAME: "mesa-python-ci-artifacts" 26 - !reference [.download_s3, before_script] 28 - . artifacts/setup-test-env.sh [all …]
|
| /external/crosvm/e2e_tests/guest_under_test/ |
| D | Makefile | 2 # Use of this source code is governed by a BSD-style license that can be 5 # Builds the kernel and rootfs for the guest used in integration testing. 9 # target/guest_under_test/rootfs 12 ifeq ($(ARCH), x86_64) 22 CROSS_COMPILE=aarch64-linux-gnu- 23 RUSTFLAGS="-Clinker=aarch64-linux-gnu-ld" 25 $(error Only x86_64 or aarch64 are supported) 31 RUST_TARGET ?= $(ARCH)-unknown-linux-musl 34 CARGO_TARGET ?= $(shell cargo metadata --no-deps --format-version 1 | \ 35 jq -r ".target_directory") [all …]
|
| D | upload_prebuilts.sh | 3 # Use of this source code is governed by a BSD-style license that can be 8 # Note: Only Googlers with access to the crosvm-testing cloud storage bin can 13 set -e 26 local remote_bzimage="${GS_PREFIX}-bzimage-${arch}-${PREBUILT_VERSION}" 27 local remote_rootfs="${GS_PREFIX}-rootfs-${arch}-${PREBUILT_VERSION}" 30 local cargo_target=$(cargo metadata --no-deps --format-version 1 | 31 jq -r ".target_directory") 33 local local_rootfs=${cargo_target}/guest_under_test/${arch}/rootfs 39 echo "Building rootfs and kernel." 43 gsutil cp -n "${local_bzimage}" "${remote_bzimage}" [all …]
|
| D | run_guest.sh | 3 # Use of this source code is governed by a BSD-style license that can be 8 CARGO_TARGET=$(cargo metadata --no-deps --format-version 1 | 9 jq -r ".target_directory") 10 GUEST_DIR="${CARGO_TARGET}/guest_under_test/x86_64" 12 cargo run -p crosvm -- \ 14 -p "init=/bin/sh" \ 15 --root "${GUEST_DIR}/rootfs"\
|
| /external/kmod/testsuite/ |
| D | setup-rootfs.sh | 3 set -e 6 ROOTFS=$2 11 # create rootfs from rootfs-pristine 14 rm -rf "$ROOTFS" 15 mkdir -p $(dirname "$ROOTFS") 16 cp -r "$ROOTFS_PRISTINE" "$ROOTFS" 17 find "$ROOTFS" -type d -exec chmod +w {} \; 18 find "$ROOTFS" -type f -name .gitignore -exec rm -f {} \; 20 …sed -i -e "s|/lib/modules|$MODULE_DIRECTORY|g" $(find "$ROOTFS" -name \*.txt -o -name \*.conf -o -… 21 …sed -i -e "s|$MODULE_DIRECTORY/external|/lib/modules/external|g" $(find "$ROOTFS" -name \*.txt -o … [all …]
|
| /external/virglrenderer/perf-testing/Docker/ |
| D | Dockerfile | 2 # Use of this source code is governed by a BSD-style license that can be 7 docker run --privileged -v /dev/log:/dev/log -v <path to crosvm>:/platform/crosvm:ro <crosvm base i… 13 RUN apt-get update && \ 14 apt-get install -y --no-install-recommends ca-certificates gnupg wget && \ 15 echo 'deb-src https://deb.debian.org/debian bullseye main' >> /etc/apt/sources.list && \ 17 apt-get update && \ 18 apt-get build-dep -y mesa && \ 19 apt-get install -y --no-install-recommends ca-certificates \ 20 python3-setuptools \ 21 llvm-dev \ [all …]
|
| D | run.sh | 5 set -ex 8 export PYTHONPATH=/usr/local/lib/python3.7/site-packages 18 while [ -n "$1" ] ; do 21 --trace|-t) 26 --benchmark|-b) 32 --perfetto|-p) 38 --wait-after-frame|-w) 39 command="$command wait-after-frame=1" 40 wait_after_frame="--wait-after-frame" 43 --snapshot|-s) [all …]
|
| /external/crosvm/docs/book/src/running_crosvm/ |
| D | custom_kernel_rootfs.md | 1 # Custom Kernel / Rootfs 3 This document explains how to build a custom kernel and use debootstrap to build a rootfs for 11 to build. You can use any mainline kernel though as long as it's configured for para-virtualized 18 git clone --depth 1 -b chromeos-6.6 https://chromium.googlesource.com/chromiumos/third_party/kernel 25 CHROMEOS_KERNEL_FAMILY=termina ./chromeos/scripts/prepareconfig container-vm-x86_64 27 make -j$(nproc) bzImage 33 ### Build a rootfs disk 35 This stage enjoys the most flexibility. There aren't any special requirements for a rootfs in 37 enough for your purposes. To get you started, a Debian rootfs can be created with [debootstrap]. 41 truncate -s 20G debian.ext4 [all …]
|
| D | advanced_usage.md | 3 To see the usage information for your version of crosvm, run `crosvm` or `crosvm run --help`. 10 crosvm --log-level=LEVEL run 16 crosvm --log-level=debug run 22 crosvm --log-level=devices::usb::xhci=LEVEL run 28 crosvm --log-level=devices::usb::xhci=LEVEL1,LEVEL2 run 49 ## Rootfs section in Advanced Usage 56 crosvm run -b "${ROOT_IMAGE},root,ro" "${KERNEL_PATH}" 62 therefore it can only be given once. The `ro` flag also makes the disk image read-only for the 63 guest. More disks images can be given with `-b` or `--block` if needed. 65 To run crosvm with a writable rootfs, just remove the `ro` flag from the command-line above. [all …]
|
| /external/openwrt-prebuilts/ |
| D | Android.bp | 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "external_openwrt-prebuilts_license" 6 // SPDX-license-identifier-Apache-2.0 7 // SPDX-license-identifier-BSD 8 // SPDX-license-identifier-GPL-2.0 10 default_applicable_licenses: ["external_openwrt-prebuilts_license"], 23 name: "external_openwrt-prebuilts_license", 26 "SPDX-license-identifier-Apache-2.0", 27 "SPDX-license-identifier-BSD", [all …]
|
| /external/crosvm/tools/impl/ |
| D | testvm.py | 2 # Use of this source code is governed by a BSD-style license that can be 22 Arch = Literal["x86_64", "aarch64"] 42 ["cargo", "metadata", "--no-deps", "--format-version=1"], 68 return f"base-{arch}-{BASE_IMG_VERSION}.qcow2" 80 return data_dir(arch).joinpath(f"rootfs-{arch}-{BASE_IMG_VERSION}.qcow2") 83 def ssh_port(arch: Arch) -> int: 92 qemu_img = cmd("qemu-img") 97 "x86_64": 9000, 103 "-display none", 104 "-device virtio-net-pci,netdev=net0", [all …]
|
| /external/linux-kselftest/tools/testing/selftests/bpf/ |
| D | vmtest.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 set -u 5 set -e 7 # This script currently only works for x86_64 and s390x, as 10 ARCH="$(uname -m)" 13 QEMU_BINARY=qemu-system-s390x 15 QEMU_FLAGS=(-smp 2) 18 x86_64) 19 QEMU_BINARY=qemu-system-x86_64 21 QEMU_FLAGS=(-cpu host -smp 8) [all …]
|
| /external/libbpf/.github/actions/vmtest/ |
| D | action.yml | 11 default: 'x86_64' 21 - name: Set /dev/kvm permissions 24 if [ -e /dev/kvm ]; then 26 if [ $(id -u) != 0 ]; then 28 | sudo tee /etc/udev/rules.d/99-kvm4all.rules > /dev/null 29 sudo udevadm control --reload-rules 30 sudo udevadm trigger --name-match=kvm 36 - name: Setup environment 37 uses: libbpf/ci/setup-build-env@main 42 - name: Get checkpoint commit [all …]
|
| /external/kmod/ |
| D | Makefile.am | 12 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} 13 AM_MAKEFLAGS = --no-print-directory 19 -include $(top_builddir)/config.h \ 20 -I$(top_srcdir) \ 21 -DSYSCONFDIR=\""$(sysconfdir)"\" \ 22 -DDISTCONFDIR=\""$(distconfdir)"\" \ 23 -DMODULE_DIRECTORY=\""$(module_directory)"\" \ 29 … versioning (from https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html) 66 libkmod/libkmod-internal.h \ 68 libkmod/libkmod-builtin.c \ [all …]
|
| /external/crosvm/e2e_tests/fixture/src/ |
| D | vm.rs | 2 // Use of this source code is governed by a BSD-style license that can be 37 #[cfg(target_arch = "x86_64")] 38 const ARCH: &str = "x86_64"; 55 fn prebuilt_version() -> &'static str { in prebuilt_version() 59 fn kernel_prebuilt_url_string() -> Url { in kernel_prebuilt_url_string() 61 "{}/guest-bzimage-{}-{}", in kernel_prebuilt_url_string() 69 fn rootfs_prebuilt_url_string() -> Url { in rootfs_prebuilt_url_string() 71 "{}/guest-rootfs-{}-{}", in rootfs_prebuilt_url_string() 79 pub(super) fn local_path_from_url(url: &Url) -> PathBuf { in local_path_from_url() 87 "e2e_prebuilt-{:x}-{:x}", in local_path_from_url() [all …]
|
| /external/mesa3d/.gitlab-ci/container/debian/ |
| D | x86_64_test-android.sh | 6 # .gitlab-ci/image-tags.yml tags: 9 set -e 11 . .gitlab-ci/setup-test-env.sh 13 set -o xtrace 19 build-essential:native 22 config-package-dev 23 debhelper-compat 24 dpkg-dev 25 ninja-build 33 apt-get install -y --no-remove --no-install-recommends \ [all …]
|
| /external/crosvm/e2e_tests/benches/ |
| D | postgres.rs | 2 // Use of this source code is governed by a BSD-style license that can be 11 fn psql() -> anyhow::Result<()> { in psql() 13 … .with_kernel("https://storage.googleapis.com/crosvm/integration_tests/guest-bzimage-x86_64-r0009") in psql() 14 …https://storage.googleapis.com/crosvm/integration_tests/benchmarks/custom-initramfs.cpio.gz-r0005") in psql() 16 …/storage.googleapis.com/crosvm/integration_tests/benchmarks/postgres-rootfs.img.zst-r0001").rootfs… in psql() 17 .with_stdout_hardware("serial").extra_args(vec!["--mem".to_owned(), "512".to_owned()]); in psql() 28 …stgresql/data POSTGRES_PASSWORD=mysecretpassword nohup /usr/local/bin/docker-entrypoint.sh postgre… in psql() 30 vm.exec_in_guest("pgbench -U postgres -i -s 10 postgres")?; in psql() 31 vm.exec_in_guest("pgbench -U postgres -c 1 -j 1 -t 1000 postgres 1>&2")?; in psql()
|
| D | gimp.rs | 2 // Use of this source code is governed by a BSD-style license that can be 11 fn gimp() -> anyhow::Result<()> { in gimp() 13 … .with_kernel("https://storage.googleapis.com/crosvm/integration_tests/guest-bzimage-x86_64-r0009") in gimp() 14 …https://storage.googleapis.com/crosvm/integration_tests/benchmarks/custom-initramfs.cpio.gz-r0005") in gimp() 16 …ps://storage.googleapis.com/crosvm/integration_tests/benchmarks/gimp-rootfs.img.zst-r0001").rootfs… in gimp() 17 .with_stdout_hardware("serial").extra_args(vec!["--mem".to_owned(), "1024".to_owned()]); in gimp() 30 …-i -b '(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE "/workdir/test1.png" "/workdir/test1.… in gimp() 34 …-i -b '(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE "/workdir/test2.png" "/workdir/test2.… in gimp()
|
| /external/erofs-utils/docs/ |
| D | PERFORMANCE.md | 3 Processor: x86_64, Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz * 2 VCores 9 Software: LZ4 1.9.3, erofs-utils 1.6, squashfs-tools 4.5.1 15 [Rootfs of Debian docker image](https://github.com/debuerreotype/docker-debian-artifacts/blob/dist-… 16 Note that that dataset can be replaced regularly, and the SHA1 of the snapshot "rootfs.tar.xz" used… 21 |-----------|------------|--------------|----------------------------------------------------------… 22 | 124669952 | erofs | uncompressed | -T0 [^1] … 23 | 124522496 | squashfs | uncompressed | -noD -noI -noX -noF -no-xattrs -all-time 0 -no-duplicates… 24 | 73601024 | squashfs | 4096 | -b 4096 -comp lz4 -Xhc -no-xattrs -all-time 0 … 25 | 73121792 | erofs | 4096 | -zlz4hc,12 [^3] -C4096 -Efragments -T0 … 26 | 67162112 | squashfs | 16384 | -b 16384 -comp lz4 -Xhc -no-xattrs -all-time 0 … [all …]
|
| /external/mesa3d/.gitlab-ci/test/ |
| D | gitlab-ci.yml | 7 - !reference [default, before_script] 9 - rm -rf install 10 - tar -xf artifacts/install.tar 11 - section_start ldd_section "Checking ldd on driver build" 12 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \; 13 - section_end ldd_section 18 - results/ 20 - !reference [.common-rules, rules] 21 - !reference [.never-post-merge-rules, rules] 23 .formatting-check: [all …]
|
| /external/crosvm/e2e_tests/tests/ |
| D | boot.rs | 2 // Use of this source code is governed by a BSD-style license that can be 11 fn boot_test_vm() -> anyhow::Result<()> { in boot_test_vm() 18 fn boot_custom_vm_kernel_initrd() -> anyhow::Result<()> { in boot_custom_vm_kernel_initrd() 20 …ps://storage.googleapis.com/crosvm/integration_tests/benchmarks/custom-guest-bzimage-x86_64-r0001") in boot_custom_vm_kernel_initrd() 21 …https://storage.googleapis.com/crosvm/integration_tests/benchmarks/custom-initramfs.cpio.gz-r0005") in boot_custom_vm_kernel_initrd() 22 // Use a non-sense file as rootfs to prove delegate correctly function in initrd in boot_custom_vm_kernel_initrd() 23 ….with_rootfs("https://storage.googleapis.com/crosvm/integration_tests/guest-bzimage-aarch64-r0007") in boot_custom_vm_kernel_initrd() 24 .with_stdout_hardware("serial").extra_args(vec!["--mem".to_owned(), "512".to_owned()]); in boot_custom_vm_kernel_initrd() 38 fn boot_test_vm_uring() -> anyhow::Result<()> { in boot_test_vm_uring() 40 Config::new().extra_args(vec!["--async-executor".to_string(), "uring".to_string()]), in boot_test_vm_uring() [all …]
|
| /external/toybox/www/ |
| D | faq.html | 2 <!--#include file="header.html" --> 25 <!-- get binaries --> 45 and <a href=http://landley.net/notes-2006.html#28-09-2006>started over from 47 <a href=http://lists.busybox.net/pipermail/busybox/2006-September/058617.html>protracted licensing … 50 <a href=http://landley.net/notes-2011.html#13-11-2011>relaunched</a> 52 <a href=http://landley.net/aboriginal/about.html#selfhost>self-hosting</a>. 56 after a lot of thinking <a href=http://landley.net/talks/ohio-2013.txt>about 57 licenses</a> and <a href=http://landley.net/notes-2011.html#21-03-2011>the 61 <a href=http://landley.net/talks/celf-2013.txt>strategy</a> 62 to make Android self-hosting using toybox. This helped [all …]
|