-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: ELBERT: Update fpga_util.sh to support all programmable fpga images - Latest fpga_util script - Also peutil script is added here to avoid merge conflict in makefile This includes: - SCM FPGA (JTAG) - SMB FPGA (JTAG) - SMB CPLD (JTAG) - FAN FPGA (JTAG) - PIM SPI Image (SPI) - TH4 QSPI Image (SPI) For SPI programming, we only program the first 1MB of 32 MB device. The images are only around ~350KB at the moment so this speeds things ups. The utility will zero fill the image to 1MB and program this. Note: This requires flashrom1.2 to detech and talk to the devices used on Elbert PIM/TH4_QSPI Testing: Successfully upgraded all programmables using: fpga_util.sh scm program <file> fpga_util.sh smb program <file> fpga_util.sh smb_cpld program <file> fpga_util.sh fan program <file> fpga_util.sh pim program <file> fpga_util.sh th4_qspi program <file> Pull Request resolved: facebookexternal/openbmc.arista#68 Reviewed By: mikechoifb fbshipit-source-id: fef7a0c304
- Loading branch information
1 parent
8a6f952
commit 2b6871f
Showing
4 changed files
with
328 additions
and
31 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
meta-facebook/meta-elbert/recipes-utils/openbmc-utils/files/elbert_pim.layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
00000000:000fffff primary | ||
00100000:01ffffff unused |
310 changes: 280 additions & 30 deletions
310
meta-facebook/meta-elbert/recipes-utils/openbmc-utils/files/fpga_util.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.