-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
edk-firmware-tegra: Support A/B redundancy
When USE_REDUNDANT_FLASH_LAYOUT is specified, add the .dtbo file to the build which enables RootfsA/B suport in UEFI based on discussion at [1]. This content of the variable is set based on the corresponding logic found in nvidia's flash.sh. The usage for this variable can be found at [2]. 1: #1182 (comment) 2: https://github.com/NVIDIA/edk2-nvidia/blob/71fc2f6de48f3e9f01214b4e9464dd03620b876b/Silicon/NVIDIA/Application/L4TLauncher/L4TRootfsValidation.c#L464-L466 Signed-off-by: Dan Walkes <[email protected]>
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 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
36 changes: 36 additions & 0 deletions
36
recipes-bsp/uefi/files/L4TConfiguration-RootfsRedundancyLevelABEnable.dtso
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,36 @@ | ||
/dts-v1/; | ||
|
||
/ { | ||
overlay-name = "L4T Configuration Settings"; | ||
|
||
fragment@0 { | ||
target-path = "/"; | ||
|
||
board_config { | ||
sw-modules = "uefi"; | ||
}; | ||
|
||
__overlay__ { | ||
|
||
firmware { | ||
|
||
uefi { | ||
|
||
variables { | ||
|
||
gNVIDIAPublicVariableGuid { | ||
|
||
RootfsRedundancyLevel { | ||
data = [01 00 00 00]; | ||
runtime; | ||
locked; | ||
}; | ||
|
||
}; | ||
|
||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; |