summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Build: Cleanup additional static analysis issues. (#230)Evan Lojewski2021-06-192-6/+0
|
* build: Update files with codacy recommendations. (#228)Evan Lojewski2021-06-191-1/+1
|
* build: Fix a number of compiler issues when building utils with gcc. (#208)Evan Lojewski2021-02-068-21/+27
|
* bcmregtool: Print out APE.Status2 when dumping APE registers. (#199)Evan Lojewski2021-02-051-0/+1
|
* bcmflash: Print additional information about the firmware configuration. (#182)Evan Lojewski2020-11-272-13/+59
|
* ape: Fix NVIC access. (#176)Evan Lojewski2020-11-241-0/+10
| | | | | - Regenerate headers with correct address - Enable NVIC access using the HAL - Enable dumping NVIC registers using bcmregtool.
* Revert "build: Enable builds under LLVM 11. (#172)" (#174)Evan Lojewski2020-11-191-1/+2
| | | This reverts commit 5520cf3dff14b3805fafafbfc05853a03aeafcfc.
* build: Enable builds under LLVM 11. (#172)Evan Lojewski2020-11-181-2/+1
|
* bcmflash: Fix a regression that disabled the eth target. (#167)Evan Lojewski2020-11-081-1/+1
|
* build: Enable builds under FreeBSD (#164)Evan Lojewski2020-11-078-197/+184
| | | | | This fixes build related issues when attempting to compile firmware and tools under FreeBSD. Note: Host tools have not been ported for raw register access. Note: The Linux specific ethtool APIs are not available under FreeBSD, and so -t eth is not supported under FreeBSD.
* build: Cleanup various include files. (#163)Evan Lojewski2020-11-073-41/+3
|
* bcmflash: Fix default vendor and device ids. (#161)Evan Lojewski2020-11-063-24/+24
|
* bcmflash: Default to valid MAC addresses (not multicast addresses). (#162)Evan Lojewski2020-11-053-12/+12
|
* bcmflash: Default to valid (dummy) mac addresses when creating firmware ↵Evan Lojewski2020-11-033-12/+12
| | | | images. (#160)
* bcmflash: Print SMBus information. (#159)Evan Lojewski2020-11-011-0/+4
|
* bcmflash: Create fully valid firmware images for supported targets. (#158)Evan Lojewski2020-11-017-16/+685
| | | | - Use captured Info and Info2 sections for real firmware images. - Include valid VPD information when creating full fw images.
* bcmflash: Allow specifying a new MAC address for each port. (#157)Evan Lojewski2020-11-011-4/+78
|
* bcmflash: Enable extracting raw vpd information. (#156)Evan Lojewski2020-11-011-0/+16
|
* apeloader: Cleanup various linting warnings. (#151)Evan Lojewski2020-10-241-1/+2
|
* bcmflash: Parse VPD data in the code directory if it exists. (#138)Evan Lojewski2020-10-111-2/+14
|
* bcmflash: Add ability to create full firmware images. (#135)Evan Lojewski2020-10-091-26/+110
| | | | | * bcmflash: Add ability to create full firmware images. Co-authored-by: Richard Hughes <richard@hughsie.com>
* bcmflash: Improve debugging when ethtool reports an error. (#134)Evan Lojewski2020-10-091-2/+5
|
* bcmregtool: Fix apeboot to support updated ape on-disk format (#128)Evan Lojewski2020-10-051-1/+1
|
* bcmflash: Refactor bcmflash to cleanup IO code. (#127)Evan Lojewski2020-10-043-86/+123
|
* bcmflash: Enable reading/writing firmware using the ethtool apis. (#126)Evan Lojewski2020-10-034-3/+260
|
* bcmflash: Autodetect flash size. (#125)Evan Lojewski2020-10-031-10/+14
|
* NVM: Add an API to determine the NVM size. (#124)Evan Lojewski2020-10-032-0/+17
|
* bcmflash: Initial refactor of bcmflash to simplify code (#121)Evan Lojewski2020-09-305-377/+574
| | | | | | * bcmflash: refactor stage1 dumping code. * bcmflash: refactor stage2 dumping code. * bcmflash: refactor ape, info and cd dumping code. * bcmflash: refactor io code.
* stage1: Add a fixed-location version string and version number. (#118)Evan Lojewski2020-09-261-1/+37
| | | | | | | | Similar to the proprietary firmware, add a version string pointer 8 bytes into the firmware image. Unlike the proprietary firmware, the version number is also stored 12 bytes into the firmware image. This closes GH-114
* elf2ape: Cleanup elf2ape source. (#116)Evan Lojewski2020-09-251-184/+2
| | | | - Remove commented out example code. - Fix help text.
* ape: Fix ape on-disk format to match NVM endianness. (#115)Evan Lojewski2020-09-253-4/+47
| | | This closes GH-113
* bcmflash: Fix APE endianness when writing to a file. (#110)Evan Lojewski2020-09-221-50/+35
| | | | | | | | | Ensure that a newly-updated APE image is swapped as required when writing to a file in addition to NVM. This has been tested as working by (1) extracting the firmware.fw file from nvm (2) editing the firmware.fw file and adding in ape-port0.bin (3) Writing firmware.fw back to hardware.
* bcmflash: Fixup the Code Directory CRC handling. (#109)Evan Lojewski2020-09-221-1/+14
| | | | | | | - Printout the code directory crc when dumping images. - Don't save the code directory crc when extracting images. - Fixup the code directory crc when replacing the ape image. Closes GH-108
* utils: Cleanup error messages when a pci device could not be opened. (#107)Evan Lojewski2020-09-212-2/+2
|
* bcmflash: Read the entire flash contents (#106)Richard Hughes2020-09-211-1/+1
| | | | | | | | * bcmflash: Read the entire flash contents The AT45DB041D is used on the Dell KH08P I have here, which is configured as 2048 pages of 256 bytes. The standalone PCI card also contains large option ROM modules and this means only reading the first 0x40000 bytes misses some of the code directory sections.
* statistics: Enable recording packet statistics for NCSI TX/RX and Ethernet ↵v0.3.378Evan Lojewski2020-08-041-2/+4
| | | | TX/RX (#102)
* utils: Add additional ape debug information. (#101)Evan Lojewski2020-08-041-16/+21
|
* utils: Only start loading ape firmware after it's been verified on the host. ↵Evan Lojewski2020-08-041-2/+2
| | | | (#98)
* coverity: Fix issues found with coverity (#79)Evan Lojewski2020-04-132-2/+6
|
* coverity: Fix issues found with coverity (#78)Evan Lojewski2020-04-111-1/+1
|
* network: Initialize APE.Mode2 when using port2 or port3. (#69)Evan Lojewski2020-04-041-0/+1
|
* diag: Print additional diagnostic information about TX/RX buffers. (#63)Evan Lojewski2020-03-211-1/+1
|
* clang-format: Enable additional projects and re-format. (#61)Evan Lojewski2020-03-2114-535/+363
|
* utils: Fix ape version handling. (#60)Evan Lojewski2020-03-212-7/+10
| | | | - Match the version format used in the original firmware. - Add a human-readable printout for the version number.
* docs: Cleanup file headers and comments. (#58)Evan Lojewski2020-03-203-3/+46
|
* release: Add support for generating a release package. (#54)Evan Lojewski2020-03-026-6/+6
|
* build: Add version information to output files. (#52)Evan Lojewski2020-03-018-18/+62
|
* printf: Remove nvm access from the ape as it triggers a race condition when ↵Evan Lojewski2020-02-172-16/+23
| | | | | | the rx cpu is restarted. (#35) Rather than print directly, the APE now using the host debug console only for printf. The RX cpu (function 0 only) uses the debug console and forwards it over SPI when new data is available.
* Add apehalt command and improve nvm unlock handling. (#34)Evan Lojewski2020-02-161-0/+22
|
* Update the bcmregtool and apeloader to work on pci functions 1, 2, and 3. (#33)Evan Lojewski2020-02-162-39/+61
|
OpenPOWER on IntegriCloud