diff options
author | Tim Lee <timlee660101@gmail.com> | 2024-11-20 11:44:43 +0300 |
---|---|---|
committer | Tim Lee <chli30@nuvoton.com> | 2024-11-26 03:43:41 +0300 |
commit | d234790559b8a86d3206122adc3f2121d8a69549 (patch) | |
tree | e6c01cb953438361297e3cae09ecd01f15fb84f8 /poky/scripts/lib/scriptutils.py | |
parent | 00b83b8002c3e77b349a10478b8fa45691b2593e (diff) | |
download | openbmc-d234790559b8a86d3206122adc3f2121d8a69549.tar.xz |
meta-facebook: yosemite4n: u-boot-nuvoton: enable Boot Flash A/B Recovery
Use `CONFIG_BOOTCOMMAND` to select which flash is booting with
`fixed-partitions` layout according devicetree.
Related commit:
https://gerrit.openbmc.org/c/openbmc/openbmc/+/73544
Tested:
root@bmc:~# cat /proc/mtd
dev: size erasesize name
mtd0: 08000000 00010000 "bmc"
mtd1: 002c0000 00010000 "u-boot"
mtd2: 00040000 00010000 "u-boot-env"
mtd3: 00600000 00010000 "kernel"
mtd4: 05600000 00010000 "rofs"
mtd5: 02000000 00010000 "rwfs"
mtd6: 08000000 00010000 "bmc2"
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Id754171f97717445fe6bf11e8c176e339221e1f6
Diffstat (limited to 'poky/scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions