<commit_before># Building HDMI2USB-misoc-firmware

These scripts are designed to bootstrap a firmware build environment on Ubuntu 14.04 LTS.

Instructions:

1. Install Xilinx ISE WebPACK 14.7 + activate a licence:

  * Download from [http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/design-tools.html]
  * Install into the default location in /opt (requires X11 GUI):
  ```
  tar xvf Xilinx_ISE_DS_Lin_14.7_1015_1.tar
  cd Xilinx_ISE_DS_Lin_14.7_1015_1
  sudo ./xsetup
  ```
  Ensure you select "ISE WebPACK" 17403 MB


  * Ensure you have a free WebPACK license for ISE installed, see [http://license.xilinx.com/getLicense], ensure installed into ```~/.Xilinx/Xilinx.lic```

  * Ensure licence is activated by checking ISE:
  ```
  source /opt/Xilinx/14.7/ISE_DS/settings64.sh
  ise
  ```
  Go to About > Licence, ensure under "information" you can see your ISC WebPACK licence.
 
2.  Run the bootstrap script to build an environment required for flashing firmware:
  ```
  curl -fsS https://raw.githubusercontent.com/timvideos/HDMI2USB-misoc-firmware/master/scripts/bootstrap.sh | bash
  ```

3. Initalise the environment (required for any of the build/load steps below[2]):
  ```
  cd ~/HDMI2USB-misoc-firmware<commit_msg>Fix typo.<commit_after># Building HDMI2USB-misoc-firmware

These scripts are designed to bootstrap a firmware build environment on Ubuntu 14.04 LTS.

Instructions:

1. Install Xilinx ISE WebPACK 14.7 + activate a licence:

  * Download from [http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/design-tools.html]
  * Install into the default location in /opt (requires X11 GUI):
  ```
  tar xvf Xilinx_ISE_DS_Lin_14.7_1015_1.tar
  cd Xilinx_ISE_DS_Lin_14.7_1015_1
  sudo ./xsetup
  ```
  Ensure you select "ISE WebPACK" 17403 MB


  * Ensure you have a free WebPACK license for ISE installed, see [http://license.xilinx.com/getLicense], ensure installed into ```~/.Xilinx/Xilinx.lic```

  * Ensure licence is activated by checking ISE:
  ```
  source /opt/Xilinx/14.7/ISE_DS/settings64.sh
  ise
  ```
  Go to About > Licence, ensure under "information" you can see your ISE WebPACK licence.
 
2.  Run the bootstrap script to build an environment required for flashing firmware:
  ```
  curl -fsS https://raw.githubusercontent.com/timvideos/HDMI2USB-misoc-firmware/master/scripts/bootstrap.sh | bash
  ```

3. Initalise the environment (required for any of the build/load steps below[2]):
  ```
  cd ~/HDMI2USB-misoc-firmware
{'fraction_non_alphanumeric': 0.1032695374800638, 'fraction_numerical': 0.03349282296650718, 'mean_word_length': 3.948717948717949, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6135493', 'n_tokens_mistral': 933, 'n_tokens_neox': 838, 'n_words': 250}