Skip to content

Commit 116552b

Browse files
committed
Update for v2.8 release
1 parent 80a0703 commit 116552b

File tree

2 files changed

+14
-39
lines changed

2 files changed

+14
-39
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2021, Pete Batard <pete@akeo.ie>
1+
# Copyright (c) 2021-2023, Pete Batard <pete@akeo.ie>
22
# SPDX-License-Identifier: BSD-3-Clause
33

44
name: TF-A - Raspberry Pi build
@@ -13,9 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16+
- name: Check out repository
17+
uses: actions/checkout@v3
1618
- name: Set version
1719
id: set_version
18-
run: echo "::set-output name=version::${GITHUB_REF/refs\/tags\//}"
20+
run: echo "version=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
1921
- name: Set up Linux environment
2022
run: sudo apt install gcc-aarch64-linux-gnu
2123
- name: Download and extract TF-A release
@@ -29,50 +31,23 @@ jobs:
2931
make PLAT=rpi3 RPI3_PRELOADED_DTB_BASE=0x10000 PRELOADED_BL33_BASE=0x30000 SUPPORT_VFP=1 RPI3_USE_UEFI_MAP=1 DEBUG=0 fip all
3032
make PLAT=rpi4 RPI3_PRELOADED_DTB_BASE=0x1F0000 PRELOADED_BL33_BASE=0x20000 SUPPORT_VFP=1 SMC_PCI_SUPPORT=1 DEBUG=0 all
3133
- name: Upload TF-A artifacts
32-
uses: actions/upload-artifact@v2
34+
uses: actions/upload-artifact@v3
3335
with:
3436
name: TF-A ${{steps.set_version.outputs.version}} Artifacts
3537
path: |
3638
trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi3/release/bl1.bin
3739
trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi3/release/fip.bin
38-
trusted-firmware-a-${{steps.set_version.outputs.version}}build/rpi4/release/bl31.bin
40+
trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi4/release/bl31.bin
3941
- name: Display SHA-256
4042
run: sha256sum trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi3/release/bl1.bin trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi3/release/fip.bin trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi4/release/bl31.bin
4143
- name: Create release
42-
id: create_release
43-
uses: actions/create-release@v1
44+
uses: softprops/action-gh-release@v1
45+
if: startsWith(github.ref, 'refs/tags/')
4446
env:
4547
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4648
with:
47-
draft: false
48-
prerelease: false
49-
release_name: ${{steps.set_version.outputs.version}}
5049
body: Raspberry Pi Arm Trusted Firmware ${{steps.set_version.outputs.version}}
51-
tag_name: ${{steps.set_version.outputs.version}}
52-
- name: Upload RPi3 bl1.bin
53-
uses: actions/upload-release-asset@v1
54-
env:
55-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
56-
with:
57-
upload_url: ${{steps.create_release.outputs.upload_url}}
58-
asset_path: trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi3/release/bl1.bin
59-
asset_name: bl1.bin
60-
asset_content_type: application/octet-stream
61-
- name: Upload RPi3 fip.bin
62-
uses: actions/upload-release-asset@v1
63-
env:
64-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
65-
with:
66-
upload_url: ${{steps.create_release.outputs.upload_url}}
67-
asset_path: trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi3/release/fip.bin
68-
asset_name: fip.bin
69-
asset_content_type: application/octet-stream
70-
- name: Upload RPi4 bl31.bin
71-
uses: actions/upload-release-asset@v1
72-
env:
73-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
74-
with:
75-
upload_url: ${{steps.create_release.outputs.upload_url}}
76-
asset_path: trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi4/release/bl31.bin
77-
asset_name: bl31.bin
78-
asset_content_type: application/octet-stream
50+
files: |
51+
trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi3/release/bl1.bin
52+
trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi3/release/fip.bin
53+
trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi4/release/bl31.bin

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Raspberry Pi - Arm Trusted Firmware binaries
22
============================================
33

4-
[![Build status](https://img.shields.io/github/workflow/status/pftf/pitf/TF-A%20-%20Raspberry%20Pi%20build.svg?style=flat-square)](https://github.com/pftf/pitf/actions)
4+
[![Build status](https://img.shields.io/github/actions/workflow/status/pftf/pitf/build.yml?style=flat-square)](https://github.com/pftf/pitf/actions)
55
[![Github stats](https://img.shields.io/github/downloads/pbatard/pitf/total.svg?style=flat-square)](https://github.com/pbatard/pitf/releases)
66
[![Release](https://img.shields.io/github/release-pre/pftf/pitf?style=flat-square)](https://github.com/pftf/pitf/releases)
77

@@ -17,7 +17,7 @@ altered from the ones one would build locally using the official TF-A source.
1717

1818
# Current version
1919

20-
The version of TF-A being built is 2.6, which was released on 2021.11.23.
20+
The version of TF-A being built is 2.8, which was released on 2022-11-21.
2121

2222
# Binary validation
2323

0 commit comments

Comments
 (0)