diff options
Diffstat (limited to 'SETUP.md')
-rw-r--r-- | SETUP.md | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -2,29 +2,29 @@ Building images for AMD machines requires setting up the Yocto Project Build System. Please follow the guidelines on -[Yocto Project Overview and Concepts Manual](https://docs.yoctoproject.org/3.3/overview-manual/index.html) -and [Yocto Project Quick Build Guide](https://docs.yoctoproject.org/3.3/brief-yoctoprojectqs/index.html) +[Yocto Project Overview and Concepts Manual](https://docs.yoctoproject.org/4.0.5/overview-manual/index.html) +and [Yocto Project Quick Build Guide](https://docs.yoctoproject.org/4.0.5/brief-yoctoprojectqs/index.html) if you are not familiar with the Yocto Project and it's Build System. Running the following commands will setup the build system and will -enable us to build recipes & images for the `ethanolx` bsp. +enable us to build recipes & images for any of the supported AMD machines. ### 1.1 Prerequisites Install the build system's dependencies: ```sh -sudo apt install -y gawk wget git-core diffstat unzip texinfo \ - gcc-multilib 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-dev +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-dev ``` ### 1.2 Download the build system and the meta-data layers Select the Yocto Project branch: ```sh -YOCTO_BRANCH="hardknott" +YOCTO_BRANCH="kirkstone" ``` Clone the git repositories: @@ -34,7 +34,7 @@ git clone --single-branch --branch "${YOCTO_BRANCH}" \ cd poky-amd-${YOCTO_BRANCH} git clone --single-branch --branch "${YOCTO_BRANCH}" \ "git://git.openembedded.org/meta-openembedded" -git clone --single-branch --branch master \ +git clone --single-branch --branch "${YOCTO_BRANCH}" \ "git://git.yoctoproject.org/meta-dpdk" git clone --single-branch --branch "${YOCTO_BRANCH}" \ "git://git.yoctoproject.org/meta-amd" @@ -42,13 +42,13 @@ git clone --single-branch --branch "${YOCTO_BRANCH}" \ Checkout commit hashes: ```sh -git checkout --quiet tags/yocto-3.3 +git checkout --quiet tags/yocto-4.0.5 cd meta-openembedded -git checkout --quiet cf5bd6a8308108b4313a1e45ce8aa87e73125bf9 +git checkout --quiet 50d4a8d2a983a68383ef1ffec2c8e21adf0c1a79 cd ../meta-dpdk -git checkout --quiet c011004a49ffb1304f376f0fdc65066913102d5f +git checkout --quiet 0e62d02f2755fbbf7dfa6e243381377c0a1cd97c cd ../meta-amd -git checkout --quiet tags/hardknott-ethanolx-ga-202107 +git checkout --quiet tags/kirkstone-e3000-ga-202301 cd .. ``` |