-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supported ATF/UEFI capsule update, BMC/CEC firmware upgrade and NIC firmware golden image upgrade. Signed-off-by: Vladimir Sokolovsky <vlad@nvidia.com>
- Loading branch information
1 parent
2b421fb
commit d26fa80
Showing
7 changed files
with
984 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
update_atf_uefi() | ||
{ | ||
if function_exists pre_update_atf_uefi; then | ||
log "INFO: Running pre_update_atf_uefi from bf.cfg" | ||
pre_update_atf_uefi | ||
fi | ||
|
||
if [ ! -d /sys/firmware/efi/efivars ]; then | ||
mount -t efivarfs none /sys/firmware/efi/efivars | ||
fi | ||
|
||
ilog "Updating ATF/UEFI:" | ||
ilog "$(bfrec --capsule $1 2>&1)" | ||
|
||
if function_exists post_update_atf_uefi; then | ||
log "INFO: Running post_update_atf_uefi from bf.cfg" | ||
post_update_atf_uefi | ||
fi | ||
} |
Oops, something went wrong.