Commit f671f0b2 authored by Rohan Garg's avatar Rohan Garg Committed by Ezequiel Garcia

Initial import of Gitlab CI for i.MX8MQ-EVK

Signed-off-by: Ezequiel Garcia's avatarEzequiel Garcia <ezequiel@collabora.com>
parent f5cc89a8
Pipeline #7126 passed with stage
in 2 minutes and 32 seconds
variables:
APT_OPTIONS: -y --allow-unauthenticated
ARCH: arm64
CROSS_COMPILE: aarch64-linux-gnu-
stages:
- build
- pack
# Retry jobs after runner system failures
.retry: &retry
retry:
max: 2
when:
- runner_system_failure
build:
stage: build
image: debian:testing
before_script:
- echo "deb http://deb.debian.org/debian testing main contrib non-free" > /etc/apt/sources.list
- echo "deb-src http://deb.debian.org/debian testing main contrib non-free" >> /etc/apt/sources.list
- apt-get update && apt-get $APT_OPTIONS build-dep u-boot && apt-get $APT_OPTIONS install git u-boot-tools python-pyelftools gcc-aarch64-linux-gnu g++-aarch64-linux-gnu wget
script:
- git clone --depth 1 --single-branch --branch imx_4.19.35_1.0.0 https://source.codeaurora.org/external/imx/imx-atf
- pushd imx-atf && make PLAT=imx8mq bl31 && cp build/imx8mq/release/bl31.bin ../bl31.bin && popd
- wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.9.bin
- chmod +x firmware-imx-7.9.bin && ./firmware-imx-7.9.bin --auto-accept
- cp firmware-imx-7.9/firmware/hdmi/cadence/signed_hdmi_imx8m.bin . && cp firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin .
- make imx8mq_evk_defconfig
- make -j$(nproc) flash.bin
artifacts:
name: bootloader
paths:
- $CI_PROJECT_DIR/flash.bin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment