Skip to content

Commit 2517b18

Browse files
cjcon90facebook-github-bot
authored andcommitted
Add flash_procedure for meru
Summary: As title, oobgrader is failing with: ``` 2023-12-04 07:48:34.696630 - Running flash procedure step: /run/flashy/flash_procedure/flash_meru --imagepath /run/upgrade/image --device mtd:flash0 2023-12-04 07:48:36.017120 - flash_procedure exited with non-zero exit code {rs.exit_status}. Run command result: {rs} 2023-12-04 07:48:36.017241 - Command '/run/flashy/flash_procedure/flash_meru --imagepath /run/upgrade/image --device mtd:flash0' exited with non-zero exit code: CommandResult(exit_status=127, stderr='bash: line 1: /run/flashy/flash_procedure/flash_meru: No such file or directoryn', stdout='', exit_signal=None) ``` Test Plan: test_placeholder Reviewed By: doranand Differential Revision: D51812322 fbshipit-source-id: cdb249c721aed89206956b3d7d0e0e007d72998b
1 parent b3e473f commit 2517b18

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
/**
3+
* Copyright 2020-present Facebook. All Rights Reserved.
4+
*
5+
* This program file is free software; you can redistribute it and/or modify it
6+
* under the terms of the GNU General Public License as published by the
7+
* Free Software Foundation; version 2 of the License.
8+
*
9+
* This program is distributed in the hope that it will be useful, but WITHOUT
10+
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11+
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12+
* for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program in a file named COPYING; if not, write to the
16+
* Free Software Foundation, Inc.,
17+
* 51 Franklin Street, Fifth Floor,
18+
* Boston, MA 02110-1301 USA
19+
*/
20+
21+
package flash_procedure
22+
23+
import (
24+
"github.com/facebook/openbmc/tools/flashy/lib/flash"
25+
"github.com/facebook/openbmc/tools/flashy/lib/step"
26+
)
27+
28+
func init() {
29+
step.RegisterStep(flash.FlashCp)
30+
}

0 commit comments

Comments
 (0)