Skip to content

Releases: facebook/openbmc

flashy-d5b7671

31 Jul 23:28
Compare
Choose a tag to compare
Flashy workaround for GTT S356523

Summary: S356523 - checks and remediations are failing for any gtt running v2023.25.2 and above

Test Plan:
```
$ go test .
ok      github.com/facebook/openbmc/tools/flashy/checks_and_remediations/common
```

Will look to build flashy ASAP and test against a previously failed host

Reviewed By: lsiudut

Differential Revision: D47928352

fbshipit-source-id: 2d654d4476d4ba15307a88d563c4d54b34b9ca7c

flashy-0334f04

13 Jun 00:28
Compare
Choose a tag to compare
Add flash procedure for inspirationpoint

Summary: As title

Test Plan: #doitlive

Reviewed By: wangx6f

Differential Revision: D46664901

fbshipit-source-id: 07450345e53f362efc5e89136666810b7af8632e

flashy-d84a405

06 Jun 02:27
Compare
Choose a tag to compare
fix unit tests in Sandcastle

Summary:
D46232899 fixed a unit test that was failing in CI.  Unfortunately this
breaks the same test in Sandcastle due to slightly a different error
message from bash.

Just remove the flaky test, because the very next test in the list does
pretty much the same thing for us anyway.

Test Plan:
```
0 ~/local/openbmc/tools/flashy $ ./build.sh && ./build_dev.sh && go test ./...
ok      github.com/facebook/openbmc/tools/flashy        (cached)
ok      github.com/facebook/openbmc/tools/flashy/checks_and_remediations/bletchley      (cached)
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/wedge100       (cached)
ok      github.com/facebook/openbmc/tools/flashy/checks_and_remediations/yamp   (cached)
?       github.com/facebook/openbmc/tools/flashy/flash_procedure        [no test files]
ok      github.com/facebook/openbmc/tools/flashy/install        (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/fileutils  (cached)
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   (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/flash/flashutils/devices   (cached)
?       github.com/facebook/openbmc/tools/flashy/lib/logger     [no test files]
ok      github.com/facebook/openbmc/tools/flashy/lib/step       (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/utils      (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/validate   (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/validate/image     (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/validate/partition (cached)
?       github.com/facebook/openbmc/tools/flashy/tests  [no test files]
?       github.com/facebook/openbmc/tools/flashy/utilities      [no test files]
0 ~/local/openbmc/tools/flashy $
```

Reviewed By: mchugh19

Differential Revision: D46450604

fbshipit-source-id: e52594be601d410f936096471fd9595580a92f56

flashy-642eda5

