You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
ELBERT: Enable Alternate boot
- Enable WDT2 by default in U-boot
- Make elbert U-boot more consistent with other AST2620 platforms
- Add disable_watchdog.sh to disable WDT2 after kernel boot
- Add boot_info.sh to view and set the boot source
Testing:
root@bmc-oob:~# boot_info.sh
Usage:
boot_info.sh <bmc> reset <primary|secondary>
Examples:
boot_info.sh bmc
boot_info.sh bmc reset secondary
root@bmc-oob:~# boot_info.sh bmc
WDT1 Timeout Count: 0
WDT2 Timeout Count: 0
Current Boot Code Source: Primary Flash
root@bmc-oob:~# cat /etc/version
20201105194531
root@bmc-oob:~# boot_info.sh bmc reset primary
Current boot source is primary, no need to switch.
root@bmc-oob:/mnt/data1# boot_info.sh bmc reset secondary
BMC will switch to secondary after 2 seconds ...
# boot
root@bmc-oob:~# boot_info.sh bmc
WDT2 Timeout Count: 3
Current Boot Code Source: Secondary Flash
root@bmc-oob:~# boot_info.sh bmc reset secondary
Current boot source is secondary, no need to switch.
root@bmc-oob:~# boot_info.sh bmc reset primary
BMC will switch to primary after 2 seconds ...
soft reboot kept BMC booting from slave
wedge_power.sh reset returned BMC to master
NOTE: The secondary spi flash must have a version containing this uboot otherwise the automatic switchover will go back to primary. I recommend upgrading all units to have at lease this change in secondary flash.
Pull Request resolved: facebookexternal/openbmc.arista#108
Reviewed By: zhdaniel12
fbshipit-source-id: 986b5eb256
No description provided.
The text was updated successfully, but these errors were encountered: