diff options
author | Evan Lojewski <github@meklort.com> | 2019-05-05 20:00:22 -0600 |
---|---|---|
committer | Evan Lojewski <github@meklort.com> | 2019-05-05 20:00:22 -0600 |
commit | e9ca9f9c01f90f4e5adffef03d64888a7acda6e7 (patch) | |
tree | 4815beab12cf71131ebc8837beb0fe89a7159aa8 | |
parent | a644a841c32446e1c3346fc1166efbc18d60c3c6 (diff) | |
download | bcm5719-ortega-e9ca9f9c01f90f4e5adffef03d64888a7acda6e7.tar.gz bcm5719-ortega-e9ca9f9c01f90f4e5adffef03d64888a7acda6e7.zip |
README: describe sequence to flash the MIPS firmware.
-rw-r--r-- | README.md | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -56,3 +56,24 @@ cmake .. -G Ninja cmake --build . ``` +## Usage +Before proceeding, the linux driver must be unloaded. On the Talos II, this can be done as root with the following: +```bash +echo 0004:01:00.0 > /sys/bus/pci/devices/0004:01:00.0/driver/unbind +echo 0004:01:00.1 > /sys/bus/pci/devices/0004:01:00.1/driver/unbind +``` + +### Backup Firmware +Before proceeding, the original firmware should be backed up. +```bash +cd build +sudo ./utils/bcmflash/bcmflash -t hardware -b binary +``` +This will result in a firmware image, firmware.fw, bing stored in the current directory. + +### Stage 1 - MIPS Firmware +After compilation, the MIPS firmware is ready to be uploaded to the NIC. +```bash +cd build +sudo ./utils/bcmflash/bcmflash -t hardware -1 stage1/stage1.bin +``` |