commit | d8c9eea3bd603a578b0db833cfdaefa8ce83250d | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Thu Dec 16 16:08:30 2021 +0800 |
committer | Lei YU <yulei.sh@bytedance.com> | Mon Mar 14 13:48:50 2022 +0800 |
tree | c209f746a706afc4a32d55128731cc903bc1a911 | |
parent | ba022464b151e3ab63c7a15916b049e182483d29 [diff] |
dual-image: Implement BMC update when running on secondary Implement the BMC code update when it's running on the secondary image. It will update the alt flash by obmc-flash-bmc-alt@.service and wait for the completion. After the update is done, it needs reboot to take effect. Note if the BMC is running on the secondary, it requires a following commit to reset the CS to make the SoC to boot from the primary flash. This commit only flashes the alt image when it's running on the secondary image, there will be future commits to support other cases, e.g. flashing both images. Tested: Verify the code update process is successful and it flashes the whole primary chip when the BMC is running on the secondary chip. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Ifa849e55c28f17b46d7f999ff43a7ad7e73f2ea1
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
meson build
ninja -C build
To clean the repository run rm -r build
.