Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Linaro
firmware-dual-banked-updates
test
Commits
7a67b1e6
Unverified
Commit
7a67b1e6
authored
Jun 8, 2021
by
Ilias Apalodimas
Committed by
GitHub
Jun 8, 2021
Browse files
Options
Downloads
Plain Diff
Merge pull request #7 from jmarinho/master
multiple fixes
parents
daac8104
3faab860
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
source/chapter2-uefi.rst
+2
-2
2 additions, 2 deletions
source/chapter2-uefi.rst
source/chapter3-fwupdate.rst
+4
-8
4 additions, 8 deletions
source/chapter3-fwupdate.rst
source/uml/bl33_nwd_capsule_install.txt
+4
-1
4 additions, 1 deletion
source/uml/bl33_nwd_capsule_install.txt
with
10 additions
and
11 deletions
source/chapter2-uefi.rst
+
2
−
2
View file @
7a67b1e6
...
...
@@ -93,9 +93,9 @@ FW image acceptance
The OS must accept each image, that has an acceptance pending, by using a capsule composed of an EFI_CAPSULE_HEADER concatenated with the image UUID:
- CapsuleGuid 0c996046-bcc0-4d04-85ec-e1fcedf1c6f8
- HeaderSize = sizeof(EFI_CAPSULE_HEADER)
+ sizeof(EFI_GUID)
- HeaderSize = sizeof(EFI_CAPSULE_HEADER)
- Flags = 0
- CapsuleImageSize = sizeof(EFI_CAPSULE_HEADER)
- CapsuleImageSize = sizeof(EFI_CAPSULE_HEADER)
+ sizeof(EFI_GUID)
- image_uuid
...
...
This diff is collapsed.
Click to expand it.
source/chapter3-fwupdate.rst
+
4
−
8
View file @
7a67b1e6
...
...
@@ -39,7 +39,7 @@ EFI_FIRMWARE_IMAGE_DESCRIPTOR as defined in the following table:
=============================== =============================
FWU image directory entry field EFI_FIRMWARE_IMAGE_DESCRIPTOR
=============================== =============================
im
a
ge_uuid
ImageTypeId
img
_typ
e_uuid ImageTypeId
lowest_accepted_version LowestSupportedImageVersion
last_attempted_version LastAttemptedVersion
version Version
...
...
@@ -82,8 +82,6 @@ Capsule install Secure World
#. UEFI implementation traverses all the images in the capsule passing them to their corresponding FMPs
#. The FMP transfers the images to the FWU Implementation in the Secure World [FWU]_
#. OS requests a system reboot
#. Platform boots from the newly updated FW bank
#. OS requests a system reset
Capsule install non-Secure World
--------------------------------
...
...
@@ -98,8 +96,6 @@ Capsule install non-Secure World
#. UEFI implementation traverses all the images in the capsule passing them to their corresponding FMPs
#. The UEFI firmware performs the update
#. UEFI firmware requests a system reboot
#. Platform boots from the newly updated FW bank
#. OS requests a system reset
Post-capsule install reboot success
-----------------------------------
...
...
@@ -112,7 +108,7 @@ Post-capsule install reboot success
:width: 100%
:align: center
#. Platform
resets
#. Platform
boots with the new FW
#. From the TFA boot report [FWU]_, UEFI verifies that platform booted from the intended bank
#. UEFI accepts a sub-set of the FW images [FWU]_ (the sub-set is platform specific)
#. OS loader obtains the ESRT from UEFI
...
...
@@ -136,7 +132,7 @@ Post-capsule install reboot fails before UEFI
:width: 100%
:align: center
#. Platform
resets
#. Platform
boots with the new FW
#. The images fail to authenticate or the generic watchdog fires
#. Platform resets
#. Early platform bootloader detects FW maltfunction and selects another bank to boot from
...
...
@@ -158,7 +154,7 @@ Post-capsule install image fails OS test
:width: 100%
:align: center
#. Platform
resets
#. Platform
boots with the new FW
#. From the TFA boot report [FWU]_, UEFI verifies that platform booted from the intended bank
#. UEFI accepts all images [FWU]_
#. OS loader obtains the ESRT from UEFI
...
...
This diff is collapsed.
Click to expand it.
source/uml/bl33_nwd_capsule_install.txt
+
4
−
1
View file @
7a67b1e6
...
...
@@ -8,8 +8,11 @@ participant OS #7773cf
activate OS
OS -> OS : set ACCEPTANCE_REQUEST on intended capsules
OS -> UEFI: Schedule CapsuleUpdate() on reboot
OS -> TFA: PSCI_SYSTEM_RESET
OS -> UEFI ++: Call ResetSystem()
UEFI -> TFA: PSCI_SYSTEM_RESET
deactivate UEFI
TFA -> UEFI ++:
UEFI -> FWU: Perform FW update
UEFI -> TFA: PSCI_SYSTEM_RESET
@enduml
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment