Lines Matching +full:auto +full:- +full:boot

2 # SPDX-License-Identifier: MIT
4 set -ex
7 rm -rf .git/rebase-apply
9 . .gitlab-ci/container/container_pre_build.sh
11 # libssl-dev was uninstalled because it was considered an ephemeral package
12 apt-get update
13 apt-get install -y libssl-dev
16 apt-get install -y python3-lxml
19 GCC_ARCH="aarch64-linux-gnu"
21 DEVICE_TREES="arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dtb"
22 DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dtb"
23 DEVICE_TREES+=" arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dtb"
24 DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dtb"
25 DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtb"
26 DEVICE_TREES+=" arch/arm64/boot/dts/qcom/apq8096-db820c.dtb"
27 DEVICE_TREES+=" arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dtb"
28 DEVICE_TREES+=" arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtb"
29 DEVICE_TREES+=" arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dtb"
30 DEVICE_TREES+=" arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dtb"
31 DEVICE_TREES+=" arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r5.dtb"
32 DEVICE_TREES+=" arch/arm64/boot/dts/qcom/sc7180-trogdor-kingoftown.dtb"
34 GCC_ARCH="arm-linux-gnueabihf"
36 DEVICE_TREES="arch/arm/boot/dts/rockchip/rk3288-veyron-jaq.dtb"
37 DEVICE_TREES+=" arch/arm/boot/dts/allwinner/sun8i-h3-libretech-all-h3-cc.dtb"
38 DEVICE_TREES+=" arch/arm/boot/dts/nxp/imx/imx6q-cubox-i.dtb"
39 apt-get install -y libssl-dev:armhf
41 GCC_ARCH="x86_64-linux-gnu"
47 export CROSS_COMPILE="${GCC_ARCH}-"
52 mkdir -p ld-links
53 for i in /usr/bin/*-ld /usr/bin/ld; do
55 ln -sf /usr/bin/$i.bfd ld-links/$i
58 NEWPATH=$(pwd)/ld-links
61 git config --global user.email "fdo@example.com"
62 git config --global user.name "freedesktop.org CI"
63 git config --global pull.rebase true
66 rm -rf .git/rebase-merge
69 if [ "$(git ls-remote --exit-code --heads ${UPSTREAM_REPO} ${TARGET_BRANCH}-external-fixes)" ]; then
70 git pull ${UPSTREAM_REPO} ${TARGET_BRANCH}-external-fixes
75 if [ -z "$CI_MERGE_REQUEST_PROJECT_PATH" ]; then
76 if [ "$(git ls-remote --exit-code --heads origin ${TARGET_BRANCH}-external-fixes)" ]; then
77 git pull origin ${TARGET_BRANCH}-external-fixes
80 …if [ "$(git ls-remote --exit-code --heads ${CI_MERGE_REQUEST_PROJECT_URL} ${CI_MERGE_REQUEST_TARGE…
81 … git pull ${CI_MERGE_REQUEST_PROJECT_URL} ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}-external-fixes
85 if [[ -n "${MERGE_FRAGMENT}" ]]; then
92 ./scripts/config --enable CONFIG_$opt
95 ./scripts/config --disable CONFIG_$opt
100 mkdir -p /lava-files/
102 cp arch/${KERNEL_ARCH}/boot/${image} /lava-files/.
105 if [[ -n ${DEVICE_TREES} ]]; then
107 cp ${DEVICE_TREES} /lava-files/.
111 mkdir -p install/modules/
117 -f auto \
118 -A arm \
119 -O linux \
120 -d arch/arm64/boot/Image.lzma \
121 -C lzma\
122 -b arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb \
123 /lava-files/cheza-kernel
124 KERNEL_IMAGE_NAME+=" cheza-kernel"
127 gzip -k /lava-files/Image
132 mkdir -p install
133 cp -rfv .gitlab-ci/* install/.
134 cp -rfv ci/* install/.
135 cp -rfv install/common install/ci-common
136 cp -rfv drivers/gpu/drm/ci/* install/.
138 . .gitlab-ci/container/container_post_build.sh
141 xz -7 -c -T${FDO_CI_CONCURRENT:-4} vmlinux > /lava-files/vmlinux.xz
144 if [[ -n $DEVICE_TREES ]]; then
145 FILES_TO_UPLOAD="$FILES_TO_UPLOAD $(basename -a $DEVICE_TREES)"
148 ls -l "${S3_JWT_FILE}"
150 ci-fairy s3cp --token-file "${S3_JWT_FILE}" /lava-files/$f \
154 S3_ARTIFACT_NAME="kernel-files.tar.zst"
155 tar --zstd -cf $S3_ARTIFACT_NAME install
156 …ci-fairy s3cp --token-file "${S3_JWT_FILE}" ${S3_ARTIFACT_NAME} https://${PIPELINE_ARTIFACTS_BASE}…
161 mkdir -p artifacts/install/lib
163 ln -s common artifacts/install/ci-common
167 cp /lava-files/$image artifacts/install/.
170 tar -C artifacts -cf artifacts/install.tar install
171 rm -rf artifacts/install