summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager/bootmailbox.override.yml16
-rw-r--r--meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend2
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager/bootmailbox.override.yml b/meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager/bootmailbox.override.yml
new file mode 100644
index 000000000..e4e5745f4
--- /dev/null
+++ b/meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager/bootmailbox.override.yml
@@ -0,0 +1,16 @@
+---
+/xyz/openbmc_project/control/host0/boot/mailbox:
+ - Interface: xyz.openbmc_project.Control.Boot.Mailbox
+ Properties:
+ Supported:
+ Default: 'true'
+ IANAEnterpriseNumber:
+ # This is IBM's IANA Enterprise number expected by petitboot
+ Default: 2
+ Data:
+ # The mailbox must be no smaller that 5 blocks. That is 80 bytes.
+ # This array does NOT include the 3-byte IANA enterprise number.
+ # So the minimum is 77 bytes. 512 bytes look enough to accomodate
+ # all boot settings, yet not too big to waste space.
+ # 512 - 3 = 509
+ Default: 'std::vector<uint8_t>(509)'
diff --git a/meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend b/meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend
new file mode 100644
index 000000000..f1bc619d6
--- /dev/null
+++ b/meta-yadro/meta-nicole/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend_nicole := "${THISDIR}/${PN}:"
+SRC_URI_append_nicole = " file://bootmailbox.override.yml"