Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project missing license #108

Open
kshithijiyer opened this issue Dec 27, 2019 · 0 comments
Open

Project missing license #108

kshithijiyer opened this issue Dec 27, 2019 · 0 comments

Comments

@kshithijiyer
Copy link
Contributor

No description provided.

facebook-github-bot pushed a commit that referenced this issue Nov 17, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant