From 1f8ca7e01d4ac7023aea0eeb4c8a4b98dcf05760 Mon Sep 17 00:00:00 2001 From: Konstantin Porotchkin Date: Mon, 24 Dec 2018 15:23:58 +0200 Subject: scripts: ci: espressobin: add support for emmc boot device Switching the boot device to eMMC on EspressoBIN platform requires changing 2 parameters when building th flash image: BOOTDEV - from the default SPINOR to EMMCNORM PARTNUM - from the default 0 to 1 This patch adds support for "boot from emmc" builds for Espressobin platform and implements the above changes in build commands. Change-Id: I34414656fdae92ff3cd36fbc851f94b73d59e38c Signed-off-by: Konstantin Porotchkin Reviewed-on: http://vgitil04.il.marvell.com:8080/62064 --- scripts/ci/compile.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci/compile.sh b/scripts/ci/compile.sh index f4129525..cdfcd5eb 100755 --- a/scripts/ci/compile.sh +++ b/scripts/ci/compile.sh @@ -112,6 +112,8 @@ case $build_name in *_a37xx_ddr4_v3_* ) build_flags="DDR_TYPE=DDR4 USE_COHERENT_MEM=0 LOG_LEVEL=20 DDR_TOPOLOGY=3"; ;; *_a37xx_espressobin_ddr3_1cs_* ) build_flags="DDR_TYPE=DDR3 USE_COHERENT_MEM=0 LOG_LEVEL=20 DDR_TOPOLOGY=0"; ;; *_a37xx_espressobin_ddr3_2cs_* ) build_flags="DDR_TYPE=DDR3 USE_COHERENT_MEM=0 LOG_LEVEL=20 DDR_TOPOLOGY=2"; ;; + *_a37xx_espressobin_ddr4_v7_1G_emmc_* ) build_flags="DDR_TYPE=DDR4 USE_COHERENT_MEM=0 BOOTDEV=EMMCNORM PARTNUM=1 LOG_LEVEL=20 DDR_TOPOLOGY=5"; ;; + *_a37xx_espressobin_ddr4_v7_2G_emmc_* ) build_flags="DDR_TYPE=DDR4 USE_COHERENT_MEM=0 BOOTDEV=EMMCNORM PARTNUM=1 LOG_LEVEL=20 DDR_TOPOLOGY=6"; ;; *_a37xx_espressobin_ddr4_v7_1G_* ) build_flags="DDR_TYPE=DDR4 USE_COHERENT_MEM=0 LOG_LEVEL=20 DDR_TOPOLOGY=5"; ;; *_a37xx_espressobin_ddr4_v7_2G_* ) build_flags="DDR_TYPE=DDR4 USE_COHERENT_MEM=0 LOG_LEVEL=20 DDR_TOPOLOGY=6"; ;; * ) echo "Error: Could not configure build_flags. Unsupported build ${build_name}"; exit -1; ;; -- cgit