MicroBlaze: Difference between revisions
imported>Cov No edit summary |
Undo revision 694 by [[Special:Contributions/imported>Pew|imported>Pew]] ([[User talk:imported>Pew|talk]]) Tag: Undo |
||
| (8 intermediate revisions by 6 users not shown) | |||
| Line 24: | Line 24: | ||
Select all default options, allow the program to launch vmware-toolbox | Select all default options, allow the program to launch vmware-toolbox | ||
Add the following to /etc/rc.local (then sudo chmod +x /etc/rc.local): | Add the following to /etc/rc.local (then <code>sudo chmod +x /etc/rc.local</code>): | ||
<pre> | <pre> | ||
/usr/bin/vmware-user & | /usr/bin/vmware-user & | ||
| Line 38: | Line 38: | ||
===Supporting Libraries=== | ===Supporting Libraries=== | ||
Install libusb: | Install libusb: | ||
<pre> | <pre> | ||
sudo apt-get install libusb-0.1-4 | sudo apt-get install libusb-0.1-4 | ||
</pre> | </pre> | ||
| Line 48: | Line 48: | ||
==Xilinx Tool Installation== | ==Xilinx Tool Installation== | ||
Install Xilinx ISE Webpack (do '''not''' install cable drivers or XilinxUpdate), then run the following commands: | [[Install Xilinx ISE Webpack]] (do '''not''' install cable drivers or XilinxUpdate), then run the following commands: | ||
<pre> | <pre> | ||
sudo sed /opt/Xilinx/11.1/ISE/bin/lin/xusbdfwu.rules -e 's:TEMPNODE:tempnode:g' > /etc/udev/rules.d/xusbdfwu.rules | sudo sed /opt/Xilinx/11.1/ISE/bin/lin/xusbdfwu.rules -e 's:TEMPNODE:tempnode:g' > /etc/udev/rules.d/xusbdfwu.rules | ||
| Line 56: | Line 56: | ||
sudo restart udev | sudo restart udev | ||
</pre> | </pre> | ||
**Note, for the first command you may receive a permissions error. Try the command | **Note, for the first command you may receive a permissions error. Try the command <code>sudo su</code> to get a root shell then run the same command sans 'sudo' | ||
* Plug in the Spartan 3E board. Apply power and attach the USB cable between the board and computer. If everything has been done successfully, a greed LED will illuminate next to the USB receptacle on the boad. If unsuccessful, the red LED will be dimly lit. | * Plug in the Spartan 3E board. Apply power and attach the USB cable between the board and computer. If everything has been done successfully, a greed LED will illuminate next to the USB receptacle on the boad. If unsuccessful, the red LED will be dimly lit. | ||
| Line 62: | Line 62: | ||
* Install the Xilinx EDK (SDK and Chipscope if required) | * Install the Xilinx EDK (SDK and Chipscope if required) | ||
===Installing | ===Installing libusb-driver=== | ||
Install libusb-dev and git: | Install libusb-dev and git: | ||
<pre> | <pre> | ||
| Line 93: | Line 93: | ||
</pre> | </pre> | ||
Add the following lines to /opt/Xilinx/11.1/settings32.sh just after list="" | Add the following lines to /opt/Xilinx/11.1/settings32.sh just after <code>list=""</code> | ||
<pre> | <pre> | ||
export XIL_IMPACT_USE_LIBUSB=0 | export XIL_IMPACT_USE_LIBUSB=0 | ||
| Line 103: | Line 103: | ||
</pre> | </pre> | ||
*Note if you wish to create a launcher in the desktop environment, use the following format for the 'command' and it will automatically source the settings32.sh before launching the application: | |||
<pre> | |||
/bin/bash -c 'source /opt/Xilinx/11.1/settings32.sh && ise' | |||
</pre> | |||
Sources and Other Contributors: | Sources and Other Contributors: | ||
Via (VTLUUG member) | Via (VTLUUG member) | ||
| Line 130: | Line 134: | ||
When you're done, type <code>exit</code> on the command line to quit xmd. | When you're done, type <code>exit</code> on the command line to quit xmd. | ||
=Cable Lock Workaround= | =Cable Lock Workaround= | ||
Sometimes you'll get an error with cable locking. Typing the following into xmd should fix this. | Sometimes you'll get an error with cable locking. Typing the following into xmd should fix this. | ||
| Line 169: | Line 144: | ||
[http://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver http://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver] | [http://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver http://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver] | ||
[[Category: | [[Category:Campus_computing_resources]] | ||
[[Category: | [[Category:Software]] | ||
[[Category:Scripts]] | [[Category:Scripts]] | ||