Skip to content

Commit

Permalink
Update for v2.8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
pbatard committed Apr 18, 2023
1 parent 80a0703 commit 116552b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 39 deletions.
49 changes: 12 additions & 37 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2021, Pete Batard <[email protected]>
# Copyright (c) 2021-2023, Pete Batard <[email protected]>
# SPDX-License-Identifier: BSD-3-Clause

name: TF-A - Raspberry Pi build
Expand All @@ -13,9 +13,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set version
id: set_version
run: echo "::set-output name=version::${GITHUB_REF/refs\/tags\//}"
run: echo "version=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
- name: Set up Linux environment
run: sudo apt install gcc-aarch64-linux-gnu
- name: Download and extract TF-A release
Expand All @@ -29,50 +31,23 @@ jobs:
make PLAT=rpi3 RPI3_PRELOADED_DTB_BASE=0x10000 PRELOADED_BL33_BASE=0x30000 SUPPORT_VFP=1 RPI3_USE_UEFI_MAP=1 DEBUG=0 fip all
make PLAT=rpi4 RPI3_PRELOADED_DTB_BASE=0x1F0000 PRELOADED_BL33_BASE=0x20000 SUPPORT_VFP=1 SMC_PCI_SUPPORT=1 DEBUG=0 all
- name: Upload TF-A artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: TF-A ${{steps.set_version.outputs.version}} Artifacts
path: |
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
trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi4/release/bl31.bin
- name: Display SHA-256
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
- name: Create release
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
draft: false
prerelease: false
release_name: ${{steps.set_version.outputs.version}}
body: Raspberry Pi Arm Trusted Firmware ${{steps.set_version.outputs.version}}
tag_name: ${{steps.set_version.outputs.version}}
- name: Upload RPi3 bl1.bin
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
upload_url: ${{steps.create_release.outputs.upload_url}}
asset_path: trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi3/release/bl1.bin
asset_name: bl1.bin
asset_content_type: application/octet-stream
- name: Upload RPi3 fip.bin
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
upload_url: ${{steps.create_release.outputs.upload_url}}
asset_path: trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi3/release/fip.bin
asset_name: fip.bin
asset_content_type: application/octet-stream
- name: Upload RPi4 bl31.bin
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
upload_url: ${{steps.create_release.outputs.upload_url}}
asset_path: trusted-firmware-a-${{steps.set_version.outputs.version}}/build/rpi4/release/bl31.bin
asset_name: bl31.bin
asset_content_type: application/octet-stream
files: |
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
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Raspberry Pi - Arm Trusted Firmware binaries
============================================

[![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)
[![Build status](https://img.shields.io/github/actions/workflow/status/pftf/pitf/build.yml?style=flat-square)](https://github.com/pftf/pitf/actions)
[![Github stats](https://img.shields.io/github/downloads/pbatard/pitf/total.svg?style=flat-square)](https://github.com/pbatard/pitf/releases)
[![Release](https://img.shields.io/github/release-pre/pftf/pitf?style=flat-square)](https://github.com/pftf/pitf/releases)

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

# Current version

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

# Binary validation

Expand Down

0 comments on commit 116552b

Please sign in to comment.