-
Notifications
You must be signed in to change notification settings - Fork 2
Build Yocto for AMD Based Platform
Dineshkumar edited this page Jan 28, 2026
·
3 revisions
1.1 Recommended Hardware for the host
- Intel Core-i7 Processor (>= 4 cores)
- at least 16GB of Memory
- at least 500GB Disk sapce
- Ubuntu 20.04 LTS 64-bit version for Yocto Project Build
- High-speed network connectivity
1.2 Essential host Packages are required to be installed on your host
$ sudo apt install -y gawk wget git diffstat unzip texinfo gcc \
build-essential chrpath socat cpio python3 python3-pip \
python3-pexpect xz-utils debianutils iputils-ping python3-git \
python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm \
python3-subunit mesa-common-devNote: Don't use the root account to build Yocto. it might cause unpredictable errors.
1.3 "Google repo" packages is required to be installed on your host
$ mkdir ~/bin (this step may not be needed if the bin folder already exists)
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ export PATH=${PATH}:~/bin
$ export LC_ALL="en_US.UTF-8"1.4 Before star to build the source, please make sure that git is set up properly with the commands below
$ git config --global user.name "Your Name"
$ git config --global user.email "Your Email"
$ git config --list2.1 Create a working directory. we're creating "intel-yocto-bsp".
$ mkdir amd-yocto-bsp
$ cd amd-yocto-bsp2.2 Download the required meta-layers.
kirkstone branch
$ repo init -u https://github.com/ADLINK/adlink-manifest -b amd-yocto-kirkstone -m adlink-x86-amd.xml
$ repo sync
$ CONF=adlink MACHINE=V3000 source adlink-amd-setup-release.sh -b <build-dir>scarthgap branch
$ repo init -u https://github.com/ADLINK/adlink-manifest -b amd-yocto-scarthgap -m adlink-x86-amd.xml
$ repo sync
$ CONF=adlink MACHINE=V3000 source adlink-amd-setup-release.sh -b <build-dir>2.3 Build the image
$ bitbake core-image-satoNote: Sometimes the build may fail due to the traffic/server try again after sometime
2.5 Image is generated as core-image-sato.wic in <build_dir>/tmp/deploy/image/.
Please refer to here