diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2018-02-14 09:35:39 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2018-02-14 09:35:39 +0000 |
commit | 28caee1a8d68271a39d8f80ce0b5662a3e831c3a (patch) | |
tree | 8d47d8ec95598f310cd7592e350d13e6c2070253 | |
parent | e462912b73e2e389c348eb9446f07e1b5e0bc903 (diff) |
build-linux.sh: Support boot on Juno for arm64.
Change-Id: Iab2e87d6fb04602f634f3b3c3c6fc62b20251811
-rwxr-xr-x | build-linux.sh | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/build-linux.sh b/build-linux.sh index 71322aa..622dc81 100755 --- a/build-linux.sh +++ b/build-linux.sh @@ -101,7 +101,8 @@ fi lava_boot() { - config=$1 + arch=$1 + config=$2 job= # Use an external file to pass lava_job_id, to avoid having to @@ -109,12 +110,17 @@ lava_boot() # yaml-to-json.py, lava-tool, ... echo > lava_job_id - case ${config} in - multi_v7_defconfig) + case ${arch}:${config} in + arm:multi_v7_defconfig) DEVICE_TYPE=beaglebone-black DTB=arch/arm/boot/dts/am335x-boneblack.dtb KERNEL=arch/arm/boot/zImage ;; + arm64:defconfig) + DEVICE_TYPE=juno + DTB=arch/arm64/boot/dts/arm/juno.dtb + KERNEL=arch/arm64/boot/Image + ;; *) echo "$0: Unsupported config: ${config}" echo 0 > lava_job_id @@ -160,7 +166,7 @@ do # Handle boot test via lava, if requested. Put the job in the lava # queue, we collect the results later if $boot ; then - lava_boot $config + lava_boot ${arch} ${config} job=$(cat lava_job_id) case ${job} in "") |