Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reorganised/cleaned up README.md * Moved some manual steps back into get-env.sh * Create 'flash-hdmi2usb.sh' script to easily get a board running
- Loading branch information
Showing
8 changed files
with
97 additions
and
105 deletions.
There are no files selected for viewing
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Grant permission to makestuff usb devices. | ||
ATTR{idVendor}=="1d50", MODE:="666" | ||
|
||
# Grant permissions to hdmi2usb usb devices. | ||
This comment has been minimized.
Sorry, something went wrong. |
||
ATTR{idVendor}=="fb9a", MODE:="666" | ||
|
||
# Grant permissions to unconfigured cypress chips. | ||
ATTR{idVendor}=="04b4", MODE:="666" | ||
|
||
# Grant permissions to Digilent Development board JTAG | ||
ATTR{idVendor}=="1443", MODE:="666" |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
set -x | ||
set -e | ||
|
||
if [ ! -e ~/HDMI2USB-misoc-firmware/build ]; then | ||
echo "You need to build the firmware first. Please see README.md" | ||
exit 1 | ||
fi | ||
|
||
cd ~/HDMI2USB-misoc-firmware | ||
|
||
source ~/HDMI2USB-misoc-firmware/scripts/setup-env.sh | ||
|
||
echo "Attempting to load gateware; will attempt 3 times, errors are normal" | ||
|
||
for loop in 1 2 3 | ||
do | ||
PROG=fpgalink make load-gateware; sleep 2 | ||
done | ||
|
||
make load-fx2-firmware; sleep 1 | ||
make connect-lm32 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,21 +65,17 @@ sudo adduser $USER dialout | |
# Get migen | ||
( | ||
cd $BUILD_DIR | ||
if [ -e migen ]; then | ||
cd migen | ||
git pull | ||
else | ||
git clone https://github.com/m-labs/migen.git | ||
cd migen | ||
fi | ||
cd vpi | ||
rm -fr migen | ||
This comment has been minimized.
Sorry, something went wrong.
mithro
Member
|
||
git clone https://github.com/m-labs/migen.git | ||
cd migen/vpi | ||
make all | ||
sudo make install | ||
) | ||
|
||
# Get misoc | ||
( | ||
cd $BUILD_DIR | ||
rm -fr misoc | ||
git clone https://github.com/m-labs/misoc.git | ||
cd misoc | ||
git submodule init | ||
|
@@ -93,13 +89,32 @@ sudo adduser $USER dialout | |
( | ||
cd $BUILD_DIR | ||
sudo apt-get install -y libreadline-dev libusb-1.0-0-dev python-yaml sdcc fxload | ||
rm -fr makestuff | ||
wget -qO- http://tiny.cc/msbil | tar zxf - | ||
|
||
cd makestuff/libs | ||
../scripts/msget.sh makestuff/libfpgalink | ||
cd libfpgalink | ||
make deps | ||
) | ||
# Load custom udev rules | ||
( | ||
cd $SETUP_DIR | ||
sudo cp -uf 52-hdmi2usb.rules /etc/udev/rules.d/ | ||
|
||
) | ||
|
||
# build exar-uart-driver | ||
This comment has been minimized.
Sorry, something went wrong.
mithro
Member
|
||
( | ||
cd $BUILD_DIR | ||
rm -fr exar-uart-driver | ||
git clone https://github.com/mithro/exar-uart-driver | ||
cd exar-uart-driver | ||
sudo apt-get install linux-headers-generic debhelper module-assistant | ||
dpkg-buildpackage -rfakeroot | ||
sudo dpkg --install ../vizzini-source_*_all.deb | ||
) | ||
|
||
|
||
|
||
sudo apt-get install -y gtkwave | ||
|
||
|
File renamed without changes.
This ID shouldn't be needed any more.