Both sides previous revision Previous revision Next revision | Previous revision |
en:power:tqmt10xx:linux:yocto:quickstart_yocto [2019/09/13 11:25] – liedmann | en:power:tqmt10xx:linux:yocto:quickstart_yocto [2025/01/28 12:17] (current) – external edit 127.0.0.1 |
---|
<embed en:templates:tabs_yocto> | {{template>en:templates:tabs_yocto_bootstrap|product_type="Embedded module"|lang="en"|mod_name="tqmt10xx"|mod_name_head="TQMT10xx"|mod_arch="power"|bsp_name="linux"|build_system="yocto"|build_system_head="YOCTO"|bsp_name_head="Linux"}} |
<label product_type>Embedded module</label> | |
<label lang>en</label> | |
<label mod_name>tqmt10xx</label> | |
<label mod_name_head>TQMT10xx</label> | |
<label mod_arch>power</label> | |
<label bsp_name>linux</label> | |
<label build_system>yocto</label> | |
<label build_system_head>YOCTO</label> | |
<label bsp_name_head>Linux</label> | |
</embed> | |
\\ | \\ |
\\ | \\ |
| |
<WRAP round info>The instructions on this page have been tested on Ubuntu 16.04 64bit) in a VMWare virtual machine.</WRAP> | <callout type="primary" icon="true">The instructions on this page have been tested on Ubuntu 16.04 64bit) in a VMWare virtual machine.</callout> |
| |
The meta-tq-powerach layer extends the Yocto Project's reference system Poky to provide support for the TQMT10xx TQ Embedded CPU Modules. | The meta-tq-powerach layer extends the Yocto Project's reference system Poky to provide support for the TQMT10xx TQ Embedded CPU Modules. |
| |
The instructions on this page refer to the BSP and ancillary tools listed in the following table: | The instructions on this page refer to the BSP and ancillary tools listed in the following table: |
| <grid> |
^ BSP Revision ^ 0100 ^ | <col sm="6"> |
| <panel no-body="true"> |
| ^ BSP Revision ^ 0101 ^ |
^ ++meta-tq-powerarch |\\ [[https://github.com/tq-systems/meta-tq-powerarch]]++ | [[https://github.com/tq-systems/meta-tq-powerarch|jethro-tqmtxxxx]] | | ^ ++meta-tq-powerarch |\\ [[https://github.com/tq-systems/meta-tq-powerarch]]++ | [[https://github.com/tq-systems/meta-tq-powerarch|jethro-tqmtxxxx]] | |
^ Yocto Project / Poky Release | [[http://downloads.yoctoproject.org/releases/yocto/yocto-2.0.1/poky-jethro-14.0.1.tar.bz2| Jethro - 2.0.1]] | | ^ Yocto Project / Poky Release | [[http://downloads.yoctoproject.org/releases/yocto/yocto-2.0.1/poky-jethro-14.0.1.tar.bz2| Jethro - 2.0.1]] | |
^ Target machine((i.e. value for [[https://www.yoctoproject.org/docs/2.4.4/ref-manual/ref-manual.html#var-MACHINE|MACHINE]] variable)) | ++tqmt1040-64b-stk | TQMT1040 / STKT104x ++\\ ++tqmt1042-64b-stk | TQMT1042 / STKT104x ++ | | ^ Target machine((i.e. value for [[https://www.yoctoproject.org/docs/2.4.4/ref-manual/ref-manual.html#var-MACHINE|MACHINE]] variable)) | ++tqmt1040-64b-stk | TQMT1040 / STKT104x ++\\ ++tqmt1042-64b-stk | TQMT1042 / STKT104x ++ | |
^ U-Boot | [[http://www.denx.de/wiki/U-Boot/Documentation|2015.07]] | | ^ U-Boot | [[https://github.com/tq-systems/uboot-tqmt/tree/jethro.TQMT104x.BSP.SW.0101|2015.07]] | |
^ Linux Kernel | [[http://lxr.free-electrons.com/source/?v=4.4|4.4]] | | ^ Linux Kernel | [[https://github.com/tq-systems/linux-tqmt/tree/jethro.TQMT104x.BSP.SW.0101|4.4]] | |
| </panel> |
| </col> |
| </grid> |
| |
<WRAP round important> It's strongly recommended to use **git** for downloading both the Yocto Project / Poky Release as well as meta-tq-powerarch (instead of downloading archives and extracting them).</WRAP> | <alert type="warning" icon="fa fa-warning"> It's strongly recommended to use **git** for downloading both the Yocto Project / Poky Release as well as meta-tq-powerarch (instead of downloading archives and extracting them).</alert> |
| |
<WRAP round info> | <callout type="primary" icon="true"> |
The goal of these wiki pages is to get you started using meta-tq-powerach with the STKT104x, so instead of reinventing the wheel we will adhere to the very compact [[https://www.yoctoproject.org/docs/2.0.1/yocto-project-qs/yocto-project-qs.html|Yocto Project Quick Start]] and supply details specific to the STKT104x where necessary. | The goal of these wiki pages is to get you started using meta-tq-powerach with the STKT104x, so instead of reinventing the wheel we will adhere to the very compact [[https://www.yoctoproject.org/docs/2.0.1/yocto-project-qs/yocto-project-qs.html|Yocto Project Quick Start]] and supply details specific to the STKT104x where necessary. |
| |
For further details regarding Yocto Project 2.0.1 - Jethro please refer to its [[https://www.yoctoproject.org/docs/archived-documents/|official documentation]]. | For further details regarding Yocto Project 2.0.1 - Jethro please refer to its [[https://www.yoctoproject.org/docs/archived-documents/|official documentation]]. |
</WRAP> | </callout> |
| |
===== Prerequisites ===== | ===== Prerequisites ===== |
| <panel type="primary" title="Build Host"> |
| |
//Yocto Project / Poky// requires a Linux build host, so first of all you need a development workstation (or a virtual machine((for testing purposes //Yocto Project// provides a ready to use virtual machine called [[https://www.yoctoproject.org/tools-resources/projects/build-appliance|Build Appliance]]))) with a (preferably) recent Linux distribution installed. | //Yocto Project / Poky// requires a Linux build host, so first of all you need a development workstation (or a virtual machine((for testing purposes //Yocto Project// provides a ready to use virtual machine called [[https://www.yoctoproject.org/tools-resources/projects/build-appliance|Build Appliance]]))) with a (preferably) recent Linux distribution installed. |
| |
Although not required by //Yocto Project / Poky//, we also recommend to configure and run a [[en:tftp|tftp server]] (for image download / update) and an [[en:nfs|nfs server]] (for network mounted root filesystem) on your development host. | Although not required by //Yocto Project / Poky//, we also recommend to configure and run a [[en:tftp|tftp server]] (for image download / update) and an [[en:nfs|nfs server]] (for network mounted root filesystem) on your development host. |
| </panel> |
| |
| ===== Yocto Build instructions ===== |
| |
| <panel type="primary" title="BSP build instructions"> |
| <alert type="warning">Please setup the build host as described in the [[.:quickstart_yocto#Prerequisites]] section above .</alert> |
| |
===== Yocto Project / Poky set-up ===== | ===== Yocto Project / Poky set-up ===== |
| |
* Create an empty directory: <code>mkdir yocto && cd yocto</code> | * Create an empty directory: <code>mkdir yocto && cd yocto</code> |
* Initialize the repository: <code>repo init -u ssh://git@github.com/tq-systems/yocto-manifest.git -b jethro-tqmtxxxx</code> | * Initialize the repository: <code>repo init -u https://git@github.com/tq-systems/yocto-manifest.git -b jethro-tqmtxxxx</code> |
* Fetch all the source codes: <code>repo sync</code> | * Fetch all the source codes: <code>repo sync</code> |
| |
| |
<code> bitbake core-image-minimal </code> | <code> bitbake core-image-minimal </code> |
| </panel> |