summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* utils: Disable RTTI and exception to reduce utility compile size. (#122)Evan Lojewski2020-10-014-31/+30
|
* 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: Ensure ethtool/tg3 reads the proper version number. (#120)Evan Lojewski2020-09-271-1/+4
|
* stage1: Add a fixed-location version string and version number. (#118)Evan Lojewski2020-09-264-3/+98
| | | | | | | | 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
* stage1: Add initial support for handling VPD. (#119)Evan Lojewski2020-09-262-51/+34
|
* build: Cleanup build warnings related to assembler files. (#117)Evan Lojewski2020-09-253-6/+6
|
* 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
* Add submodule setup instructions (#111)Richard Hughes2020-09-241-0/+2
|
* 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.
* tests: Enable automated testing. (#105)Evan Lojewski2020-09-134-0/+8
|
* build: Bump version to 0.4.x (#104)Evan Lojewski2020-09-121-1/+1
|
* build: Fix a packaging failure when the path has parens in it. (#103)Evan Lojewski2020-09-121-1/+16
|
* statistics: Enable recording packet statistics for NCSI TX/RX and Ethernet ↵v0.3.378Evan Lojewski2020-08-0422-1030/+602
| | | | TX/RX (#102)
* utils: Add additional ape debug information. (#101)Evan Lojewski2020-08-041-16/+21
|
* network: Disable APEPromiscuousMode as it can cause the APE block to lock up ↵Evan Lojewski2020-08-041-1/+3
| | | | and fail to recieve packets. (#100)
* network: Report an error when the RX path has hung, potentially due to a ↵Evan Lojewski2020-08-042-3/+19
| | | | network reset. (#99)
* utils: Only start loading ape firmware after it's been verified on the host. ↵Evan Lojewski2020-08-041-2/+2
| | | | (#98)
* build: Bump llvm version to 10.0.1 and enable ubuntu-20.04 builds. (#97)Evan Lojewski2020-08-014-15/+32
|
* network: Always check registers during init and place them in a known state. ↵Evan Lojewski2020-07-193-35/+59
| | | | (#95)
* ncsi: Reset the RMU in the event that it has hung. (#94)Evan Lojewski2020-07-191-0/+26
|
* debug: Fix ape console initialization (#93)Evan Lojewski2020-07-182-4/+15
|
* debug: Enable the ape console on Port 0 (needed for SPI prints) and Port 1. ↵Evan Lojewski2020-07-185-23/+102
| | | | (#92)
* regs: Add APE Clock Policy definitions. (#91)Evan Lojewski2020-07-1417-7/+871
|
* network: Fix an issue where small packets (< 64 bytes) were incorrectly ↵Evan Lojewski2020-07-122-6/+6
| | | | sent. (#90)
* regs: Add Tx State ports 1-3 definitions. (#89)Evan Lojewski2020-07-125-56/+160
|
* Fix typo in README (#87)leo-lb2020-07-121-2/+2
|
* regressions: Enable building pull requests. (#88)Evan Lojewski2020-07-121-3/+32
|
* network: Fix a hang that can occur when the network drops during a ↵Evan Lojewski2020-07-112-4/+36
| | | | transmission. (#86)
* network: Fix possible infinate loop in Network_TX_allocateBlock (#85)Evan Lojewski2020-07-051-1/+1
|
* network: Only check for free FIFO space once to improve transmission speeds. ↵Evan Lojewski2020-07-051-6/+3
| | | | (#84)
* ncsi: Don't report an error when clearing the initial state of nonexistent ↵Evan Lojewski2020-07-041-5/+9
| | | | | | | | | | channels. (#83) The NCSI specification implies that when a channel does not exist, no response is given. This behavior is consistent with the proprietary firmware. When a response is given, the linux kernel spews (~30 times) "NCSI: 'bad' packet ignored for type 0x80" on an invalid response. Disable the response to silence these messages and make the behavior match the proprietary firmware.
* network: Ensure packets are properly sent to the RMU (#82)Evan Lojewski2020-07-041-7/+22
|
* build: Bump version to 0.3.x (#81)Evan Lojewski2020-04-181-1/+1
|
* simulator: Remove possible memory leaks in the HAL. (#80)v0.2.357-alphaEvan Lojewski2020-04-181-80/+80
| | | Note that this doesn't cause any real problems currently.
* coverity: Fix issues found with coverity (#79)Evan Lojewski2020-04-1314-1402/+18
|
* coverity: Fix issues found with coverity (#78)Evan Lojewski2020-04-1177-643/+6561
|
* regs: Add relevant RX-RISC registers from the 57785 programming guide. (#77)Evan Lojewski2020-04-1016-46/+608
|
* regressions: Ensure code is properly formatted. (#76)Evan Lojewski2020-04-055-47/+81
|
* build: Add missing .gitignore file. (#75)Evan Lojewski2020-04-051-0/+2
|
* ncsi: Fix the Link Status printout for tx/rx statistics. (#74)Evan Lojewski2020-04-051-1/+1
|
* build: Build two firmware images with NC-SI locked to port 0 or port 2. (#73)Evan Lojewski2020-04-047-42/+86
|
* Revert "ncsi: Update NC-SI to only use one port declared at compile time. ↵Evan Lojewski2020-04-041-62/+92
| | | | | (#70)" (#72) This reverts commit ba1fb59a5a20678073cb1c92e3c6e81a97cc6462.
* ncsi: Fix channle comparison to use actual number of channels supported. (#71)Evan Lojewski2020-04-041-2/+1
|
* ncsi: Update NC-SI to only use one port declared at compile time. (#70)Evan Lojewski2020-04-046-136/+117
|
* network: Initialize APE.Mode2 when using port2 or port3. (#69)Evan Lojewski2020-04-046-4/+161
|
* network: Don't spam the console when autonegotiating. (#68)Evan Lojewski2020-04-042-3/+13
|
OpenPOWER on IntegriCloud