Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | utils: Disable RTTI and exception to reduce utility compile size. (#122) | Evan Lojewski | 2020-10-01 | 4 | -31/+30 |
| | |||||
* | bcmflash: Initial refactor of bcmflash to simplify code (#121) | Evan Lojewski | 2020-09-30 | 5 | -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 Lojewski | 2020-09-27 | 1 | -1/+4 |
| | |||||
* | stage1: Add a fixed-location version string and version number. (#118) | Evan Lojewski | 2020-09-26 | 4 | -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 Lojewski | 2020-09-26 | 2 | -51/+34 |
| | |||||
* | build: Cleanup build warnings related to assembler files. (#117) | Evan Lojewski | 2020-09-25 | 3 | -6/+6 |
| | |||||
* | elf2ape: Cleanup elf2ape source. (#116) | Evan Lojewski | 2020-09-25 | 1 | -184/+2 |
| | | | | - Remove commented out example code. - Fix help text. | ||||
* | ape: Fix ape on-disk format to match NVM endianness. (#115) | Evan Lojewski | 2020-09-25 | 3 | -4/+47 |
| | | | This closes GH-113 | ||||
* | Add submodule setup instructions (#111) | Richard Hughes | 2020-09-24 | 1 | -0/+2 |
| | |||||
* | bcmflash: Fix APE endianness when writing to a file. (#110) | Evan Lojewski | 2020-09-22 | 1 | -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 Lojewski | 2020-09-22 | 1 | -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 Lojewski | 2020-09-21 | 2 | -2/+2 |
| | |||||
* | bcmflash: Read the entire flash contents (#106) | Richard Hughes | 2020-09-21 | 1 | -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 Lojewski | 2020-09-13 | 4 | -0/+8 |
| | |||||
* | build: Bump version to 0.4.x (#104) | Evan Lojewski | 2020-09-12 | 1 | -1/+1 |
| | |||||
* | build: Fix a packaging failure when the path has parens in it. (#103) | Evan Lojewski | 2020-09-12 | 1 | -1/+16 |
| | |||||
* | statistics: Enable recording packet statistics for NCSI TX/RX and Ethernet ↵v0.3.378 | Evan Lojewski | 2020-08-04 | 22 | -1030/+602 |
| | | | | TX/RX (#102) | ||||
* | utils: Add additional ape debug information. (#101) | Evan Lojewski | 2020-08-04 | 1 | -16/+21 |
| | |||||
* | network: Disable APEPromiscuousMode as it can cause the APE block to lock up ↵ | Evan Lojewski | 2020-08-04 | 1 | -1/+3 |
| | | | | and fail to recieve packets. (#100) | ||||
* | network: Report an error when the RX path has hung, potentially due to a ↵ | Evan Lojewski | 2020-08-04 | 2 | -3/+19 |
| | | | | network reset. (#99) | ||||
* | utils: Only start loading ape firmware after it's been verified on the host. ↵ | Evan Lojewski | 2020-08-04 | 1 | -2/+2 |
| | | | | (#98) | ||||
* | build: Bump llvm version to 10.0.1 and enable ubuntu-20.04 builds. (#97) | Evan Lojewski | 2020-08-01 | 4 | -15/+32 |
| | |||||
* | network: Always check registers during init and place them in a known state. ↵ | Evan Lojewski | 2020-07-19 | 3 | -35/+59 |
| | | | | (#95) | ||||
* | ncsi: Reset the RMU in the event that it has hung. (#94) | Evan Lojewski | 2020-07-19 | 1 | -0/+26 |
| | |||||
* | debug: Fix ape console initialization (#93) | Evan Lojewski | 2020-07-18 | 2 | -4/+15 |
| | |||||
* | debug: Enable the ape console on Port 0 (needed for SPI prints) and Port 1. ↵ | Evan Lojewski | 2020-07-18 | 5 | -23/+102 |
| | | | | (#92) | ||||
* | regs: Add APE Clock Policy definitions. (#91) | Evan Lojewski | 2020-07-14 | 17 | -7/+871 |
| | |||||
* | network: Fix an issue where small packets (< 64 bytes) were incorrectly ↵ | Evan Lojewski | 2020-07-12 | 2 | -6/+6 |
| | | | | sent. (#90) | ||||
* | regs: Add Tx State ports 1-3 definitions. (#89) | Evan Lojewski | 2020-07-12 | 5 | -56/+160 |
| | |||||
* | Fix typo in README (#87) | leo-lb | 2020-07-12 | 1 | -2/+2 |
| | |||||
* | regressions: Enable building pull requests. (#88) | Evan Lojewski | 2020-07-12 | 1 | -3/+32 |
| | |||||
* | network: Fix a hang that can occur when the network drops during a ↵ | Evan Lojewski | 2020-07-11 | 2 | -4/+36 |
| | | | | transmission. (#86) | ||||
* | network: Fix possible infinate loop in Network_TX_allocateBlock (#85) | Evan Lojewski | 2020-07-05 | 1 | -1/+1 |
| | |||||
* | network: Only check for free FIFO space once to improve transmission speeds. ↵ | Evan Lojewski | 2020-07-05 | 1 | -6/+3 |
| | | | | (#84) | ||||
* | ncsi: Don't report an error when clearing the initial state of nonexistent ↵ | Evan Lojewski | 2020-07-04 | 1 | -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 Lojewski | 2020-07-04 | 1 | -7/+22 |
| | |||||
* | build: Bump version to 0.3.x (#81) | Evan Lojewski | 2020-04-18 | 1 | -1/+1 |
| | |||||
* | simulator: Remove possible memory leaks in the HAL. (#80)v0.2.357-alpha | Evan Lojewski | 2020-04-18 | 1 | -80/+80 |
| | | | Note that this doesn't cause any real problems currently. | ||||
* | coverity: Fix issues found with coverity (#79) | Evan Lojewski | 2020-04-13 | 14 | -1402/+18 |
| | |||||
* | coverity: Fix issues found with coverity (#78) | Evan Lojewski | 2020-04-11 | 77 | -643/+6561 |
| | |||||
* | regs: Add relevant RX-RISC registers from the 57785 programming guide. (#77) | Evan Lojewski | 2020-04-10 | 16 | -46/+608 |
| | |||||
* | regressions: Ensure code is properly formatted. (#76) | Evan Lojewski | 2020-04-05 | 5 | -47/+81 |
| | |||||
* | build: Add missing .gitignore file. (#75) | Evan Lojewski | 2020-04-05 | 1 | -0/+2 |
| | |||||
* | ncsi: Fix the Link Status printout for tx/rx statistics. (#74) | Evan Lojewski | 2020-04-05 | 1 | -1/+1 |
| | |||||
* | build: Build two firmware images with NC-SI locked to port 0 or port 2. (#73) | Evan Lojewski | 2020-04-04 | 7 | -42/+86 |
| | |||||
* | Revert "ncsi: Update NC-SI to only use one port declared at compile time. ↵ | Evan Lojewski | 2020-04-04 | 1 | -62/+92 |
| | | | | | (#70)" (#72) This reverts commit ba1fb59a5a20678073cb1c92e3c6e81a97cc6462. | ||||
* | ncsi: Fix channle comparison to use actual number of channels supported. (#71) | Evan Lojewski | 2020-04-04 | 1 | -2/+1 |
| | |||||
* | ncsi: Update NC-SI to only use one port declared at compile time. (#70) | Evan Lojewski | 2020-04-04 | 6 | -136/+117 |
| | |||||
* | network: Initialize APE.Mode2 when using port2 or port3. (#69) | Evan Lojewski | 2020-04-04 | 6 | -4/+161 |
| | |||||
* | network: Don't spam the console when autonegotiating. (#68) | Evan Lojewski | 2020-04-04 | 2 | -3/+13 |
| |