This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
civilinfrastructureplatform:cipreferencehardware:iwg20m:iwg20mbuildinstructions [2018/10/03 13:24] patersonc [Build Steps] typo fix |
civilinfrastructureplatform:cipreferencehardware:iwg20m:iwg20mbuildinstructions [2019/03/18 12:20] (current) patersonc Moved page. |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Renesas RZ/G1M iwg20m build instructions (WIP) ====== | + | Page moved to [[civilinfrastructureplatform:ciptesting:cipreferencehardware:iwg20m:iwg20mbuildinstructions|Renesas RZ/G1M iwg20m build instructions]]. |
- | ===== How to build the Kernel only ===== | + | Please update your link. |
- | TODO | + | |
- | + | ||
- | ===== How to build the full iwg20m BSP from Renesas ===== | + | |
- | + | ||
- | This section contains information on how to build a CIP based Yocto BSP for the Renesas RZ/G1M iWave Qseven development kit (iwg20m). | + | |
- | + | ||
- | Full instructions can be found in the "Yocto Start-Up Guide" that can be downloaded from the Renesas RZ/G Marketplace:\\ | + | |
- | https://mp.renesas.com/en-eu/rzg/marketplace/document/R01US0227EJ.html | + | |
- | + | ||
- | ==== Supported Linux Host Distributions ==== | + | |
- | Ubuntu 14.04 LTS | + | |
- | + | ||
- | ==== Build Steps ==== | + | |
- | 1. Install the required host packages | + | |
- | <code> | + | |
- | $ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm | + | |
- | </code> | + | |
- | + | ||
- | 2. Download the required files (poky, meta-openembedded, meta-linaro, meta-renesas) by git-clone | + | |
- | <code> | + | |
- | $ export WORK=<path-to-your-working-directory> | + | |
- | $ mkdir $WORK | + | |
- | $ cd $WORK | + | |
- | $ git clone git://git.yoctoproject.org/poky | + | |
- | $ git clone git://git.openembedded.org/meta-openembedded | + | |
- | $ git clone git://git.linaro.org/openembedded/meta-linaro.git | + | |
- | $ git clone https://github.com/renesas-rz/meta-renesas | + | |
- | </code> | + | |
- | + | ||
- | 3. Checkout correct revisions | + | |
- | <code> | + | |
- | $ cd $WORK/poky | + | |
- | $ git checkout -b tmp 3b223f75eec1738fbc913858e8e11c8305e3edcb | + | |
- | $ cd $WORK/meta-openembedded | + | |
- | $ git checkout -b tmp dc5634968b270dde250690609f0015f881db81f2 | + | |
- | $ cd $WORK/meta-linaro | + | |
- | $ git checkout -b tmp 12993e6bc8658ee37d303d8d59007f8dd9ab2b30 | + | |
- | $ cd $WORK/meta-renesas | + | |
- | $ git checkout certified-linux-v2.0.6 | + | |
- | </code> | + | |
- | + | ||
- | 4. Install proprietary software packages (graphics, multimedia) | + | |
- | + | ||
- | Download packages (Kernel version CIP3) from the RZ/G Marketplace:\\ | + | |
- | America: https://mp.renesas.com/en-us/rzg/marketplace/linux_package/rzg-mlp-pro.html\\ | + | |
- | Europe: https://mp.renesas.com/en-eu/rzg/marketplace/linux_package/rzg-mlp-pro.html\\ | + | |
- | Asia: https://mp.renesas.com/en-sg/rzg/marketplace/linux_package/rzg-mlp-pro.html\\ | + | |
- | Japan: https://mp.renesas.com/ja-jp/rzg/marketplace/linux_package/rzg-mlp-pro.html | + | |
- | + | ||
- | <code> | + | |
- | $ mkdir $WORK/proprietary | + | |
- | $ cp RZG_Series_Evaluation_Software_Package* $WORK/proprietary | + | |
- | $ cd $WORK/meta-renesas/meta-rzg1 | + | |
- | $ sh copy_mm_software_lcb.sh $WORK/proprietary | + | |
- | $ sh copy_gfx_software_rzg1m.sh $WORK/proprietary | + | |
- | </code> | + | |
- | + | ||
- | 5. Execute source command | + | |
- | <code> | + | |
- | $ cd $WORK | + | |
- | $ source poky/oe-init-build-env | + | |
- | </code> | + | |
- | + | ||
- | 6. Copy build configuration files | + | |
- | <code> | + | |
- | $ cp $WORK/meta-renesas/meta-rzg1/templates/iwg20m/* $WORK/build/conf/ | + | |
- | </code> | + | |
- | + | ||
- | 7. Build with bitbake | + | |
- | <code> | + | |
- | $ cd $WORK/build | + | |
- | $ bitbake core-image-weston | + | |
- | </code> | + | |
- | + | ||
- | NOTE: The build may take several hours to complete depending on the Linux Host PC performance and the network environment. | + | |
- | + | ||
- | + | ||
- | ==== Build Output ==== | + | |
- | Once the build is completed, the Kernel, device tree and RFS are located in $WORK/build/tmp/deploy/images/iwg20m. | + | |
- | + | ||
- | + | ||
- | ===== How to build/use the SDK ===== | + | |
- | TODO | + |