Skip to content

Instantly share code, notes, and snippets.

@the6p4c
Last active April 24, 2026 11:53
Show Gist options
  • Select an option

  • Save the6p4c/68e58ea9a075050dc6956d72294abce5 to your computer and use it in GitHub Desktop.

Select an option

Save the6p4c/68e58ea9a075050dc6956d72294abce5 to your computer and use it in GitHub Desktop.

Revisions

  1. the6p4c revised this gist Apr 16, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ The self-extracting web installer (~300 MiB) can create a customised bundle iden
    3. Create the archive
    1. Run the installer (`chmod +x` the binary and launch it from a shell)
    - Flags to the installer binary must be provider after `--` so as to not pass them to the `makeself` wrapper
    - Passing the `-x`/`--xdebug` flag to the installer binary has helped debug weird issues in the past, so may be worth using
    - Passing the `--xdebug` flag to the installer binary has helped debug weird issues in the past, so may be worth using
    2. Provide AMD account credentials
    3. **Select “Download Image (Install Separately)”**
    - To make creating the `.tar.gz` easier, name the final directory in the download path `FPGAs_AdaptiveSoCs_Unified_2023.2_1013_2256` (this matches the expected folder and filename in the `PKGBUILD`)
  2. the6p4c revised this gist Apr 16, 2024. No changes.
  3. the6p4c created this gist Apr 16, 2024.
    24 changes: 24 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    **You don't actually have to download the entire (now over 100 GiB) unified installer.**

    The self-extracting web installer (~300 MiB) can create a customised bundle identical to the unified installer - thus only downloading the components you require. Here's what I did to install Vivado and support for Artix 7 only, so no guarantees that this works in general. Keep in mind that version numbers and dates may have changed.

    1. Download the [“AMD Unified Installer for FPGAs & Adaptive SoCs 2023.2: Linux Self Extracting Web Installer”](https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/vivado-design-tools.html)
    - This is a binary with a name like `FPGAs_AdaptiveSoCs_Unified_2023.2_1013_2256_Lin64.bin`
    3. Create the archive
    1. Run the installer (`chmod +x` the binary and launch it from a shell)
    - Flags to the installer binary must be provider after `--` so as to not pass them to the `makeself` wrapper
    - Passing the `-x`/`--xdebug` flag to the installer binary has helped debug weird issues in the past, so may be worth using
    2. Provide AMD account credentials
    3. **Select “Download Image (Install Separately)”**
    - To make creating the `.tar.gz` easier, name the final directory in the download path `FPGAs_AdaptiveSoCs_Unified_2023.2_1013_2256` (this matches the expected folder and filename in the `PKGBUILD`)
    - Ensure “Download files to create full image for selected platform(s)” is set to “Linux”
    - **Under “Image Contents”, select “Selected Product Only”**
    4. Proceed through the installer as normal, selecting only the product and components required
    5. Once the download has finished, use `tar -cvf FPGAs_AdaptiveSoCs_Unified_2023.2_1013_2256{.tar.gz,}` to create an archive identical to the unified installer
    - The archive must contain a folder named `FPGAs_AdaptiveSoCs_Unified_2023.2_1013_2256` which holds the `xsetup` binary
    4. Build the package
    - Follow the instructions contained in the `PKGBUILD`, substituting the unified installer with the newly created `.tar.gz` file
    - As the archive has changed, pass `--skipchecksums` to `makepkg` when building


    Although executing the installer within the package build took only 2 minutes, the process of linting and compressing took a significant amount of time.