Created
October 11, 2019 03:25
-
-
Save szczys/f4ec190bfe5ceaf851ca03e4f9090393 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download and Install the toolchain xobs built | |
--------------------------------------------- | |
https://github.com/xobs/ecp5-toolchain | |
Install the badge firmware repo | |
------------------------------- | |
git clone https://github.com/Spritetm/hadbadge2019_fpgasoc.git | |
cd hadbadge2019_fpgasoc/ | |
git submodule update --init --recursive | |
Install tinyprog from TinyFPGA-Bootloader | |
----------------------------------------- | |
//FIXME!! This isn't working on one of my machines | |
cd TinyFPGA-Bootloader/programmer | |
sudo python setup.py install | |
//FIXME!! This may be the better option but not yet fully working either | |
pip3 install --user tinyprog | |
Compile and flash soc | |
--------------------- | |
cd ../../soc | |
make | |
//plug badge in via usb while turned off. turn on and wait 1 second | |
make flash | |
Compile and flash ipl | |
--------------------- | |
cd ipl | |
make | |
//plug badge in via usb while turned off. turn on and wait 1 second | |
make flash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment