diff options
-rw-r--r-- | README.building.md | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/README.building.md b/README.building.md index 0638b75e..8bb866a7 100644 --- a/README.building.md +++ b/README.building.md | |||
@@ -22,21 +22,34 @@ $ mkdir sources | |||
22 | $ git clone -b <release-branch> https://git.yoctoproject.org/poky.git | 22 | $ git clone -b <release-branch> https://git.yoctoproject.org/poky.git |
23 | $ git clone -b <release-branch> https://git.openembedded.org/meta-openembedded.git | 23 | $ git clone -b <release-branch> https://git.openembedded.org/meta-openembedded.git |
24 | $ git clone -b <rel-version> https://github.com/Xilinx/meta-xilinx.git | 24 | $ git clone -b <rel-version> https://github.com/Xilinx/meta-xilinx.git |
25 | $ git clone -b <rel-version> https://github.com/Xilinx/meta-xilinx-tools.git | ||
25 | ``` | 26 | ``` |
26 | 3. Initialize a build environment using the `oe-init-build-env` script. | 27 | 3. Initialize a build environment using the `oe-init-build-env` script. |
27 | ``` | 28 | ``` |
28 | $ source poky/oe-init-build-env | 29 | $ source poky/oe-init-build-env |
29 | ``` | 30 | ``` |
30 | 4. Once initialized configure `bblayers.conf` add `meta-xilinx` layer as shown | 31 | 4. Once initialized configure `bblayers.conf` by adding dependency layers as shown |
31 | below using `bitbake-layers` command | 32 | below using `bitbake-layers` command. |
33 | > **Note:** From step 3 by default `meta-yocto-bsp` will be included in bblayers.conf | ||
34 | > file and this can be removed using `$ bitbake-layers add-layer meta-yocto-bsp` | ||
35 | > command. | ||
36 | |||
32 | ``` | 37 | ``` |
38 | $ bitbake-layers add-layer ./<path-to-layer>/meta-openembedded/meta-oe | ||
39 | $ bitbake-layers add-layer ./<path-to-layer>/meta-openembedded/meta-python | ||
40 | $ bitbake-layers add-layer ./<path-to-layer>/meta-openembedded/meta-filesystems | ||
41 | $ bitbake-layers add-layer ./<path-to-layer>/meta-openembedded/meta-networking | ||
33 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-microbalze | 42 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-microbalze |
34 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-core | 43 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-core |
35 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-standalone | 44 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-standalone |
36 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-bsp | 45 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-bsp |
37 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-vendor | 46 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-vendor |
38 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-contrib | 47 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx/meta-xilinx-contrib |
48 | $ bitbake-layers add-layer ./<path-to-layer>/meta-xilinx-tools | ||
39 | ``` | 49 | ``` |
50 | > **Note:** We recommend using meta-xilinx-tools, the version that is built as | ||
51 | > standalone may not work on many boards as it does not know the board configuration. | ||
52 | |||
40 | 5. Set hardware `MACHINE` configuration variable in <proj-dir>/build/conf/local.conf | 53 | 5. Set hardware `MACHINE` configuration variable in <proj-dir>/build/conf/local.conf |
41 | file for a specific target which can boot and run the in the board or QEMU. | 54 | file for a specific target which can boot and run the in the board or QEMU. |
42 | ``` | 55 | ``` |
@@ -75,8 +88,12 @@ Available target machines are: | |||
75 | | | vhk158-versal | | 88 | | | vhk158-versal | |
76 | 89 | ||
77 | 6. Build an OS image for the target using `bitbake` command. | 90 | 6. Build an OS image for the target using `bitbake` command. |
91 | > **Note:** Refer ./<path-to-distro-layer>/conf/templates/default/conf-notes.txt | ||
92 | > for available target image-name. e.g. core-image-minimal | ||
93 | |||
78 | ``` | 94 | ``` |
79 | $ bitbake core-image-minimal | 95 | $ bitbake <image-name> |
80 | ``` | 96 | ``` |
97 | |||
81 | 7. Once complete the images for the target machine will be available in the output | 98 | 7. Once complete the images for the target machine will be available in the output |
82 | directory `${TMPDIR}/deploy/images/${MACHINE}/`. | 99 | directory `${TMPDIR}/deploy/images/${MACHINE}/`. |