summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/flash
AgeCommit message (Collapse)AuthorFilesLines
2023-07-20phosphor-bmc-code-mgmt: srcrev bump dedcb9a6a4..b9ecb2bcdaAndrew Geissler1-1/+1
Patrick Williams (1): build: upgrade to C++23 Change-Id: I8d75f0a4c0c480c0e13878290581b6f721fe1e3e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-06-20meta-phosphor: image-signing: Make script POSIX compliantLei YU1-1/+1
The script was comparing string with `==` that works in bash but not in `dash`. Change it to `=` so that it is more POSIX compliant. Tested: Verify the build passes with SIGNING_PUBLIC_KEY defined with both `bash` and `dash`. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Id825cd111adeae5b1e50ea4f25603728cc122375
2023-06-06phosphor-bmc-code-mgmt: srcrev bump b36a3ebfa4..dedcb9a6a4Andrew Geissler1-1/+1
Adriana Kobylak (2): mmc: Run fsck on the alternate image and hostfw mmc: Don't remove hostfw if it's not being updated Change-Id: I51663cc1c4ccbad00d95dae6adda19269b86e07c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-30phosphor-bmc-code-mgmt: srcrev bump cce26eb063..b36a3ebfa4Andrew Geissler1-1/+1
Patrick Williams (1): fix GCC 13 issues Change-Id: I211b5f152a596b756524f9e4410b50dcce05c1af Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-25phosphor-software-manager: mmc: Add fsck.ext*Adriana Kobylak1-0/+1
Add the fsck.ext* binaries to the mmc images so that the software updater can run fsck on the alternate image on every boot to catch corruption in case the BMC rebooted in the middle of a code update for example. The dependency needs to be added in the RDEPENDS section instead of the PACKAGECONFIG because the packages created by this recipe are named ${PN}-* and adding a dependency via the PACKAGECONFIG adds the RDEPENDS to ${PN} which is not a valid package. Tested: Verified that the fsck.ext* binaries are available in /sbin/. Change-Id: Iee56d489c048a712b17f8befd9ea6c01b6625fbe Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2023-05-19phosphor-bmc-code-mgmt: srcrev bump d5e8e73b88..cce26eb063Andrew Geissler2-1/+16
Andrew Geissler (1): systemd: no installation in templated targets Includes change to add service installation. Change-Id: I57f508aef682640312e2aa54ab6ad6d242c01b71 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-12phosphor-bmc-code-mgmt: srcrev bump dde1828ec0..d5e8e73b88Andrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: I40e638f5b0794f01cf5f72671e57403d41dbac57 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-20phosphor-bmc-code-mgmt: srcrev bump e80b5bcb42..dde1828ec0Andrew Geissler1-1/+1
Konstantin Aladyshev (1): meson: Disable 'verify-signature' option by default Change-Id: If0a1be07f8c9849589785958c1128f093f11b38c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-16phosphor-bmc-code-mgmt: srcrev bump 42089e34cc..e80b5bcb42Andrew Geissler1-1/+1
Patrick Williams (1): meson: remove deprecated get_pkgconfig_variable Change-Id: I14c2cb506ac1a8985506672bb496527c59801fa0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-07phosphor-bmc-code-mgmt: srcrev bump cb4f0ca346..42089e34ccAndrew Geissler1-1/+1
Andrew Geissler (1): side-switch: adapt do chassis state instance change Change-Id: Ia130e3dde5b7b2cb43dd6d74212487aa111203dc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-03-24phosphor-bmc-code-mgmt: srcrev bump 3363f6553b..cb4f0ca346Andrew Geissler1-1/+1
Jian Zhang (1): Fix rsync unexpectly skip file Change-Id: Ifa5e8206ded85a5220a93e5ae2061203535c37d4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-03-20phosphor-image-signing: Add SIGNING_PUBLIC_KEYLei YU1-2/+21
Add SIGNING_PUBLIC_KEY so that it installs the public key to the BMC image. If it's defined, the user shall not define SIGNING_KEY. Tested: * Do not define SIGNING_KEY or SIGNING_PUBLIC_KEY, the build is the same as before; * Define SIGNING_PUBLIC_KEY and do not define SIGNING_KEY, the build installs the SIGNING_PUBLIC_KEY into the BMC image; * Define SIGNING_KEY and do not define SIGNING_PUBLIC_KEY, the build installs the public key from SIGNING_KEY; * Define both SIGNING_PUBLIC_KEY and SIGNING_KEY, the build fails with below error message: ``` Both SIGNING_KEY and SIGNING_PUBLIC_KEY are defined, expecting only one ``` Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I3f345cc90b82f8964c2b498e8d9616cb20cd65cd
2023-02-24phosphor-bmc-code-mgmt: srcrev bump 299081b10f..3363f6553bAndrew Geissler1-1/+1
Glukhov Mikhail (1): Added ExtendedVersion creation to gen-bios-tar Change-Id: Ic562fc5f913a6b477f2c7f168d5732a590e60be9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-02-22phosphor-bmc-code-mgmt: srcrev bump 44b9fef9bf..299081b10fAndrew Geissler1-1/+1
Brad Bishop (1): treewide: remove dependencies on mapper.target Change-Id: I0b3ceabd480847ac8ab4c14ceb1874eb79b3eefd Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-02-08phosphor-bmc-code-mgmt: srcrev bump 87c5b5bdfa..44b9fef9bfAndrew Geissler1-1/+1
George Liu (1): Fix the core dump by using filesystem error_code Change-Id: I32dfbc93725a9633b410b1de25c16ac006f5a3fe Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-01-09phosphor-bmc-code-mgmt: srcrev bump 780c930e24..87c5b5bdfaAndrew Geissler1-1/+1
Lakshmi Yadlapati (1): u-boot mirroring support moni kumar (1): Removed reset of the interface ActivationProgress Change-Id: Ia817b6af5e0b2ef3312e5b05c05ca0a38d4f39de Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
2022-12-13phosphor-bmc-code-mgmt: srcrev bump 0fe0e35603..780c930e24Andrew Geissler1-1/+1
Patrick Williams (1): beautysh: re-format Change-Id: Ic512df0641c397669f565721be0b0d37d4edc18e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-12-09phosphor-bmc-code-mgmt: srcrev bump a8ebf96225..0fe0e35603Andrew Geissler1-1/+1
Patrick Williams (1): prettier: re-format Change-Id: Iee26bf59f64d55aa0ae545609e7633c8ee097bfe Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-11-22phosphor-bmc-code-mgmt: srcrev bump deb86b4a16..a8ebf96225Andrew Geissler1-1/+1
Patrick Williams (1): meson: remove oe-sdk support Change-Id: I2c6d5fef0a1b540a26112fde005d27ba96b968dd Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-10-26phosphor-bmc-code-mgmt: srcrev bump 8d16554c89..deb86b4a16Andrew Geissler1-1/+1
Isaac Kurth (1): field mode: restore works on all systems Change-Id: Iad9c3a050cbf26992ba47b93fbb5ce3c842f8af1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-10-14meta-phosphor: remove unused phosphor-software-manager-error-native recipePatrick Williams1-20/+0
This content is also covered by phosphor-software-manager-yaml-provider and is not pulled into any systems. Remove the old recipe. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I525223142a1dc0f2cf2631ee9ef15b0be099fdba
2022-10-13meta-phosphor: remove unused skeleton recipesPatrick Williams8-120/+0
There are a few recipes using Python2 code and having no references inside the repository. Deleting them since there are no users and it is pretty unlikely that anyone outside is using them. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I89570580a469730f16870c54f850f8723cad55cf
2022-09-21phosphor-bmc-code-mgmt: srcrev bump 124e63beaf..8d16554c89Andrew Geissler1-1/+1
Andrew Geissler (1): ensure disable of reboot occurs after enable Change-Id: Id0cfa8b598143c7ea9cb59cb9381d57dec85973a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-09-20Run oe-stylize on our filesEd Tanous11-107/+98
In all of our recipes, we should be following yoctos lead on formatting, order, and other things, for consistency in our meta layers. This commit runs oe-stylize.py on all of our files. The types of changes being made can be seen in the commit, but amount to: 1. Setting an explicit key ordering 2. Sectioning the files appropriately 3. Applying rules checking to our files At some point in the near future, we would turn this on as part of repotest, but some minor changes need to be upstreamed to meta-oe (WIP) to make that happen. Looking for input on whether this is something we'd like to do, and whether the diffs below look reasonable to folks. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I489dd21d38a9fe4f3ece89cc7a5e1d0463224abf
2022-08-09phosphor-bmc-code-mgmt: srcrev bump 6c6d56c481..124e63beafAndrew Geissler1-1/+1
Glukhov Mikhail (1): Fix tar error when packing files Change-Id: I0de47ec9f029c497c0cdd248662b01b9d3fe5ff9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-08-08phosphor-bmc-code-mgmt: srcrev bump 16ff30e79e..6c6d56c481Andrew Geissler1-1/+1
Patrick Williams (1): MAINTAINERS: remove file Change-Id: Ie6bb4078f34057da33ea9bcd70946e8b3a8720fd Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-07-27phosphor-bmc-code-mgmt: srcrev bump 10ec975015..16ff30e79eAndrew Geissler1-1/+1
Andrew Geissler (1): side-switch: ensure both host and chassis off Patrick Williams (2): OWNERS: switch 'matches' to 'matchers' sdbusplus: use shorter type aliases Change-Id: I09bd98b2df3bc4c1034e4c8f0594942a3e5157a7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-06-29phosphor-bmc-code-mgmt: srcrev bump a1c032ea8f..10ec975015Andrew Geissler1-1/+1
zamiseck (1): Change location of MSL error Change-Id: If022a1f770fbb601a0c90b839517776c03f81432 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-06-15phosphor-bmc-code-mgmt: srcrev bump 0523e0b1b9..a1c032ea8fAndrew Geissler1-1/+1
Adriana Kobylak (1): version: Change error to info for missing MANIFEST fields Change-Id: I7953d0178ea0df0d772bed0d2eb84e83c533b8c7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-06-10phosphor-bmc-code-mgmt: srcrev bump 6173a079ea..0523e0b1b9Andrew Geissler1-1/+1
Konstantin Aladyshev (1): Correct link to the Software Architecture document Change-Id: I6cb66241145f1a0adb1e8ee4245ca3716d63fea8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-05-27phosphor-bmc-code-mgmt: srcrev bump 119e5a2c07..6173a079eaAndrew Geissler1-1/+1
Lei YU (2): obmc-flash-bmc: Ignore SC2295 image-verify: Skip full verify for non-BMC images Change-Id: I54e55bb2911f119b9cb36c45133f3f7c7ecd5c41 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-04-12side-switch: introduce side switch featureAndrew Geissler2-1/+7
See the following series for more information on this feature and testing status: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-bmc-code-mgmt/+/52379 phosphor-bmc-code-mgmt: srcrev bump 703de25c2a..119e5a2c07 Andrew Geissler (7): make getproperty a templated function side-switch: introduce new bmc update feature side-switch: check priority of running image side-switch: power off chassis in prep for update side-switch: set power restore policy to always-on side-switch: request bmc reboot to switch to new image side-switch: add service to run side-switch function Patrick Williams (1): sdbusplus: object: don't use 'bool' argument constructor zamiseck (1): Signature Validation : Change Error Thrown Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I5725789f2dc69551fd6dab88af37a858369069da
2022-04-05phosphor-bmc-code-mgmt: srcrev bump c026f6cdc3..703de25c2aAndrew Geissler1-1/+1
Adriana Kobylak (1): sync-once: Fix shellcheck warnings Isaac Kurth (3): gen-bios-tar: fix shellcheck warnings obmc-flash-bmc: fix shellcheck warnings Enable shellcheck Justin Ledford (1): Add support for Inventory.Decorator.Compatible Change-Id: I3d50029d3130ab75f8f0ffd6f9be7dfc7e3d677e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-03-29phosphor-bmc-code-mgmt: srcrev bump 554757b9a8..c026f6cdc3Andrew Geissler1-1/+1
Patrick Williams (1): meson: simplify dependencies Thang Tran (1): Create ActivationBlocksTransition before write HOST BIOS image Change-Id: I74aa4e6d3cdb02d4b915b5e61841b77d364df31a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-03-22phosphor-bmc-code-mgmt: Add Add static-dual-image config and srcrev bump ↵Andrew Geissler2-1/+8
88ba1f9ec7..554757b9a8 Add static-dual-image package config to enable/disable the feature for dual image support for static layout, and install the related services. Lei YU (13): item_updater: Fix crash in updateUbootEnvVars() dual-image: Mount alt dirs dual-image: Always create os-release symlink dual-image: Do not erase image if os-release is not found dual-image: Detect the running image slot dual-image: Set priority for primary and secondary flash dual-image: Add alt-rwfs-dir config dual-image: Sync files before sync-manager starts dual-image: Remove the functional check on delete dual-image: Implement BMC update when running on secondary dual-image: remount alt partitions during update dual-image: Add reset-cs0-aspeed to reset the CS dual-image: Fix the install of obmc-flash-bmc-alt@.service Change-Id: I71b1356eefe7662ef4a934b100ba1b82aa0cf5dd Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Lei YU <yulei.sh@bytedance.com>
2022-03-12phosphor-bmc-code-mgmt: srcrev bump 59b640b071..88ba1f9ec7Andrew Geissler1-1/+1
Adriana Kobylak (1): updater: Add activations after versions zamiseck (1): ItemUpdater::erase() : Fixed double delete Change-Id: I3b059e47e0973e05203d0644f3919093ac4bdeb9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-02-15phosphor-bmc-code-mgmt: srcrev bump 0cd6d84b0a..59b640b071Andrew Geissler1-1/+1
Adriana Kobylak (5): updater: Introduce the concept of flash id serialize: Use flash id instead of version id Use flash id to write image to flash Determine functional versions from mount directory Support uploading same image for multiple times Change-Id: I68cf390a6c4ef06247dde256ed27dad02f501d79 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-01-25treewide: fix up github SRC_URIsPatrick Williams1-1/+1
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
2022-01-08phosphor-bmc-code-mgmt: srcrev bump 5ebb46cd46..0cd6d84b0aAndrew Geissler1-1/+1
Lei YU (2): meson: Fix deprecated meson warnings cleanup: Fix warnings found by cppcheck Change-Id: Iddb5f386599e9e3984ebee433efc5e810e9332b8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-01-06phosphor-bmc-code-mgmt: srcrev bump 6d775e6448..5ebb46cd46Andrew Geissler1-1/+1
George Liu (1): Add GeorgeLiu as the Reviewer Change-Id: I4210dc26b03208b99f9a2a2e9a3a4de7b89e4622 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-12-17phosphor-bmc-code-mgmt: Add USB code update optionAndrew Geissler2-1/+8
George Liu (5): usb: Initialize USB Code Update usb: Copy image file to /tmp/images via USB usb: Add utility for D-Bus usb: Update the RequestedActivation property usb: Add service and rules files Change-Id: Ic1d290120c7050b419ce146fbdc14febef7814e8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-12-10phosphor-bmc-code-mgmt: srcrev bump d75c869d07..0890ab9453Andrew Geissler1-1/+1
Patrick Williams (2): openssl: stop using deprecated SHA512_* functions openssl: test: stop using deprecated SHA512_* functions Change-Id: I311c37183df9ef9335d6d3adf69ffe008dcbfdf1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-12-09phosphor-bmc-code-mgmt: srcrev bump 58e18979f5..d75c869d07Andrew Geissler1-1/+1
Patrick Williams (1): openssl: stop using deprecated read_RSAPublicKey Change-Id: Ie541df96d855c2f0fcd88ddca252c6f69c9b43db Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-08phosphor-bmc-code-mgmt: srcrev bump ae06d76a23..58e18979f5Andrew Geissler1-1/+1
Patrick Williams (1): catch exceptions as const Change-Id: I3c88d92bf55872f1fbd246aa274af5976a9f1213 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-05phosphor-bmc-code-mgmt: srcrev bump 3ea1e870cb..ae06d76a23Andrew Geissler1-1/+1
Zami Seck (1): item_updater : erase() : remove uploaded images Change-Id: I398c8536c4a028966ac3b2d3b4cdb8292d8b4287 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-21phosphor-bmc-code-mgmt: srcrev bump f2cc64c666..3ea1e870cbAndrew Geissler1-1/+1
selvaganapathim (1): Image_manager:Remove temporary untar image dir Change-Id: Iba82adfb4b09a251e1b4a5cad01ce98cef79caa1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-15phosphor-bmc-code-mgmt: srcrev bump 4ce901c5fb..f2cc64c666Andrew Geissler1-1/+1
Lei YU (1): meson_options: Enable all features by default Change-Id: Ia287c5818adaab33c4f09487b8cdd3cb8f190742 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-08phosphor-bmc-code-mgmt: srcrev bump 75162e4675..4ce901c5fbAndrew Geissler1-1/+1
Patrick Williams (1): exception: switch to public sdbus exception Change-Id: Iad43cc0515dacf9b0820833a88b64167e379f32f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-04phosphor-bmc-code-mgmt: srcrev bump 2af0fdfb8e..75162e4675Andrew Geissler1-1/+1
Adriana Kobylak (1): Update MAINTAINERS, add OWNERS Change-Id: Ibc0fd1b7afc0280ffdca79c8fa1f7fd92f7275de Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-01phosphor-bmc-code-mgmt: srcrev bump 7eebeaac36..2af0fdfb8eAndrew Geissler1-1/+1
Adriana Kobylak (1): ubi: Fix log typo George Liu (1): utest: Fix test case SignatureTest.TestSignatureVerify() Lei YU (2): bios: Delete uploaded DBus object after update Fix build issue related to boost asio Patrick Williams (4): build: support building with subprojects clang-format: sync latest from docs msl_verify: dos2unix logging: switch to lg2 Change-Id: Ia87d5c12832b9f32af692a67561b7a497f28912e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>