https://elinux.org/index.php?title=R-Car/Boards/M3NSK/Yocto-Gen3/v3.19.0&feed=atom&action=history
R-Car/Boards/M3NSK/Yocto-Gen3/v3.19.0 - Revision history
2024-03-28T13:55:32Z
Revision history for this page on the wiki
MediaWiki 1.31.0
https://elinux.org/index.php?title=R-Car/Boards/M3NSK/Yocto-Gen3/v3.19.0&diff=520621&oldid=prev
Y.H.: Add legacy header
2020-07-07T06:14:34Z
<p>Add legacy header</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 06:14, 7 July 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Template:R-Car-Gen3-Navbox}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Template:R-Car-Gen3-Navbox}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{Template:R-Car-M3NSK-Yocto-Gen3-legacy-header}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{TOC right}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{TOC right}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:R-Car]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:R-Car]]</div></td></tr>
</table>
Y.H.
https://elinux.org/index.php?title=R-Car/Boards/M3NSK/Yocto-Gen3/v3.19.0&diff=520616&oldid=prev
Y.H.: Update to v3.19.0
2020-07-07T06:13:21Z
<p>Update to v3.19.0</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 06:13, 7 July 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l13" >Line 13:</td>
<td colspan="2" class="diff-lineno">Line 13:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Yocto versions ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Yocto versions ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[http://git.yoctoproject.org/cgit/cgit.cgi/poky/tag/?id=yocto-2.4.3 Poky-2.4.3] is supported with Yocto v3.<del class="diffchange diffchange-inline">21</del>.0.<br/></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[http://git.yoctoproject.org/cgit/cgit.cgi/poky/tag/?id=yocto-2.4.3 Poky-2.4.3] is supported with Yocto v3.<ins class="diffchange diffchange-inline">19</ins>.0.<br/></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Specific commit of meta-openembedded is required.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Specific commit of meta-openembedded is required.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l76" >Line 76:</td>
<td colspan="2" class="diff-lineno">Line 76:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>cd $WORK/meta-renesas</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>cd $WORK/meta-renesas</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>git checkout -b tmp <del class="diffchange diffchange-inline">ad3a8cfee5b6a6fab17cf1c6e5af851eaec75bd7</del></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>git checkout -b tmp <ins class="diffchange diffchange-inline">20fcc94a8d05eda80250f27e87aaa3cfc3275300</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># If you use Kingfisher, below is also necessary</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># If you use Kingfisher, below is also necessary</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#cd $WORK/meta-rcar</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#cd $WORK/meta-rcar</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>#git checkout -b v3.<del class="diffchange diffchange-inline">21</del>.0 remotes/origin/v3.<del class="diffchange diffchange-inline">21</del>.0</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>#git checkout -b v3.<ins class="diffchange diffchange-inline">19</ins>.0 remotes/origin/v3.<ins class="diffchange diffchange-inline">19</ins>.0</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Populate meta-renesas with proprietary software packages</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Populate meta-renesas with proprietary software packages</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l137" >Line 137:</td>
<td colspan="2" class="diff-lineno">Line 137:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>cd $WORK/meta-renesas</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>cd $WORK/meta-renesas</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>git checkout -b tmp <del class="diffchange diffchange-inline">ad3a8cfee5b6a6fab17cf1c6e5af851eaec75bd7</del></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>git checkout -b tmp <ins class="diffchange diffchange-inline">20fcc94a8d05eda80250f27e87aaa3cfc3275300</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#: If you use Kingfisher, below is also necessary.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#: If you use Kingfisher, below is also necessary.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#:: <syntaxhighlight lang="bash"></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#:: <syntaxhighlight lang="bash"></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>cd $WORK/meta-rcar</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>cd $WORK/meta-rcar</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>git checkout -b v3.<del class="diffchange diffchange-inline">21</del>.0 remotes/origin/v3.<del class="diffchange diffchange-inline">21</del>.0</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>git checkout -b v3.<ins class="diffchange diffchange-inline">19</ins>.0 remotes/origin/v3.<ins class="diffchange diffchange-inline">19</ins>.0</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#: Another versions are not tested for compatibility.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#: Another versions are not tested for compatibility.</div></td></tr>
</table>
Y.H.
https://elinux.org/index.php?title=R-Car/Boards/M3NSK/Yocto-Gen3/v3.19.0&diff=520611&oldid=prev
Y.H.: Copy from v3.21.0 page
2020-07-07T06:05:16Z
<p>Copy from v3.21.0 page</p>
<p><b>New page</b></p><div>{{Template:R-Car-Gen3-Navbox}}<br />
{{TOC right}}<br />
[[Category:R-Car]]<br />
[[Category:R-Car Gen3]]<br />
<br />
== Introduction ==<br />
This page contains information on building and running Yocto on:<br />
* [[R-Car/Boards/M3NSK | Renesas R-Car Starter Kit Pro(M3N)]] (unofficial name - M3NULCB), <br />
* [[R-Car/Boards/Kingfisher | Infotainment Carrier Board For R-Car Starter Kit(Kingfisher)]]<br />
<br />
== Topic ==<br />
{{Template:R-Car-Gen3-Topic}}<br />
<br />
== Yocto versions ==<br />
[http://git.yoctoproject.org/cgit/cgit.cgi/poky/tag/?id=yocto-2.4.3 Poky-2.4.3] is supported with Yocto v3.21.0.<br/><br />
Specific commit of meta-openembedded is required.<br />
<br />
== Host PC ==<br />
Ubuntu 16.04 LTS (64bit) is recommended as OS. 32bit version is not supported. <br/><br />
<br />
== Preliminary steps ==<br />
# Please get the proprietary package for R-Car M3N from the your company's distributer.<br />
# Install required packages<br />
#: '''Ubuntu and Debian'''<br />
#:: <syntaxhighlight lang="bash"><br />
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \<br />
build-essential chrpath socat libsdl1.2-dev xterm python-crypto cpio python python3 \<br />
python3-pip python3-pexpect xz-utils debianutils iputils-ping libssl-dev<br />
</syntaxhighlight><br />
#: '''Fedora'''<br />
#:: <syntaxhighlight lang="bash"><br />
sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch \<br />
diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \<br />
ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue socat \<br />
SDL-devel xterm python-crypto cpio python python3 python3-pip python3-pexpect \<br />
ghc-lzma-conduit iputils openssl<br />
</syntaxhighlight><br />
#: Refer to [http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html#packages Yocto Project Quick Start] for more information.<br />
<br />
== Building the BSP for R-Car Starter Kit Pro(M3N) ==<br />
=== Build using script ===<br />
# Directory Structure<br />
#: <syntaxhighlight lang="text"><br />
|--build.sh<br />
`--proprietary<br />
`-- <Proprietary package for R-Car M3N><br />
</syntaxhighlight><br />
# Build script(build.sh)<br />
#: <syntaxhighlight lang="bash"><br />
#!/bin/bash<br />
<br />
TARGET_BOARD=m3nulcb<br />
<br />
# Create a directory and switch to it<br />
mkdir ${TARGET_BOARD}<br />
cd ${TARGET_BOARD}<br />
WORK=`pwd`<br />
<br />
# Clone basic Yocto layers in parallel<br />
git clone git://git.yoctoproject.org/poky &<br />
git clone git://git.linaro.org/openembedded/meta-linaro.git &<br />
git clone git://git.openembedded.org/meta-openembedded &<br />
git clone git://github.com/renesas-rcar/meta-renesas &<br />
# If you use Kingfisher, below is also necessary<br />
#git clone git://github.com/CogentEmbedded/meta-rcar.git &<br />
<br />
# Wait for all clone operations<br />
wait<br />
<br />
# Switch to proper branches/commits<br />
cd $WORK/poky<br />
git checkout -b tmp 7e7ee662f5dea4d090293045f7498093322802cc<br />
cd $WORK/meta-openembedded<br />
git checkout -b tmp 352531015014d1957d6444d114f4451e241c4d23<br />
cd $WORK/meta-linaro<br />
git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885<br />
cd $WORK/meta-renesas<br />
git checkout -b tmp ad3a8cfee5b6a6fab17cf1c6e5af851eaec75bd7<br />
# If you use Kingfisher, below is also necessary<br />
#cd $WORK/meta-rcar<br />
#git checkout -b v3.21.0 remotes/origin/v3.21.0<br />
<br />
# Populate meta-renesas with proprietary software packages<br />
cd $WORK/meta-renesas<br />
sh meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh -f $WORK/../proprietary<br />
<br />
cd $WORK<br />
source poky/oe-init-build-env $WORK/build<br />
<br />
#cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/${TARGET_BOARD}/poky-gcc/bsp/*.conf ./conf/.<br />
#cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/${TARGET_BOARD}/poky-gcc/gfx-only/*.conf ./conf/.<br />
cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/${TARGET_BOARD}/poky-gcc/mmp/*.conf ./conf/<br />
<br />
cd $WORK/build<br />
cp conf/local-wayland.conf conf/local.conf<br />
<br />
# If you use Kingfisher, below is also necessary<br />
#bitbake-layers add-layer ../meta-rcar/meta-rcar-gen3-adas<br />
<br />
bitbake core-image-weston<br />
</syntaxhighlight><br />
# build<br />
#:<syntaxhighlight lang="text"><br />
./build.sh<br />
</syntaxhighlight><br />
#: If the build completes successfully, all the necessary files are generated in a following directory:<br />
#::<syntaxhighlight lang="text"><br />
./<target_board_name>/build/tmp/deploy/images/<target_board_name><br />
</syntaxhighlight><br />
<br />
=== Build using manual steps ===<br />
# Create a directory and switch to it<br />
#: Warning! Yocto builds require a lot of disk space (up to 100 GB). Make sure you have got enough before starting the build.<br />
#: <syntaxhighlight lang="bash"><br />
mkdir build<br />
cd build<br />
export WORK=`pwd`<br />
</syntaxhighlight><br />
# Clone basic Yocto layers:<br />
#: <syntaxhighlight lang="bash">cd $WORK<br />
git clone git://git.yoctoproject.org/poky<br />
git clone git://git.openembedded.org/meta-openembedded<br />
git clone git://git.linaro.org/openembedded/meta-linaro.git<br />
git clone git://github.com/renesas-rcar/meta-renesas<br />
</syntaxhighlight><br />
#: If you use Kingfisher, below is also necessary.<br />
#:: <syntaxhighlight lang="bash"><br />
git clone git://github.com/CogentEmbedded/meta-rcar.git<br />
</syntaxhighlight><br />
# Switch to proper branches/commits<br />
#: <syntaxhighlight lang="bash"><br />
cd $WORK/poky<br />
git checkout -b tmp 7e7ee662f5dea4d090293045f7498093322802cc<br />
cd $WORK/meta-openembedded<br />
git checkout -b tmp 352531015014d1957d6444d114f4451e241c4d23<br />
cd $WORK/meta-linaro<br />
git checkout -b tmp 75dfb67bbb14a70cd47afda9726e2e1c76731885<br />
cd $WORK/meta-renesas<br />
git checkout -b tmp ad3a8cfee5b6a6fab17cf1c6e5af851eaec75bd7<br />
</syntaxhighlight><br />
#: If you use Kingfisher, below is also necessary.<br />
#:: <syntaxhighlight lang="bash"><br />
cd $WORK/meta-rcar<br />
git checkout -b v3.21.0 remotes/origin/v3.21.0<br />
</syntaxhighlight><br />
#: Another versions are not tested for compatibility.<br />
#: Legacy BSP instruction can be found here [[R-Car/Boards/M3NSK/Yocto-Gen3-legacy | R-Car M3NSK Yocto Gen3 legacy]]<br />
# Please get the proprietary package for R-Car M3N from the your company's distributer. And copy them to $WORK/proprietary folder.<br />
# Populate meta-renesas with proprietary software packages.<br />
#: <syntaxhighlight lang="bash"><br />
export PKGS_DIR=$WORK/proprietary<br />
cd $WORK/meta-renesas<br />
sh meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh -f $PKGS_DIR<br />
unset PKGS_DIR<br />
</syntaxhighlight><br />
# Setup build environment<br />
#: <syntaxhighlight lang="bash"><br />
cd $WORK<br />
source poky/oe-init-build-env $WORK/build<br />
</syntaxhighlight><br />
# Prepare default configuration files.<br />
#: <syntaxhighlight lang="bash"><br />
cp $WORK/meta-renesas/meta-rcar-gen3/docs/sample/conf/m3nulcb/poky-gcc/mmp/*.conf ./conf/<br />
cd $WORK/build<br />
cp conf/local-wayland.conf conf/local.conf<br />
</syntaxhighlight><br />
# If you use Kingfisher, add layer meta-rcar.<br />
#: <syntaxhighlight lang="bash"><br />
bitbake-layers add-layer ../meta-rcar/meta-rcar-gen3-adas<br />
</syntaxhighlight><br />
# Start the build<br />
#: <syntaxhighlight lang="bash"><br />
bitbake core-image-weston<br />
</syntaxhighlight><br />
<br />
== Build SDK ==<br />
Refer to [[R-Car/Boards/Yocto-Gen3#Build_SDK]].<br />
<br />
== Running Yocto images ==<br />
Refer to follows:<br />
* [[R-Car/Boards/Yocto-Gen3#Running_Yocto_images]].<br />
* [[R-Car/Boards/M3NSK#Booting_Linux]]<br />
<br />
== Q&A site ==<br />
http://renesasrulz.com/r-car-h3-m3-cockpit/<br />
<br />
== FAQ page ==<br />
https://elinux.org/R-Car/Boards/Yocto-Gen3-CommonFAQ</div>
Y.H.