Skip to content

Commit 166075e

Browse files
tamasbannvlsianpu
authored andcommitted
ci: fih: update TF-M version to 1.7.0 and adjust test suite
Signed-off-by: Tamas Ban <tamas.ban@arm.com> Change-Id: I1a810bac6e0409ff06af80c8151b8d37a97effdc
1 parent ad1fb3d commit 166075e

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

ci/fih-tests_run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -x
22

3-
# Copyright (c) 2020-2021 Arm Limited
3+
# Copyright (c) 2020-2022 Arm Limited
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ set -e
1919
pushd .. &&\
2020
git clone https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git &&\
2121
pushd trusted-firmware-m &&\
22-
git checkout TF-Mv1.4.0 &&\
22+
git checkout TF-Mv1.7.0 &&\
2323
popd
2424

2525
if [[ $GITHUB_ACTIONS == true ]]; then

ci/fih_test_docker/execute_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -x
22

3-
# Copyright (c) 2020-2021 Arm Limited
3+
# Copyright (c) 2020-2022 Arm Limited
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -51,7 +51,7 @@ cmake -B $TFM_BUILD_DIR \
5151
cd $TFM_BUILD_DIR
5252
make -j install
5353

54-
BOOTLOADER_AXF='./install/outputs/ARM/MPS2/AN521/bl2.axf'
54+
BOOTLOADER_AXF='./install/outputs/bl2.axf'
5555

5656
$MCUBOOT_PATH/ci/fih_test_docker/run_fi_test.sh $BOOTLOADER_AXF $SKIP_SIZE $DAMAGE_TYPE> fih_test_output.yaml
5757

ci/fih_test_docker/fi_tester_gdb.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Copyright (c) 2020-2021 Arm Limited
3+
# Copyright (c) 2020-2022 Arm Limited
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -40,6 +40,10 @@ function skip_instruction {
4040

4141
cat >commands.gdb <<EOF
4242
target remote localhost: 1234
43+
file $IMAGE_DIR/bl2.axf
44+
b boot_go_for_image_id if image_id == 0
45+
continue
46+
delete breakpoints 1
4347
b *$SKIP_ADDRESS
4448
continue&
4549
eval "shell sleep 0.5"
@@ -138,7 +142,7 @@ usage() {
138142

139143
#defaults
140144
SKIP=2
141-
BIN_DIR=$(pwd)/install/outputs/ARM/MPS2/AN521
145+
BIN_DIR=$(pwd)/install/outputs
142146
AXF_FILE=$BIN_DIR/bl2.axf
143147
GDB=gdb-multiarch
144148
BOOTLOADER=true

0 commit comments

Comments
 (0)