Commit a55fea02 authored by Ezequiel Garcia's avatar Ezequiel Garcia

Add variable for imx firmware

Signed-off-by: Ezequiel Garcia's avatarEzequiel Garcia <ezequiel@collabora.com>
parent 125fe805
......@@ -19,12 +19,14 @@ imx8mq-evk:
- 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
variables:
IMX_FIRMWARE_NAME: 'firmware-imx-7.9'
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 .
- wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/${IMX_FIRMWARE_NAME}.bin
- chmod +x ${IMX_FIRMWARE_NAME}.bin && ./${IMX_FIRMWARE_NAME}.bin --auto-accept
- cp ${IMX_FIRMWARE_NAME}/firmware/hdmi/cadence/signed_hdmi_imx8m.bin . && cp ${IMX_FIRMWARE_NAME}/firmware/ddr/synopsys/lpddr4*.bin .
- make imx8mq_evk_defconfig
- make -j$(nproc) flash.bin
- md5sum --tag flash.bin > flash.bin.hash
......
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