diff options
| author | Tim Lee <timlee660101@gmail.com> | 2024-08-08 04:01:33 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2024-11-12 18:07:21 +0300 |
| commit | 4b5e28d5d0ae27079f6b21c3a4322d3e52d26628 (patch) | |
| tree | c62a7419f17494a04a6c23b134f64e488d3faebc /meta-openembedded/meta-python/recipes-devtools/python/python3-traitlets | |
| parent | 652cd4acd36f1ab8b68619eed374901ad1d7418a (diff) | |
| download | openbmc-4b5e28d5d0ae27079f6b21c3a4322d3e52d26628.tar.xz | |
meta-facebook: yosemite4: adjust init script for yosemite4n
Adjusting the initialization script for the yosemite4n platform
to support Boot A/B Recovery for the Nuvoton platform.
The key change involves using the INTCR2.WDC register to identify the
flash source, making the script compatible with both Aspeed and Nuvoton.
Tested:
When booting from the primary flash, the slot value is 0:
root@bmc:~# cat /run/media/slot
0
When the recovery mechanism is triggered,
booting from the alternate flash, the slot value is 1:
root@bmc:~# cat /run/media/slot
1
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Ibd3c53094d6577e73da545f257ae47db3df6cb69
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-traitlets')
0 files changed, 0 insertions, 0 deletions
