RZ-G/RZ-G2 BSP: Difference between revisions

From Renesas.info
(3 intermediate revisions by the same user not shown)
Line 23: Line 23:
{| class="wikitable"
{| class="wikitable"
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|
| style="width:500px" | .
|'''RZ/G VLP v3.0.0'''
|'''RZ/G VLP v3.0.0'''
|'''RZ/G VLP v3.0.0-update1'''
|'''RZ/G VLP v3.0.0-update2'''
|'''RZ/G VLP v3.0.0-update2'''
|'''RZ/G VLP v3.0.1'''
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|📦 '''RZ/G2 Linux Package (Common for all MPU <font color=blue>▲</font> <font color=green>▲</font> <font color=orange>▲</font>    )''' <br> ZIP file containing Yocto BSP and all documentation
|📦 '''RZ/G2 Linux Package (Common for all MPU <font color="blue">▲</font> <font color="green">▲</font> <font color="orange">▲</font>    )''' <br> ZIP file containing Yocto BSP and all documentation
* '''Yocto Recipe''' <br> This is the actual BSP provided in a Yocto build package
*'''Yocto Recipe''' <br> This is the actual BSP provided in a Yocto build package
* '''Release Note for Linux Package''' <br>  Build instructions, start with this document
*'''Release Note for Linux Package''' <br>  Build instructions, start with this document
* '''Reference Boards Linux Start-up Guide''' <br>  How to program the boot loaders into SPI flash
*'''Reference Boards Linux Start-up Guide''' <br>  How to program the boot loaders into SPI flash
* '''BSP Component list''' <br> List of each package and version included in the default BSP build
*'''BSP Component list''' <br> List of each package and version included in the default BSP build
|💾 [https://www.renesas.com/us/en/document/sws/rzg-verified-linux-package-v300-rtk0ef0045z0021azj-v300zip?r=1597481 (direct link)] <br> 🗨️ [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-mpus/rzg-linux-platform/rzg-marketplace/verified-linux-package/rzg-verified-linux-package (info page)] <font color=blue>▲</font> <font color=green>▲</font>
|💾 [https://www.renesas.com/us/en/document/sws/rzg-verified-linux-package-v300-rtk0ef0045z0021azj-v300zip?r=1597481 (direct link)] <br> 🗨️ [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-mpus/rzg-linux-platform/rzg-marketplace/verified-linux-package/rzg-verified-linux-package (info page)] <font color="blue">▲</font> <font color="green">▲</font>
|💾 [https://www.renesas.com/us/en/document/sws/rzg-verified-linux-package-v300-update1-rtk0ef0045z0021azj-v300-update1zip?r=1597481 (direct link)] <br> 🗨️ [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-mpus/rzg-linux-platform/rzg-marketplace/verified-linux-package/rzg-verified-linux-package (info page)] <font color=blue>▲</font> <font color=green>▲</font>
|💾 [https://www.renesas.com/us/en/document/sws/rzg-verified-linux-package-v300-update2-rtk0ef0045z0021azj-v300-update2zip?r=1597481 (direct link)] <br> 🗨️ [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-mpus/rzg-linux-platform/rzg-marketplace/verified-linux-package/rzg-verified-linux-package (info page)] <font color="blue">▲</font> <font color="green">▲</font> <br> <br> 📦 [https://www.renesas.com/jp/en/software-tool/rzv-verified-linux-package-510-cip RZ/V2L Package] <font color="orange">▲</font>
|💾 [https://www.renesas.com/us/en/document/sws/rzg-verified-linux-package-v300-update2-rtk0ef0045z0021azj-v300-update2zip?r=1597481 (direct link)] <br> 🗨️ [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-mpus/rzg-linux-platform/rzg-marketplace/verified-linux-package/rzg-verified-linux-package (info page)] <font color=blue>▲</font> <font color=green>▲</font> <br> <br> 📦 [https://www.renesas.com/jp/en/software-tool/rzv-verified-linux-package-510-cip RZ/V2L Package] <font color=orange>▲</font>
|💾 [https://www.renesas.com/jp/en/document/sws/rzg-verified-linux-package-v301-rtk0ef0045z0021azj-v301zip (direct link)] <br> 🗨️ [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-mpus/rzg-linux-platform/rzg-marketplace/verified-linux-package/rzg-verified-linux-package (info page)] <font color="blue">▲</font> <font color="green">▲</font>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
| 🎨 '''Graphics (PowerVR) and '''🎦''' Video Codec Libraries'''
|🎨 '''Graphics (PowerVR) and '''🎦''' Video Codec Libraries'''
* For devices '''<font color=green>RZ/G2H, RZ/G2M, RZ/G2N, RZ/G2E</font>'''
*For devices '''<font color="green">RZ/G2H, RZ/G2M, RZ/G2N, RZ/G2E</font>'''
* The "Evaluation Version" can be downloaded immediately, but has a 2 hour timeout after every board boot.
*The "Evaluation Version" can be downloaded immediately, but has a 2 hour timeout after every board boot.
* The "Unrestricted Version" request link is at the at the bottom of the page (see '''Note1''' below)
*The "Unrestricted Version" request link is at the at the bottom of the download page (see '''Note1''' below)
|💾 [https://www.renesas.com/us/en/document/sws/rz-mpu-multimedia-package-evaluation-version-rzg2h-rzg2m-rzg2n-and-rzg2e?language=en V1.0 (direct link)] <br> 🗨️ [https://www.renesas.com/products/microcontrollers-microprocessors/rz-mpus/rzg-linux-platform/rzg-marketplace/verified-linux-package/rz-mpu-multimedia-package-rzg2h-rzg2m-rzg2n-and-rzg2e V1.0 (info page)]
|💾 [https://www.renesas.com/us/en/document/sws/rz-mpu-multimedia-package-evaluation-version-rzg2h-rzg2m-rzg2n-and-rzg2e?language=en V1.0 (direct link)] <br> 🗨️ [https://www.renesas.com/products/microcontrollers-microprocessors/rz-mpus/rzg-linux-platform/rzg-marketplace/verified-linux-package/rz-mpu-multimedia-package-rzg2h-rzg2m-rzg2n-and-rzg2e V1.0 (info page)]
| 👈
|👈
| 👈
|👈
|- style="vertical-align: top;"
|- style="vertical-align: top;"
| 🎨 '''Graphics (Mali) Libraries'''
|🎨 '''Graphics (Mali) Libraries'''
* For devices <font color=blue>'''RZ/G2L, RZ/G2LC'''</font>, <font color=orange>'''RZ/V2L'''</font>
*For devices <font color="blue">'''RZ/G2L, RZ/G2LC'''</font>, <font color="orange">'''RZ/V2L'''</font>
* The "Evaluation Version" can be downloaded immediately, but has a '''2 hour timeout''' after every board boot.
*The "Evaluation Version" can be downloaded immediately, but has a '''2 hour timeout''' after every board boot.
* The "Unrestricted Version" request link is at the at the bottom of the page (see '''Note1''' below)
*The "Unrestricted Version" request link is at the at the bottom of the download page (see '''Note1''' below)
|💾 [https://www.renesas.com/us/en/document/sws/rz-mpu-graphic-library-evaluation-version-v10-rzg2l-and-rzg2lc?r=1522761 V1.0 (direct link)] <br> 🗨️ [https://www.renesas.com/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (info page) ]
|💾 [https://www.renesas.com/us/en/document/sws/rz-mpu-graphic-library-evaluation-version-v10-rzg2l-and-rzg2lc?r=1522761 V1.0 (direct link)] <br> 🗨️ [https://www.renesas.com/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (info page)]
|💾 [https://www.renesas.com/jp/en/document/sws/rz-mpu-graphics-library-evaluation-version-v12-rzg2l-rzg2lc-and-rzv2l-rtk0ef0045z13001zj-v12enzip?r=1522761 V1.2 (direct link)] <br> 🗨️ [https://www.renesas.com/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (info page) ]
|💾 [https://www.renesas.com/jp/en/document/sws/rz-mpu-graphics-library-evaluation-version-v12-rzg2l-rzg2lc-and-rzv2l-rtk0ef0045z13001zj-v12enzip?r=1522761 V1.2 (direct link)] <br> 🗨️ [https://www.renesas.com/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (info page)]
| 👈
|💾 [https://www.renesas.com/jp/en/document/sws/rz-mpu-graphic-library-evaluation-version-v13-rzg2l-and-rzg2lc-rtk0ef0045z14001zj-v13xxzip V1.3 (direct link)] <br> 🗨️ [https://www.renesas.com/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (info page)]
|- style="vertical-align: top;"
|- style="vertical-align: top;"
| 🎦 '''Video Codec Libraries'''
|🎦 '''Video Codec Libraries'''
* For devices <font color=blue>'''RZ/G2L'''</font> and '''<font color=orange>RZ/V2L</font>'''
*For devices <font color="blue">'''RZ/G2L'''</font> and '''<font color="orange">RZ/V2L</font>'''
* Only the "Evaluation Version" is available at this time.
|💾 [https://www.renesas.com/us/en/document/sws/rz-mpu-video-codec-library-evaluation-version-v056-rzg2l?r=1535641 V0.56 (direct link)]<br> 🗨️ [https://www.renesas.com/software-tool/video-codec-library-evaluation-version-rzg2l-and-rzv2l (info page)]
| 💾 [https://www.renesas.com/us/en/document/sws/rz-mpu-video-codec-library-evaluation-version-v056-rzg2l?r=1535641 V0.56 (direct link)]<br> 🗨️ [https://www.renesas.com/software-tool/video-codec-library-evaluation-version-rzg2l-and-rzv2l (info page)]
|💾 [https://www.renesas.com/us/en/document/sws/rz-mpu-video-codec-library-evaluation-version-v058-rzg2l-and-rzv2l-rtk0ef0045z15001zj-v058enzip?r=1535641 V0.58 (direct link)]<br> 🗨️ [https://www.renesas.com/software-tool/video-codec-library-evaluation-version-rzg2l-and-rzv2l (info page)]
| 💾 [https://www.renesas.com/us/en/document/sws/rz-mpu-video-codec-library-evaluation-version-v057-rzg2l-and-rzv2l-rtk0ef0045z15001zj-v057enzip?r=1535641 V0.57 (direct link)]<br> 🗨️ [https://www.renesas.com/us/en/software-tool/rz-mpu-video-codec-library-evaluation-version-rzg2l-and-rzv2l (info page)]
|💾 [https://www.renesas.com/jp/en/document/sws/rz-mpu-video-codec-library-evaluation-version-v10-rzg2l-rtk0ef0045z15001zj-v10xxzip V1.0 (direct link)]<br> 🗨️ [https://www.renesas.com/software-tool/video-codec-library-evaluation-version-rzg2l-and-rzv2l (info page)]
| 💾 [https://www.renesas.com/us/en/document/sws/rz-mpu-video-codec-library-evaluation-version-v058-rzg2l-and-rzv2l-rtk0ef0045z15001zj-v058enzip?r=1535641 V0.58 (direct link)]<br> 🗨️ [https://www.renesas.com/software-tool/video-codec-library-evaluation-version-rzg2l-and-rzv2l (info page)]
|- style="vertical-align: top;"
|- style="vertical-align: top;"
| 🌐 '''HTML5 Browser (Gecko91/Firefox)'''
|🌐 '''HTML5 Browser (Gecko91/Firefox)'''
* For devices <font color=blue>'''RZ/G2L'''</font>
*For devices <font color="blue">'''RZ/G2L'''</font> '''<font color="green">RZ/G2H, RZ/G2M, RZ/G2N, RZ/G2E</font>'''
| 💾 [https://www.renesas.com/jp/en/document/sws/html5-gecko-packages-rzg-verified-linux-package-v300-rtk0ef0045z40001zjv300zip?language=en&r=1467981 V1.0 (direct link)] <br> 🗨️ [https://www.renesas.com/us/en/software-tool/rz-mpu-html5-gecko-package-v10-verified-linux-packages-510-cip (info page)]
|💾 [https://www.renesas.com/us/en/document/sws/html5-gecko-packages-v11-rzg-verified-linux-package-v300-rtk0ef0045z40001zjv11zip V1.1 (direct link)] <br> 🗨️ [https://www.renesas.com/us/en/software-tool/rz-mpu-html5-gecko-package-v10-verified-linux-packages-510-cip (info page)]
|  
|
|
|
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|📄 '''RZ/G2 Group BSP Manual Set''' <br> Detailed information about Device Drivers and Device Tree Settings
| 📄 '''BSP Manual Set''' <br> Detailed information about Device Drivers and Device Tree Settings
|📄 [https://www.renesas.com/eu/en/document/rzg2-group-bsp-manual-set?language=en (link)]
| colspan="4" |📄 [https://www.renesas.com/eu/en/document/rzg2-group-bsp-manual-set?language=en RZ/G2H, RZ/G2M, RZ/G2N, and RZ/G2E (link)]
| 👈
📄 [https://www.renesas.com/document/oth/rzg2l-group-bsp-manual-set?language=en RZ/G2L,RZ/G2LC, RZ/G2UL, RZ/V2L (link)]
| 👈
|}
|}


* '''Note1 - Unrestricted Versions:''' When requesting the "Unrestricted Version", additional information about your product might be required. Additionally, but please allow '''up to 2 weeks''' for the request to complete due to internal license processing. When you submit a request, you will instantly get an email confirmation, but you will not get another email until the request has been completed.
*'''Note1 - Unrestricted Versions:''' When requesting the "Unrestricted Version", additional information about your product might be required. Additionally, but please allow '''up to 2 weeks''' for the request to complete due to internal license processing. When you submit a request, you will instantly get an email confirmation, but you will not get another email until the request has been completed.


<br>
<br>


== BSP with Linux 4.19 kernel for RZ/G2E, RZ/G2N, RZ/G2M, RZ/G2H==
==BSP with Linux 4.19 kernel for RZ/G2E, RZ/G2N, RZ/G2M, RZ/G2H==
* <font size=+2>'''RZ/G2E, RZ/G2N, RZ/G2M, RZ/G2H'''</font>
*<font size="+2">'''RZ/G2E, RZ/G2N, RZ/G2M, RZ/G2H'''</font>
* <font size=+1> ⭐ [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-cortex-a-mpus/rzg-linux-platform/rzg-marketplace/verified-linux-package Official RZ/G2 BSP Download Page] </font>
*<font size="+1"> ⭐ [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-cortex-a-mpus/rzg-linux-platform/rzg-marketplace/verified-linux-package Official RZ/G2 BSP Download Page] </font>
** The '''Evaluation Version''' can be downloaded '''immediately''', but there is a timeout on the proprietary graphics and video codec libraries.
**The '''Evaluation Version''' can be downloaded '''immediately''', but there is a timeout on the proprietary graphics and video codec libraries.
** The '''Product Version''' is available at the bottom of the page, and the timeout is removed, but due to license processing, it requires '''1 to 2 weeks''' before download.
**The '''Product Version''' is available at the bottom of the page, and the timeout is removed, but due to license processing, it requires '''1 to 2 weeks''' before download.
{| class="wikitable"
{| class="wikitable"
|- style="vertical-align: top;"
|- style="vertical-align: top;"
Line 91: Line 89:
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|📦 '''RZ/G2 Linux Package (Complete Download)''' <br> ZIP file containing Yocto BSP and all documentation
|📦 '''RZ/G2 Linux Package (Complete Download)''' <br> ZIP file containing Yocto BSP and all documentation
* '''Yocto Recipe''' <br> This is the actual BSP provided in a Yocto build package
*'''Yocto Recipe''' <br> This is the actual BSP provided in a Yocto build package
* '''Release Note for Linux Package''' <br>  Build instructions, start with this document
*'''Release Note for Linux Package''' <br>  Build instructions, start with this document
* '''Reference Boards Linux Start-up Guide''' <br>  How to program the boot loaders into SPI flash
*'''Reference Boards Linux Start-up Guide''' <br>  How to program the boot loaders into SPI flash
* '''Release Note for HTML5 Linux Package''' <br> Building the HTML5 browser using the BSP requires a different set of instructions
*'''Release Note for HTML5 Linux Package''' <br> Building the HTML5 browser using the BSP requires a different set of instructions
* '''BSP Component list''' <br> List of each package and version included in the default BSP build
*'''BSP Component list''' <br> List of each package and version included in the default BSP build
|💾 [https://www.renesas.com/us/en/document/esw/rzg-verified-linux-package-64bit-kernel-v108-rtk0ef0045z0011azj-v108zip?r=1163891 (link)]
|💾 [https://www.renesas.com/us/en/document/esw/rzg-verified-linux-package-64bit-kernel-v108-rtk0ef0045z0011azj-v108zip?r=1163891 (link)]
|💾 [https://www.renesas.com/us/en/document/swe/rzg-verified-linux-package-64bit-kernel-v109-rt-rtk0ef0045z0011azj-v109rtzip?r=1163946 (link)]
|💾 [https://www.renesas.com/us/en/document/swe/rzg-verified-linux-package-64bit-kernel-v109-rt-rtk0ef0045z0011azj-v109rtzip?r=1163946 (link)]
Line 102: Line 100:
|💾 [https://www.renesas.com/jp/en/document/swe/rzg-verified-linux-package-64bit-kernel-v1012-rtk0ef0045z0011azj-v1012zip?r=1163891 (link)]
|💾 [https://www.renesas.com/jp/en/document/swe/rzg-verified-linux-package-64bit-kernel-v1012-rtk0ef0045z0011azj-v1012zip?r=1163891 (link)]
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|📦 '''RZ/G2 Group BSP Manual Set''' <br> Detailed information about Device Drivers and Device Tree Settings
| 📦 '''RZ/G2 Group BSP Manual Set''' <br> Detailed information about Device Drivers and Device Tree Settings
|📄 [https://www.renesas.com/eu/en/document/rzg2-group-bsp-manual-set?language=en (link)]
|📄 [https://www.renesas.com/eu/en/document/rzg2-group-bsp-manual-set?language=en (link)]
|📄 [https://www.renesas.com/eu/en/document/rzg2-group-bsp-manual-set?language=en (link)]
|📄 [https://www.renesas.com/eu/en/document/rzg2-group-bsp-manual-set?language=en (link)]
Line 113: Line 111:


==BSP with Linux 4.19 kernel for RZ/G2L, RZ/G2LC, RZ/G2UL==
==BSP with Linux 4.19 kernel for RZ/G2L, RZ/G2LC, RZ/G2UL==
* <font size=+2>'''RZ/G2L, RZ/G2LC, RZ/G2UL'''</font>
*<font size="+2">'''RZ/G2L, RZ/G2LC, RZ/G2UL'''</font>
* <font size=+1> ⭐ [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-board-support-package-419-cip Official RZ/G2L BSP Download Page] </font>
*<font size="+1"> ⭐ [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-board-support-package-419-cip Official RZ/G2L BSP Download Page] </font>
* <font size=+1> ⚠️ BSP v1.3 and earlier will have build issues. [https://renesas.info/wiki/RZ-G/RZ-G2_BSP#Changes_to_Github_Break_BSP_Build Please see here...] </font>
*<font size="+1"> ⚠️ BSP v1.3 and earlier will have build issues. [https://renesas.info/wiki/RZ-G/RZ-G2_BSP#Changes_to_Github_Break_BSP_Build Please see here...] </font>
{| class="wikitable"
{| class="wikitable"
|- style="vertical-align: top;"
|- style="vertical-align: top;"
Line 127: Line 125:
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|🎨 '''RZ/G2L Mali Graphic Library (Evaluation Version)(Recommended)''' <br> ● Files to be added to the Yocto BSP to enable Graphics <br> ● Full function but 3-hour timeout limited. '''Download immediately'''.
|🎨 '''RZ/G2L Mali Graphic Library (Evaluation Version)(Recommended)''' <br> ● Files to be added to the Yocto BSP to enable Graphics <br> ● Full function but 3-hour timeout limited. '''Download immediately'''.
| v0.8 <br> 💾 [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (link)]
|v0.8 <br> 💾 [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (link)]
| v0.81 <br> 💾 [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (link)]
|v0.81 <br> 💾 [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (link)]
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|🎨 '''RZ/G2L Mali Graphic Library (Unrestricted Version)''' <br> ● Files to be added to the Yocto BSP to enable Graphics <br> ● Due to license processing, requires '''1 to 2 weeks''' before download.
|🎨 '''RZ/G2L Mali Graphic Library (Unrestricted Version)''' <br> ● Files to be added to the Yocto BSP to enable Graphics <br> ● Due to license processing, requires '''1 to 2 weeks''' before download.
| v0.8 <br> 💾 [https://www.renesas.com/us/en/document/sws/mali-gpu-graphics-library-product-version-v08-board-support-package-rzg2l-rzg2lc-and-rzv2l?language=en (link)]
|v0.8 <br> 💾 [https://www.renesas.com/us/en/document/sws/mali-gpu-graphics-library-product-version-v08-board-support-package-rzg2l-rzg2lc-and-rzv2l?language=en (link)]
| v0.81 <br> 💾 [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (link)]<br>(bottom of page)
|v0.81 <br> 💾 [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-mali-graphic-library-evaluation-version (link)]<br>(bottom of page)
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|🎦 '''RZ/G2L Video Codec Library''' <br> ● Files to be added to the Yocto BSP to enable H.264 Video Encode/Decode
|🎦 '''RZ/G2L Video Codec Library''' <br> ● Files to be added to the Yocto BSP to enable H.264 Video Encode/Decode
| v0.53 <br> 💾 [https://www.renesas.com/us/en/software-tool/rzg2l-video-codec-library-evaluation-version-v053 (link)]
|v0.53 <br> 💾 [https://www.renesas.com/us/en/software-tool/rzg2l-video-codec-library-evaluation-version-v053 (link)]
| v0.55 <br> 💾 [https://www.renesas.com/us/en/software-tool/video-codec-library-evaluation-version-rzg2l-and-rzv2l (link)]
|v0.55 <br> 💾 [https://www.renesas.com/us/en/software-tool/video-codec-library-evaluation-version-rzg2l-and-rzv2l (link)]
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|📄 '''RZ/G2L Group BSP Manual Set''' <br> ● Detailed information about Device Drivers and Device Tree Settings
|📄 '''RZ/G2L Group BSP Manual Set''' <br> ● Detailed information about Device Drivers and Device Tree Settings
Line 142: Line 140:
|📄 [https://www.renesas.com/document/oth/rzg2l-group-bsp-manual-set-rev101?language=en (link)]
|📄 [https://www.renesas.com/document/oth/rzg2l-group-bsp-manual-set-rev101?language=en (link)]
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|📦 '''RZ/G2L Multi-OS Package (CM33)''' <br> ● FreeRTOS for CM33 and OpenAMP comms between A55 and CM33
| 📦 '''RZ/G2L Multi-OS Package (CM33)''' <br> ● FreeRTOS for CM33 and OpenAMP comms between A55 and CM33
|v1.00 <br>💾 [https://www.renesas.com/jp/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-multi-os-package (link)]
|v1.00 <br>💾 [https://www.renesas.com/jp/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-multi-os-package (link)]
|v1.02 <br> 💾 [https://www.renesas.com/jp/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-multi-os-package (link)]
|v1.02 <br> 💾 [https://www.renesas.com/jp/en/products/microcontrollers-microprocessors/rz-arm-based-high-end-32-64-bit-mpus/rzg2l-multi-os-package (link)]
Line 150: Line 148:
Information on using the BSP is found on other pages such as [[RZ-G/RZG_yocto]].
Information on using the BSP is found on other pages such as [[RZ-G/RZG_yocto]].


= Add HTML5 Browser to BSP v3.0.0 =
=Add HTML5 Browser to BSP v3.0.0=
* The following instructions will add Firefox and the HTML engine Gecko (version 91) to the VLP/G v3.0.0 BSP.
*The following instructions will add Firefox and the HTML engine Gecko (version 91) to the VLP/G v3.0.0 BSP.
* First, download and configure the BSP by following the '''Release Note''' document. Do the steps in Section 3, but '''stop at step "(6) Start a build"'''. We need to make some changes before we run "bitbake core-image-weston".
*First, download and configure the BSP by following the '''Release Note''' document. Do the steps in Section 3, but '''stop at step "(6) Start a build"'''. We need to make some changes before we run "bitbake core-image-weston".
* Now that you have configured the BSP, you can follow the instructions below to add HTML support.
*Now that you have configured the BSP, you can follow the instructions below to add HTML support.
* For the instructions below, start at the base of the BSP directory. If you are in the build directory, please do a cd .. first to get back to the base of the BSP before copy/pasting the instructions below.
*For the instructions below, start at the base of the BSP directory. If you are in the build directory, please do a cd .. first to get back to the base of the BSP before copy/pasting the instructions below.
* Please note that these changes will '''break a core-image-qt build'''.
*Please note that these changes will '''break a core-image-qt build'''.


{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
| Instructions &nbsp;  &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp;
|Instructions &nbsp;  &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp;
|-
|-
|
|
Line 182: Line 180:
</pre>
</pre>


* '''Comment out''' the following line in the build/conf/local.conf by placing a "#" at the beginning of the line.
*'''Comment out''' the following line in the build/conf/local.conf by placing a "#" at the beginning of the line.
<pre>
<pre>
#DISTRO_FEATURES_remove = " x11"
#DISTRO_FEATURES_remove = " x11"
Line 209: Line 207:
</pre>
</pre>


* '''Save and close''' local.conf
*'''Save and close''' local.conf
<br>
<br>


Line 216: Line 214:
$ gedit build/conf/bblayers.conf &
$ gedit build/conf/bblayers.conf &
</pre>
</pre>
* '''Add the meta-layers''' (meta-rust, meta-clang, meta-browser) we downloaded (git cloned) to '''BBLAYERS'''
*'''Add the meta-layers''' (meta-rust, meta-clang, meta-browser) we downloaded (git cloned) to '''BBLAYERS'''
<pre>
<pre>
   ${TOPDIR}/../meta-rust \
   ${TOPDIR}/../meta-rust \
Line 222: Line 220:
   ${TOPDIR}/../meta-browser \
   ${TOPDIR}/../meta-browser \
</pre>
</pre>
* '''Save and close''' bblayers.conf
*'''Save and close''' bblayers.conf


<br>
<br>
Line 232: Line 230:


'''How to launch Firefox91'''
'''How to launch Firefox91'''
* After launching the board, you can launch Firefox91 with the following command.
*After launching the board, you can launch Firefox91 with the following command.
* We suggest that you use PMIC board with Full HD resolution(1920:1080) to evaluate HTML5.
* We suggest that you use PMIC board with Full HD resolution(1920:1080) to evaluate HTML5.
'''Launch in a window:'''
'''Launch in a window:'''
Line 242: Line 240:
<pre>
<pre>
$ WAYLAND_DISPLAY=wayland-0 GDK_BACKEND=wayland MOZ_OMX_RZG2L=1 firefox --width 1024 --height 600 --kiosk https://renesas.info
$ WAYLAND_DISPLAY=wayland-0 GDK_BACKEND=wayland MOZ_OMX_RZG2L=1 firefox --width 1024 --height 600 --kiosk https://renesas.info
</pre>
</pre>  


|}
|}


= BSP Differences Between renesas.com Download and Github Version =
= BSP Differences Between renesas.com Download and Github Version=


Below are the differences between BSP you download from renesas.com and what is available on public repositories.
Below are the differences between BSP you download from renesas.com and what is available on public repositories.


'''Public Repository Clones'''<br>
'''Public Repository Clones'''<br>
* meta-gplv2/
*meta-gplv2/
* meta-linaro/
*meta-linaro/
* meta-openembedded/
*meta-openembedded/
* meta-qt5/
*meta-qt5/
* meta-rzg2/
*meta-rzg2/
* meta-virtualization/
*meta-virtualization/
* poky/
* poky/
These directories are direct clones (no modifications) from public repositories. The repository URLs and commit IDs that were used are documented in the [https://github.com/renesas-rz/meta-rzg2/blob/master/README.md README.md] file in the meta-rzg2 directory in the BSP.
These directories are direct clones (no modifications) from public repositories. The repository URLs and commit IDs that were used are documented in the [https://github.com/renesas-rz/meta-rzg2/blob/master/README.md README.md] file in the meta-rzg2 directory in the BSP.
Line 262: Line 260:


'''Example Layers'''<br>
'''Example Layers'''<br>
* meta-hmi-custom/
*meta-hmi-custom/
* meta-userboard/
*meta-userboard/
These directories do not have any functionally. They are simple example templates you can use to make your own customer layers. They are only included in the renesas.com package.
These directories do not have any functionally. They are simple example templates you can use to make your own customer layers. They are only included in the renesas.com package.




'''The RZ/G2 BSP'''<br>
'''The RZ/G2 BSP'''<br>
* meta-rzg2/
*meta-rzg2/
Basically, all the customizations and patches are located in the directory 'meta-rzg2'.<br>
Basically, all the customizations and patches are located in the directory 'meta-rzg2'.<br>
This directory is a clone of the public repository is located here: https://github.com/renesas-rz/meta-rzg2.<br>
This directory is a clone of the public repository is located here: https://github.com/renesas-rz/meta-rzg2.<br>
There are git tags for BSP version that was release.<br>
There are git tags for BSP version that was release.<br>
The only difference is that in the renesas.com version, the following lines were added to the local.conf files under docs/sample/conf
The only difference is that in the renesas.com version, the following lines were added to the local.conf files under docs/sample/conf
: DL_DIR = "${TOPDIR}/oss_packages"
:DL_DIR = "${TOPDIR}/oss_packages"
: BB_NO_NETWORK = "0"
:BB_NO_NETWORK = "0"
Additionally, other configuration files such as bblayers_gecko.conf and local_gecko.con are added to the renesas.com download that are not in the github version.
Additionally, other configuration files such as bblayers_gecko.conf and local_gecko.con are added to the renesas.com download that are not in the github version.




'''Non-public Patches'''<br>
'''Non-public Patches'''<br>
* extra/
*extra/
This directory is only in the package downloaded from renesas.com<br>
This directory is only in the package downloaded from renesas.com<br>
It contains patches that are not included in the public the meta-rzg2 repository on github. For example, the patches to enable HDMI on the boards were not posted to github because of potential license issues.
It contains patches that are not included in the public the meta-rzg2 repository on github. For example, the patches to enable HDMI on the boards were not posted to github because of potential license issues.
Line 285: Line 283:


'''Video and Multi-media Drivers'''<br>
'''Video and Multi-media Drivers'''<br>
* proprietary/
*proprietary/
This directory is only in the package downloaded from renesas.com<br>
This directory is only in the package downloaded from renesas.com<br>
This directory contains .zip files which are essentially the propriety closed source video and multimedia drivers. They used to be downloaded separately, but are now included when downloaded the BSP from renesas.com. When following the instructions in the "Renesas Note" that comes with the BSP, users will run the script copy_proprietary_softwares.sh which will unpack these zip files into various directories under meta-rzg2.
This directory contains .zip files which are essentially the propriety closed source video and multimedia drivers. They used to be downloaded separately, but are now included when downloaded the BSP from renesas.com. When following the instructions in the "Renesas Note" that comes with the BSP, users will run the script copy_proprietary_softwares.sh which will unpack these zip files into various directories under meta-rzg2.


= Changes to Github Break BSP Builds =
= Changes to Github Break BSP Builds=
'''The Issue:'''
'''The Issue:'''
* Please be aware that changes to github.com effect older Yocto Recipes.
*Please be aware that changes to github.com effect older Yocto Recipes.
* In summary, Yocto recipes that use git:// for the SRC URL will no longer work.
*In summary, Yocto recipes that use git:// for the SRC URL will no longer work.
* More details from Github [https://github.blog/2021-09-01-improving-git-protocol-security-github can be found here].
*More details from Github [https://github.blog/2021-09-01-improving-git-protocol-security-github can be found here].
* Yocto has been updating the recipes to use https:// instead. For example, [https://git.yoctoproject.org/poky/commit/?h=dunfell&id=0810ac6b926cd901f0619e95f367efc79d4c3159 see this patch] for Dunfell.
* Yocto has been updating the recipes to use https:// instead. For example, [https://git.yoctoproject.org/poky/commit/?h=dunfell&id=0810ac6b926cd901f0619e95f367efc79d4c3159 see this patch] for Dunfell.


Line 303: Line 301:
</pre>
</pre>


= SPI Flash Driver for BSP 1.0.6 =
=SPI Flash Driver for BSP 1.0.6 =


SPI flash write from Linux is not officially supported in V1.0.6 BSP. If you want SPI write enabled for BSP 1.0.6. Please follow the below steps:
SPI flash write from Linux is not officially supported in V1.0.6 BSP. If you want SPI write enabled for BSP 1.0.6. Please follow the below steps:

Revision as of 19:38, 30 September 2022

RZ-G

Overview

VLP Diagram
  • The Renesas BSPs for MPUs are distributed as Yocto builds.
  • Renesas specific portions (boot loader, kernel, etc..) are store in github which is where the Yocto recipes pull from.
  • Additional Yocto patch files are included in the renesas.com download packages that you will not find on github.
  • Some libraries (graphics and video codecs) are proprietary can only be downloaded from renesas.com after registering.
  • For the structure of the BSPs, there are a common Yocto layers that are used to build most Renesas software for each MPU. However, additional 'optional' software components are distributed and downloaded as "Features". There is a meta-rz-features Yocto layer directory where individual Yocto recipes can be added to a build if needed.
  • The diagram on the right shows the common Yocto build in blue, and the optional Feature Packages that can be added. (Click for full size)


Downloads

BSP with Linux 5.10 kernel for all RZ/G2 Devices

  • RZ/G2 Series: RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/G2E, RZ/G2N, RZ/G2M, RZ/G2H
  • RZ/V2 Series: RZ/V2L
  • Verified Linux Package [5.10-CIP] Version 3.0.x
  • Official RZ/G2 BSP Download Page
  • Official RZ/V2 BSP Download Page
  • Please Download the individual components required for your MPU.
  • Please use the package versions listed table. You must match the correct component packages (Graphic, Codec) versions with the BSP version you are using.
. RZ/G VLP v3.0.0 RZ/G VLP v3.0.0-update2 RZ/G VLP v3.0.1
📦 RZ/G2 Linux Package (Common for all MPU )
ZIP file containing Yocto BSP and all documentation
  • Yocto Recipe
    This is the actual BSP provided in a Yocto build package
  • Release Note for Linux Package
    Build instructions, start with this document
  • Reference Boards Linux Start-up Guide
    How to program the boot loaders into SPI flash
  • BSP Component list
    List of each package and version included in the default BSP build
💾 (direct link)
🗨️ (info page)
💾 (direct link)
🗨️ (info page)

📦 RZ/V2L Package
💾 (direct link)
🗨️ (info page)
🎨 Graphics (PowerVR) and 🎦 Video Codec Libraries
  • For devices RZ/G2H, RZ/G2M, RZ/G2N, RZ/G2E
  • The "Evaluation Version" can be downloaded immediately, but has a 2 hour timeout after every board boot.
  • The "Unrestricted Version" request link is at the at the bottom of the download page (see Note1 below)
💾 V1.0 (direct link)
🗨️ V1.0 (info page)
👈 👈
🎨 Graphics (Mali) Libraries
  • For devices RZ/G2L, RZ/G2LC, RZ/V2L
  • The "Evaluation Version" can be downloaded immediately, but has a 2 hour timeout after every board boot.
  • The "Unrestricted Version" request link is at the at the bottom of the download page (see Note1 below)
💾 V1.0 (direct link)
🗨️ (info page)
💾 V1.2 (direct link)
🗨️ (info page)
💾 V1.3 (direct link)
🗨️ (info page)
🎦 Video Codec Libraries
  • For devices RZ/G2L and RZ/V2L
💾 V0.56 (direct link)
🗨️ (info page)
💾 V0.58 (direct link)
🗨️ (info page)
💾 V1.0 (direct link)
🗨️ (info page)
🌐 HTML5 Browser (Gecko91/Firefox)
  • For devices RZ/G2L RZ/G2H, RZ/G2M, RZ/G2N, RZ/G2E
💾 V1.1 (direct link)
🗨️ (info page)
📄 BSP Manual Set
Detailed information about Device Drivers and Device Tree Settings
📄 RZ/G2H, RZ/G2M, RZ/G2N, and RZ/G2E (link)

📄 RZ/G2L,RZ/G2LC, RZ/G2UL, RZ/V2L (link)

  • Note1 - Unrestricted Versions: When requesting the "Unrestricted Version", additional information about your product might be required. Additionally, but please allow up to 2 weeks for the request to complete due to internal license processing. When you submit a request, you will instantly get an email confirmation, but you will not get another email until the request has been completed.


BSP with Linux 4.19 kernel for RZ/G2E, RZ/G2N, RZ/G2M, RZ/G2H

  • RZ/G2E, RZ/G2N, RZ/G2M, RZ/G2H
  • Official RZ/G2 BSP Download Page
    • The Evaluation Version can be downloaded immediately, but there is a timeout on the proprietary graphics and video codec libraries.
    • The Product Version is available at the bottom of the page, and the timeout is removed, but due to license processing, it requires 1 to 2 weeks before download.
VLP64 v1.0.8 VLP64 v1.0.9-RT VLP64 v1.0.10 VLP64 v1.0.11-RT VLP64 v1.0.12
📦 RZ/G2 Linux Package (Complete Download)
ZIP file containing Yocto BSP and all documentation
  • Yocto Recipe
    This is the actual BSP provided in a Yocto build package
  • Release Note for Linux Package
    Build instructions, start with this document
  • Reference Boards Linux Start-up Guide
    How to program the boot loaders into SPI flash
  • Release Note for HTML5 Linux Package
    Building the HTML5 browser using the BSP requires a different set of instructions
  • BSP Component list
    List of each package and version included in the default BSP build
💾 (link) 💾 (link) 💾 (link) 💾 (link) 💾 (link)
📦 RZ/G2 Group BSP Manual Set
Detailed information about Device Drivers and Device Tree Settings
📄 (link) 📄 (link) 📄 (link) 📄 (link) 📄 (link)


BSP with Linux 4.19 kernel for RZ/G2L, RZ/G2LC, RZ/G2UL

BSP v1.3 BSP v1.4
📦 RZ/G2L Linux Package
Yocto BSP
Release Note
  ○ Build instructions, start with this document
RZ/G2L Reference Board Start-up Guide
  ○ How to program the boot loaders into SPI flash
BSP Component list
  ○ List of each package and version included in the default BSP build
💾 (link) 💾 (link)

(direct link to zip)
🎨 RZ/G2L Mali Graphic Library (Evaluation Version)(Recommended)
● Files to be added to the Yocto BSP to enable Graphics
● Full function but 3-hour timeout limited. Download immediately.
v0.8
💾 (link)
v0.81
💾 (link)
🎨 RZ/G2L Mali Graphic Library (Unrestricted Version)
● Files to be added to the Yocto BSP to enable Graphics
● Due to license processing, requires 1 to 2 weeks before download.
v0.8
💾 (link)
v0.81
💾 (link)
(bottom of page)
🎦 RZ/G2L Video Codec Library
● Files to be added to the Yocto BSP to enable H.264 Video Encode/Decode
v0.53
💾 (link)
v0.55
💾 (link)
📄 RZ/G2L Group BSP Manual Set
● Detailed information about Device Drivers and Device Tree Settings
📄 (link) 📄 (link)
📦 RZ/G2L Multi-OS Package (CM33)
● FreeRTOS for CM33 and OpenAMP comms between A55 and CM33
v1.00
💾 (link)
v1.02
💾 (link)

This page discusses topics specific to the content and code released in the BSP. Information on using the BSP is found on other pages such as RZ-G/RZG_yocto.

Add HTML5 Browser to BSP v3.0.0

  • The following instructions will add Firefox and the HTML engine Gecko (version 91) to the VLP/G v3.0.0 BSP.
  • First, download and configure the BSP by following the Release Note document. Do the steps in Section 3, but stop at step "(6) Start a build". We need to make some changes before we run "bitbake core-image-weston".
  • Now that you have configured the BSP, you can follow the instructions below to add HTML support.
  • For the instructions below, start at the base of the BSP directory. If you are in the build directory, please do a cd .. first to get back to the base of the BSP before copy/pasting the instructions below.
  • Please note that these changes will break a core-image-qt build.
Instructions                              

Add meta layers to build Gecko91

$ git clone -b gem-firefox-91.0.0esr https://github.com/webdino/meta-browser.git
$ git clone https://github.com/meta-rust/meta-rust.git
$ git -C meta-rust checkout 1b59fd45906082c978d0a0a6e4e51a0ea4aa32c7
$ git -C meta-rust revert 647b976da2a9161ceb01ad477216480fc1c88af8 < /dev/null
$ git clone -b dunfell https://github.com/webdino/meta-clang.git

Add dummy files in meta-renesas/classes/ because the gecko recipes want to "inherit"

$ cd meta-renesas/classes
$ touch distutils.bbclass pythonnative.bbclass setuptools.bbclass
$ cd ../..

Edit the file build/conf/local.conf

$ gedit build/conf/local.conf &
  • Comment out the following line in the build/conf/local.conf by placing a "#" at the beginning of the line.
#DISTRO_FEATURES_remove = " x11"		
  • Add the following lines for Gecko91 at the end of build/conf/local.conf
IMAGE_INSTALL_append = " firefox "
IMAGE_INSTALL_append = " ttf-sazanami-gothic ttf-sazanami-mincho "
IMAGE_INSTALL_append = " pulseaudio-server "
IMAGE_INSTALL_append = " adwaita-icon-theme adwaita-icon-theme-cursors "
PACKAGECONFIG_append_pn-firefox = " openmax "
PACKAGECONFIG_append_pn-firefox = " webgl "
PACKAGECONFIG_append_pn-firefox = " gpu "
PREFERRED_VERSION_vte = "0.52.2"

TARGET_CXXFLAGS_remove_toolchain-clang = " --stdlib=libc++"
TUNE_CCARGS_remove_toolchain-clang = " --rtlib=compiler-rt --unwindlib=libunwind --stdlib=libc++"
TUNE_FEATURES_remove_toolchain-clang = "cortexa57-cortexa53"

DISTRO_FEATURES_append = " x11"
PACKAGECONFIG_remove = " libedit "

PACKAGECONFIG_remove_pn-xserver-xorg = " dri3 glamor "
IMAGE_INSTALL_remove = " matchbox-terminal "
  • Save and close local.conf


Edit the file build/conf/bblayers.conf

$ gedit build/conf/bblayers.conf &
  • Add the meta-layers (meta-rust, meta-clang, meta-browser) we downloaded (git cloned) to BBLAYERS
  ${TOPDIR}/../meta-rust \
  ${TOPDIR}/../meta-clang \
  ${TOPDIR}/../meta-browser \
  • Save and close bblayers.conf


Start the build

$ bitbake core-image-weston

How to launch Firefox91

  • After launching the board, you can launch Firefox91 with the following command.
  • We suggest that you use PMIC board with Full HD resolution(1920:1080) to evaluate HTML5.

Launch in a window:

$ WAYLAND_DISPLAY=wayland-0 GDK_BACKEND=wayland MOZ_OMX_RZG2L=1 firefox --width 640 --height 480

Launch full screen: (kiosk mode, adjust resolution to match your screen),

$ WAYLAND_DISPLAY=wayland-0 GDK_BACKEND=wayland MOZ_OMX_RZG2L=1 firefox --width 1024 --height 600 --kiosk https://renesas.info

BSP Differences Between renesas.com Download and Github Version

Below are the differences between BSP you download from renesas.com and what is available on public repositories.

Public Repository Clones

  • meta-gplv2/
  • meta-linaro/
  • meta-openembedded/
  • meta-qt5/
  • meta-rzg2/
  • meta-virtualization/
  • poky/

These directories are direct clones (no modifications) from public repositories. The repository URLs and commit IDs that were used are documented in the README.md file in the meta-rzg2 directory in the BSP.


Example Layers

  • meta-hmi-custom/
  • meta-userboard/

These directories do not have any functionally. They are simple example templates you can use to make your own customer layers. They are only included in the renesas.com package.


The RZ/G2 BSP

  • meta-rzg2/

Basically, all the customizations and patches are located in the directory 'meta-rzg2'.
This directory is a clone of the public repository is located here: https://github.com/renesas-rz/meta-rzg2.
There are git tags for BSP version that was release.
The only difference is that in the renesas.com version, the following lines were added to the local.conf files under docs/sample/conf

DL_DIR = "${TOPDIR}/oss_packages"
BB_NO_NETWORK = "0"

Additionally, other configuration files such as bblayers_gecko.conf and local_gecko.con are added to the renesas.com download that are not in the github version.


Non-public Patches

  • extra/

This directory is only in the package downloaded from renesas.com
It contains patches that are not included in the public the meta-rzg2 repository on github. For example, the patches to enable HDMI on the boards were not posted to github because of potential license issues.


Video and Multi-media Drivers

  • proprietary/

This directory is only in the package downloaded from renesas.com
This directory contains .zip files which are essentially the propriety closed source video and multimedia drivers. They used to be downloaded separately, but are now included when downloaded the BSP from renesas.com. When following the instructions in the "Renesas Note" that comes with the BSP, users will run the script copy_proprietary_softwares.sh which will unpack these zip files into various directories under meta-rzg2.

Changes to Github Break BSP Builds

The Issue:

  • Please be aware that changes to github.com effect older Yocto Recipes.
  • In summary, Yocto recipes that use git:// for the SRC URL will no longer work.
  • More details from Github can be found here.
  • Yocto has been updating the recipes to use https:// instead. For example, see this patch for Dunfell.

The Workaround

  • For building a BSP that contain recipes that still use git://, you use the command below.
  • Since this command uses --global, you only have to run it once on your PC.
$ git config --global url.https://github.com/.insteadOf git://github.com/

SPI Flash Driver for BSP 1.0.6

SPI flash write from Linux is not officially supported in V1.0.6 BSP. If you want SPI write enabled for BSP 1.0.6. Please follow the below steps:

1. Add kernel patches to BSP

1.a) Please get required patch files from https://github.com/seebe/rzg_stuff/tree/master/build_scripts/vlp64_patches/BSP-1.0.6-SPI-write/kernel

$ rzg2_bsp_eva_v106/recipes-kernel/linux/linux-renesas/patches
$ mkdir v1.0.6_spi_patch
$ cd v1.0.6_spi_patch #copy patch files here

1.b) Update patches.scc file:

Yocto uses .scc file to apply patches located in ~/rzg2_bsp_eva_v106/meta-rzg2/recipes-kernel/linux/linux-renesas/patches.scc. Get updated .scc file from https://github.com/seebe/rzg_stuff/tree/master/build_scripts/vlp64_patches/BSP-1.0.6-SPI-write/

$ cd ~/rzg2_bsp_eva_v106/meta-rzg2/recipes-kernel/linux/linux-renesas/
$ wget https://raw.githubusercontent.com/seebe/rzg_stuff/master/build_scripts/vlp64_patches/BSP-1.0.6-SPI-write/patches.scc

2. Configuring kernel using menuconfig

Configure the kernel to enable Renesas SPI driver and SPI memory. The following commands initialize the BitBake environment, run the do_kernel_configme task, and launch menuconfig. These commands assume the Source Directory's top-level folder is ~/rzg2_bsp_eva_v106:

$ cd rzg2_bsp_eva_v106
$ source poky/oe-init-build-env
$ bitbake linux-renesas -c kernel_configme -f
$ bitbake linux-renesas -c menuconfig

Once menuconfig comes up, configure below kernel configuration parameters.

2.a)Enable Renesa RPC-IF driver:

.config - Linux/arm64 4.19.140 Kernel Configuration
 > Device Drivers > Memory Controller drivers

2.b)Enable SPI memory (M25P80 ):

.config - Linux/arm64 4.19.140 Kernel Configuration
 > Device Drivers > Memory Technology Device (MTD) support > Self-contained MTD device drivers 

After making your changes, simply exit the tool and save your changes to create an updated version of the .config configuration file

3. Build the image using updated BSP