Skip to content

Commit

Permalink
gateware: bootloader: rev2: updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lethalbit committed Jan 20, 2025
1 parent 30dedb7 commit 2176ec1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions squishy/gateware/bootloader/rev2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@


'''
This module contains the implementation of the rev2 hardware-specific bootloader.
The rev2 hardware has a more complex boot process due to the following reasons:
* The addition of a supervisor MCU
* The presence of a shared PSRAM between the supervisor and the FPGA
As such, there is a boot protocol that has to be established between the supervisor and the FPGA.
===================
Bootloader Protocol
===================
Expand Down Expand Up @@ -54,8 +63,8 @@
0. Read at most buffers worth of bitstream data from backing store
1. Dump buffer into FPGA configuration
IV. Check FPGA configuration status
V. let the FPGA boot into new bitstream
VII. Check FPGA configuration status
VIII. let the FPGA boot into new bitstream
''' # noqa: E101

from torii import Elaboratable, Module, Signal
Expand Down

0 comments on commit 2176ec1

Please sign in to comment.