commit | 531fbc25ac603d76401361e16f29d6aa582d9284 | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Fri Dec 10 20:03:18 2021 +0800 |
committer | Lei YU <yulei.sh@bytedance.com> | Mon Mar 14 13:48:36 2022 +0800 |
tree | 46673fe5ede80d31e2dc8c4cee75297ebb25f03a | |
parent | e56bf8785f0831e2210371296b70b6085f36f56e [diff] |
dual-image: Detect the running image slot Add detect-slot-aspeed to detect which slot it is running on, and assign the member variable, which will be used in future commits. Tested: * In normal case, verify the primary slot is 0 and secondary slot is 1. * Manually assign value 1 in /run/media/slot, and verify the slot number is reversed. * Manually trigger wdt2 timeout and verify in secondary flash that the slot number is correct, that the running slot is 1 and the other slot is 0. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I69edb1961b4c4bb79e7897c38b9ce8dded42f829
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
.