i.MX 93 BSP Manual PD24.1.1 Documentation Rev.: imx8mp-pd22.1.2-51-ga548be7d
5.4.3 Install the SDK
• Set correct permissions and install the SDK:
host:~$ chmod +x phytec-ampliphy-vendor-wayland-glibc-x86_64-phytec-qt6demo-image-cortexa55-
,→toolchain-4.2.3.sh
host:~$ ./phytec-ampliphy-vendor-wayland-glibc-x86_64-phytec-qt6demo-image-cortexa55-
,→toolchain-4.2.3.sh
============================================================================================================
Enter target directory for SDK (default: /opt/ampliphy-vendor-wayland/4.2.3):
You are about to install the SDK to "/opt/ampliphy-vendor-wayland/4.2.3". Proceed [Y/n]? Y
Extracting SDK...done
Setting it up...done
SDK has been successfully set up and is ready to be used.
5.4.4 Using the SDK
Activate the toolchain for your shell by sourcing the environment-setup le in the toolchain directory:
host:~$ source /opt/ampliphy-vendor-wayland/4.2.3/environment-setup-cortexa55-phytec-linux
5.4.5 Installing Required Tools
Building Linux and U-Boot out-of-tree requires some additional host tool dependencies to be installed. For
Ubuntu you can install them with:
host:~$ sudo apt install bison flex libssl-dev
5.5 U-Boot standalone build
5.5.1 Get the source code
• Get the U-Boot sources:
host:~$ git clone git://git.phytec.de/u-boot-imx
• To get the correct U-Boot tag you need to take a look at our release notes, which can be found here:
release notes
• The tag needed at this release is called v2023.04_2.2.0-phy3
• Check out the needed U-Boot tag:
host:~$ cd ~/u-boot-imx/
host:~/u-boot-imx$ git fetch --all --tags
host:~/u-boot-imx$ git checkout tags/v2023.04_2.2.0-phy3
• Technically, you can now build the U-Boot, but practically there are some further steps necessary:
– Create your own development branch:
host:~/u-boot-imx$ git switch --create <new-branch>
Development 29