summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2018-12-24 15:23:58 +0200
committerKostya Porotchkin <kostap@marvell.com>2018-12-24 16:50:13 +0200
commit1f8ca7e01d4ac7023aea0eeb4c8a4b98dcf05760 (patch)
tree078f1eddc9a0e0cb21e8d717622601c0d0d08c60
parent9484123bfe29011ed44b717a23eb53a70b97ce3d (diff)
scripts: ci: espressobin: add support for emmc boot deviceatf-v1.5-armada-18.12
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 <kostap@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/62064
-rwxr-xr-xscripts/ci/compile.sh2
1 files changed, 2 insertions, 0 deletions
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; ;;