30 May 22:29
Compare
Choose a tag to compare
ci: fix flashy tests (#220)

Summary:
Pull Request resolved: https://github.com/facebook/openbmc/pull/220

This test was failing in CI because the expected output was not what was actually being logged. It was just a simple miss and not indicative of any other problem so this just adjusts the expected result.

Test Plan: CI

Reviewed By: binhuang00

Differential Revision: D46232899

fbshipit-source-id: a1b7bd8059441e5cd6fb593218e04cafd3b502dd

flashy-39635b6

08 Nov 14:25
Compare
Choose a tag to compare
Flashy memtest

Summary: Poor man's memtest. Sometimes BMC ram can be broken and this utility aims to alert on failing devices

Test Plan: unit tests, run manually on a confirmed bad device

Reviewed By: kawmarco

fbshipit-source-id: 7424937251ea769f299e477a1df376d545adc8f5

flashy-8c63a38

17 Oct 18:24
Compare
Choose a tag to compare
add support for sandia

Summary:
- the factory build uses a different platform name
- new flash procedure

Test Plan:
```
0 ~/local/openbmc/tools/flashy $ ./build.sh && ./build_dev.sh && go test ./...
ok      github.com/facebook/openbmc/tools/flashy        1.478s
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/wedge100       (cached)
ok      github.com/facebook/openbmc/tools/flashy/checks_and_remediations/yamp   (cached)
?       github.com/facebook/openbmc/tools/flashy/flash_procedure        [no test files]
ok      github.com/facebook/openbmc/tools/flashy/install        0.006s
ok      github.com/facebook/openbmc/tools/flashy/lib/fileutils  (cached)
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   (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/flash/flashutils/devices   (cached)
?       github.com/facebook/openbmc/tools/flashy/lib/logger     [no test files]
ok      github.com/facebook/openbmc/tools/flashy/lib/step       (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/utils      (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/validate   (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/validate/image     (cached)
ok      github.com/facebook/openbmc/tools/flashy/lib/validate/partition (cached)
?       github.com/facebook/openbmc/tools/flashy/tests  [no test files]
?       github.com/facebook/openbmc/tools/flashy/utilities      [no test files]
0 ~/local/openbmc/tools/flashy $ echo $?
0
```

Reviewed By: kawmarco

fbshipit-source-id: 6065d1537c512a88040d5f8fcc8d3b863b9fe9f9

qemux86-v2022.41.0

13 Oct 17:15
Compare
Choose a tag to compare
update process running test case for dhcpcd

Summary:
With D40090857 landed, ifupdown will start the dhcpcd with both IPv4 and IPv6.
Update the Process Running test case.

Test Plan:
Build test with QEMU
```
root@bmc-oob:~# python3 /tmp/tests2/cit_runner.py -s /tmp/tests2 --platform grandcanyon -r tests.grandcanyon.test_process_running
test_installed_processes (tests.grandcanyon.test_process_running.ProcessRunningTest) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.220s

OK
```

Reviewed By: doranand

fbshipit-source-id: 522dd3567ab45c75932f47c09d95fef5a09cfbb2

flashy-c093182

30 Sep 18:29
Compare
Choose a tag to compare
flashy: support fby35

Summary: Add flash procedure for Yosemite v3.5

Test Plan:
[garnermic@devvm7271.ftw0 ~/local/openbmc/tools/flashy] ./build.sh && ./build_dev.sh && go test
2022/09/30 08:59:50 Running command '/home/garnermic/local/openbmc/tools/flashy/scripts/calculate_test_coverage.sh' with 30s timeout
2022/09/30 08:59:54 stdout: 95.3
2022/09/30 08:59:54 Command '/home/garnermic/local/openbmc/tools/flashy/scripts/calculate_test_coverage.sh' exited with code 0 after 3.733883287s
PASS
ok      github.com/facebook/openbmc/tools/flashy    3.741s

Reviewed By: williamspatrick

fbshipit-source-id: c1fbe7852481933430b6724109f6b8c54127e9d8

flashy-0536abf

07 Sep 21:24
Compare
Choose a tag to compare
spec: add flash layout for Bletchley and Greatlakes

Summary:
We didn't specify the requirements on the flash layout
for Bletchley and Greatlakes.  Add it now.

Test Plan: Doc only.

Reviewed By: garnermic

fbshipit-source-id: 3b8254cf2ac475b7f5b07c965fda278787b4c94e

FB OpenBMC QEMU 0.6.3

23 Aug 20:01
Compare
Choose a tag to compare
psu-update: Add support to upgrade ORv3 Delta PSU

Summary:
This adds firmware upgrade script to support ORv3
Delta PSU.

Test Plan:
Check current firmware version
```
root@bmc-oob:~# rackmoncli data --dev-addr 224 --reg-addr 48
Device Address: 0xe0
Device Type: orv3_psu
CRC Errors: 0
timeouts: 0
Misc Errors: 0
Baudrate: 19200
Mode: active
  PSU FW Revision<0x0030> : "31322041"
```
Perform firmware upgrade:
```
root@bmc-oob:~# psu-update-delta-orv3.py --addr 224
./V3_DFLASH_REV_01_00_01_04.dflash
statusfile None
Send get seed
Got seed: 0e8dbde8
Send key
Send key successful.
Erasing flash...
Erase successful
Sending <128 byte segment @ 0x00000000>
[0.08%] Sending chunk 1 of 1211...
Sending <52224 byte segment @ 0x00000400>
[33.77%] Sending chunk 409 of 1211...
Sending <256 byte segment @ 0x0000d300>
[33.94%] Sending chunk 411 of 1211...
Sending <102144 byte segment @ 0x000c0000>
[99.83%] Sending chunk 1209 of 1211...
Sending <256 byte segment @ 0x000e6f00>
[100.00%] Sending chunk 1211 of 1211...
Verifying program...
Verify of flash successful!
Activating Image...
Activate successful!
```
Check firmware version is updated:
```
root@bmc-oob:~# rackmoncli data --dev-addr 224 --reg-addr 48
Device Address: 0xe0
Device Type: orv3_psu
CRC Errors: 0
timeouts: 0
Misc Errors: 0
Baudrate: 19200
Mode: active
  PSU FW Revision<0x0030> : "31252035"
```

Reviewed By: GoldenBug

fbshipit-source-id: 2defa23faffec89c4bceceb4f8ccb5dd32b5b92b