Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| ubuntu_virtual_cae_system [2024/06/03 00:17] – bios beckmanf | ubuntu_virtual_cae_system [2026/03/18 23:53] (current) – [Preconfigured VirtualBox virtual machine] add UTM machine beckmanf | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| The Debian virtual CAE System is a Debian Linux based CAE environment based on Intel/ | The Debian virtual CAE System is a Debian Linux based CAE environment based on Intel/ | ||
| - | * [[altera_boards|Altera DE1 board]] (Digitaltechnik, | + | * [[altera_boards|Altera DE1 board]] (Digitaltechnik, |
| - | * NOT IN SS21!!! | + | * Altera DE1 SOC (Technische Projektarbeit) with Cyclone V FPGA |
| The last version that supports Cyclone II fpga architecture is Quartus 13.0sp1. That version does not support the Cyclone V architecture. All quartus versions that support Cyclone V do not support Cyclone II. So unfortunately there is not one Quartus version that supports both fpga architecutures. | The last version that supports Cyclone II fpga architecture is Quartus 13.0sp1. That version does not support the Cyclone V architecture. All quartus versions that support Cyclone V do not support Cyclone II. So unfortunately there is not one Quartus version that supports both fpga architecutures. | ||
| Line 12: | Line 12: | ||
| Hans Färber has build three different virtual machines: | Hans Färber has build three different virtual machines: | ||
| - | * [[https:// | + | * [[https:// |
| - | * [[https:// | + | * [[https:// |
| * [[https:// | * [[https:// | ||
| + | |||
| + | I have a preconfigured virtual machine for arm MacOS with UTM here: | ||
| + | |||
| + | * [[https:// | ||
| + | |||
| + | |||
| ===== Build your own from scratch ===== | ===== Build your own from scratch ===== | ||
| Line 22: | Line 28: | ||
| ==== Virtual Machine ==== | ==== Virtual Machine ==== | ||
| + | === Virtualization Software === | ||
| There are different virtual machine environments. | There are different virtual machine environments. | ||
| - | === VMWare | + | == VMWare == |
| - | VMWare(r) provides a commercial version [[https:// | + | VMWare(r) provides a commercial version [[https:// |
| - | === VirtualBox | + | == VirtualBox == |
| [[https:// | [[https:// | ||
| - | === UTM for Mac === | + | == UTM for Mac == |
| + | |||
| + | [[https:// | ||
| - | [[https:// | + | The following description |
| === Get the .iso install image === | === Get the .iso install image === | ||
| - | Download the ISO file for Debian 12.5.0 preconfigured setup. You can download the image from here: | + | The current vcae machine is based on debian 13 (trixie). |
| - | < | + | https://cdimage.debian.org/debian-cd/current/arm64/iso-cd/debian-13.4.0-arm64-netinst.iso |
| - | <a href=" | + | |
| - | </ | + | |
| === Create the virtual machine === | === Create the virtual machine === | ||
| - | This depends on the virtualization environment that you use. The iso contains a preconfigured debian installer which will install a machine with a user " | + | == UTM == |
| - | For all virtual | + | Create a new virtual |
| - | == VMWare == | + | * Virtualize |
| + | * Linux | ||
| + | * Minimum 8192 MiB RAM | ||
| + | * Cores: Leave Standard or choose more than half of your cores | ||
| + | * Leave "Use Apple Virtualization" | ||
| + | * Check: "Boot from ISO image" | ||
| + | * Select the debian iso that you have downloaded | ||
| + | * Chose 128 GiB Disk Space (the actually used space on the host depends on your actual usage) | ||
| + | * Leave Share unused | ||
| + | * Name your machine " | ||
| + | * Save the machine | ||
| + | |||
| + | When you now start the machine, you boot the " | ||
| - | Create a new virtual machine with minimum 30GB hard disk size. The hard disk will result in a file on the host operating system (Here MacOs) but the file size on the host will be dynamic, i.e. it will depend on the actual usage in the virtual machine. So you can also configure 120GB. Choose minimum 2GB ram or 50% of your RAM in your computer. Choose 50% of the processor cores on your computer. | + | * Your language and localisation settings as you like |
| + | * Hostname: vcae | ||
| + | * Domain-name: | ||
| + | * Root-Password: | ||
| + | * User Fullname: caeuser | ||
| + | * Username: caeuser | ||
| + | * Password: caeuser | ||
| + | * Partition: guided - complete | ||
| + | * Choose: vda | ||
| + | * All files on one partition | ||
| + | * Confirm to write files on disk | ||
| + | * No additional install media | ||
| + | * Debian mirror: ftp.de.debian.org | ||
| + | * Mirror proxy: LEAVE EMPTY | ||
| + | * popularity-contest: | ||
| + | * Software selection: Leave only "SSH server" | ||
| - | == Virtualbox == | + | After reboot, you will again enter the installer because you still have the iso file mounted as USB. |
| - | to be done | + | * Switch off the machine |
| + | * Delete the USB Drive in the machine settings in UTM via right-click " | ||
| + | * Start the Machine again | ||
| + | * Login as user " | ||
| === Finalize the installation === | === Finalize the installation === | ||
| Line 64: | Line 101: | ||
| < | < | ||
| cd | cd | ||
| - | ./go.sh | + | sudo apt -y install ansible git |
| + | git clone https:// | ||
| + | pushd ./ | ||
| + | sudo ansible-playbook disable-sudo-password.yaml | ||
| + | ansible-playbook sose26.yaml | ||
| + | </ | ||
| + | |||
| + | After the installation, | ||
| + | |||
| + | < | ||
| + | sudo apt -y install gtkwave | ||
| + | git clone https:// | ||
| + | pushd ./ | ||
| + | ./ | ||
| + | popd | ||
| + | wget https:// | ||
| + | sudo tar -xJf openroad.tar.xz -C /opt | ||
| + | echo ' | ||
| + | echo ' | ||
| + | echo ' | ||
| </ | </ | ||
| Line 70: | Line 126: | ||
| * Altera Quartus II Web Edition Version 13.0sp1 (13.0.1 build 232) | * Altera Quartus II Web Edition Version 13.0sp1 (13.0.1 build 232) | ||
| - | * GHDL + gtkwave | + | * gtkwave |
| + | * OpenROAD tools including ghdl, yosys, ghdl-yosys plugin and openroad | ||
| * LXQt + Lightdm Window environment | * LXQt + Lightdm Window environment | ||
| - | These versions are required for the Altera DE1 board which is used in the digital design lab and is available in the library. This Quartus version is the last version that supports the Altera Cyclone II FPGA which is on that board. So do not install a later version if you want to use that board. The quartus software will be installed at "/ | + | These versions are required for the Altera DE1 board which is used in the digital design lab and is available in the library. This Quartus version is the last version that supports the Altera Cyclone II FPGA which is on that board. So do not install a later version if you want to use that board. The quartus software will be installed at "/ |
| + | |||
| + | ghdl, yosys and the openroad tools are precompiled for arm64 on debian 13 (trixie). These precompiled binaries are produced with these scripts: https:// | ||
| + | |||
| + | The installation | ||
| ===== Test the installation ===== | ===== Test the installation ===== | ||
| Line 80: | Line 141: | ||
| < | < | ||
| - | quartus | + | quartus |
| </ | </ | ||
| Line 91: | Line 152: | ||
| </ | </ | ||
| - | Download the " | + | Download the " |
| < | < | ||
| Line 97: | Line 158: | ||
| mkdir projects | mkdir projects | ||
| cd projects | cd projects | ||
| - | git clone https://gitlab.elektrotechnik.hs-augsburg.de/ | + | git clone https://caeis.etech.fh-augsburg.de/ |
| </ | </ | ||
| Line 140: | Line 201: | ||
| <code bash quartus.list> | <code bash quartus.list> | ||
| - | deb [arch=i386,amd64 trusted=yes lang=none] http:// | + | deb [arch=arm64,amd64 trusted=yes lang=none] http:// |
| </ | </ | ||
| Line 151: | Line 212: | ||
| === Intel Quartus 13.0sp1 for Cyclone II FPGA (Alter DE1 Board)=== | === Intel Quartus 13.0sp1 for Cyclone II FPGA (Alter DE1 Board)=== | ||
| - | |||
| - | Quartus 13.0sp1 is a i386 architecture, | ||
| - | |||
| - | < | ||
| - | sudo dpkg --add-architecture i386 | ||
| - | </ | ||
| - | |||
| - | and then | ||
| < | < | ||
| sudo apt update | sudo apt update | ||
| - | sudo apt install quartus13:i386 | + | sudo apt install quartus13 |
| </ | </ | ||
| Line 182: | Line 235: | ||
| Then you have to logout and login again to make the changes active. | Then you have to logout and login again to make the changes active. | ||
| - | |||
| - | |||
| | | ||