-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Numato Elbert V2 support #12
Closed
Closed
Commits on Jan 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e8f6bc4 - Browse repository at this point
Copy the full SHA e8f6bc4View commit details -
platforms/elbertv2.py: Elbert V2 board definition
First attempt; hand translated from Numato UCF file; currently untested.
Configuration menu - View commit details
-
Copy full SHA for ec33d2f - Browse repository at this point
Copy the full SHA ec33d2fView commit details -
targets/elbertv2: WIP (untested!) Elbert v2 target
Copied from targets/mimasv2, with random guesses as to what should be removed from mimasv2 code. In particular: - Mimas v2 supports 100 MHz + 12 MHz clock; Elbert v2 has only 12 MHz clock - Mimas v2 has external SDRAM; Elbert v2 has no external SDRAM - Mimas v2 has physical programming/communications switch over shared USB link - Elbert V2 has only programing over built in USB link; needs separate USBUART module to provide communications **COMPLETELY UNTESTED** at this stage, have not even tried parsing Python...
Configuration menu - View commit details
-
Copy full SHA for eaed47a - Browse repository at this point
Copy the full SHA eaed47aView commit details
Commits on Jan 19, 2018
-
firmware: stub-out framebuffer/pattern if no main ram
On systems without external SDRAM (eg, Numato Elbert v2), there is no MAIN_RAM_BASE, and we cannot hold a frame buffer as we have only small amounts of in-FPGA SRAM. This should be cleaned up to avoid even compiling the framebuffer / pattern when there is no main ram / MAIN_RAM_BASE, but for now we have stubbed out everything referring to main ram or L2 cache (since the L2 cache is over the external SDRAM). In theory this should still work on systems with MAIN RAM, but currently untested.
Configuration menu - View commit details
-
Copy full SHA for 87b46c0 - Browse repository at this point
Copy the full SHA 87b46c0View commit details -
firmware/linker.ld: WIP: hand-calculated Elbert v2 values
UGLY! Hand hacked linker.ld to allow linking on platform without main_ram. TODO: figure out way to generate this conditional on whether there is main ram or not. On platforms with main ram, we tell linker to assume that most things will be in main_ram by the time we execute the code (and the boot loader copies into the main ram). On a platform without main ram, we have to execute directly from the SPI flash (which is mapped in a different location), and need to: (a) ensure that the .text (code) and .rodata (const data) is in the spi flash; and (b) .data (updatable data) and .bss (stack) are in sram (static ram, on FPGA cells)
Configuration menu - View commit details
-
Copy full SHA for 313ce5c - Browse repository at this point
Copy the full SHA 313ce5cView commit details -
Commented out cas submodule, as it wasn't being found for elbertv2 (perhaps due to changes needed in third_party/litex?); commented out asserts on frequency copied from mimasv2 as it is unclear what they should be on 12MHz clock (mimasv2 ones are based around 100Mhz clock) At this point, with hand hacked linker.ld, we can compile and link firmware ("make firmware"); but firmware is completely untested.
Configuration menu - View commit details
-
Copy full SHA for 62636e0 - Browse repository at this point
Copy the full SHA 62636e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b89e7b2 - Browse repository at this point
Copy the full SHA b89e7b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d169bbb - Browse repository at this point
Copy the full SHA d169bbbView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.