Skip to content

Commit 37525d4

Browse files
doranandfacebook-github-bot
authored andcommitted
note tahan, morgan800cc as a BMC-lite
Summary: Otherwise we will accidentally start the watchdog and reset while wiping the second chip: https://www.internalfb.com/intern/provisioning/asset_details/911771887375906 XXX This needs to be table driven off platforms.thrift. Test Plan: ``` 0 ~/local/openbmc/tools/flashy $ ./build.sh && ./build_dev.sh && go test ./... && echo it works ok github.com/facebook/openbmc/tools/flashy (cached) ok github.com/facebook/openbmc/tools/flashy/checks_and_remediations/bletchley 0.006s ? github.com/facebook/openbmc/tools/flashy/flash_procedure [no test files] ? github.com/facebook/openbmc/tools/flashy/lib/logger [no test files] ok github.com/facebook/openbmc/tools/flashy/checks_and_remediations/common (cached) ok github.com/facebook/openbmc/tools/flashy/checks_and_remediations/galaxy100 (cached) ok github.com/facebook/openbmc/tools/flashy/checks_and_remediations/grandteton (cached) ok github.com/facebook/openbmc/tools/flashy/checks_and_remediations/wedge100 (cached) ok github.com/facebook/openbmc/tools/flashy/checks_and_remediations/yamp (cached) ok github.com/facebook/openbmc/tools/flashy/install (cached) ? github.com/facebook/openbmc/tools/flashy/tests [no test files] ? github.com/facebook/openbmc/tools/flashy/utilities [no test files] ok github.com/facebook/openbmc/tools/flashy/lib/fileutils 0.010s ok github.com/facebook/openbmc/tools/flashy/lib/flash (cached) ok github.com/facebook/openbmc/tools/flashy/lib/flash/flashcp (cached) ok github.com/facebook/openbmc/tools/flashy/lib/flash/flashutils 0.006s ok github.com/facebook/openbmc/tools/flashy/lib/flash/flashutils/devices (cached) ok github.com/facebook/openbmc/tools/flashy/lib/step (cached) ok github.com/facebook/openbmc/tools/flashy/lib/utils 0.441s ok github.com/facebook/openbmc/tools/flashy/lib/validate 0.007s ok github.com/facebook/openbmc/tools/flashy/lib/validate/image (cached) ok github.com/facebook/openbmc/tools/flashy/lib/validate/partition 0.017s it works 0 ~/local/openbmc/tools/flashy $ ``` Reviewed By: gepoggio Differential Revision: D59759896 fbshipit-source-id: b5c742f8370dc5f79da403d41be3c096b534ca0e
1 parent ccf6e83 commit 37525d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/flashy/lib/utils/system.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ var IsLFOpenBMC = func() (bool) {
368368
// IsBMCLite check whether the system is running BMC-lite
369369
// For S368275. Make this beautiful later.
370370
var IsBMCLite = func() (bool) {
371-
magics := []string{"fbdarwin", "meru", "janga", "montblanc"}
371+
magics := []string{"fbdarwin", "meru", "janga", "montblanc", "tahan", "morgan800cc"}
372372

373373
issueBuf, err := fileutils.ReadFile(etcIssueFilePath)
374374
if err != nil {

0 commit comments

Comments
 (0)