This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
civilinfrastructureplatform:ciptesting:cipreferencehardware:hihope-rzg2m:hihope-rzg2mbuildinstructions [2019/10/15 04:35] kanechikay [Renesas RZ/G2M hihope-rzg2m build instructions] Add the list of the build targets |
civilinfrastructureplatform:ciptesting:cipreferencehardware:hihope-rzg2m:hihope-rzg2mbuildinstructions [2020/01/20 06:07] (current) kanechikay Update the procedure for RZ/G2 Flash Writer to support v1.01 |
||
---|---|---|---|
Line 4: | Line 4: | ||
* the latest CIP kernel | * the latest CIP kernel | ||
* the full hihope-rzg2m BSP from Renesas (including loader, U-Boot, kernel based on CIP kernel and rootfs) | * the full hihope-rzg2m BSP from Renesas (including loader, U-Boot, kernel based on CIP kernel and rootfs) | ||
+ | * SDK (cross compiler, kernel sources, kernel headers and rootfs) | ||
* the RZ/G2 flash writer | * the RZ/G2 flash writer | ||
Line 139: | Line 140: | ||
Once the build is completed, the Kernel, device tree and RFS are located in $WORK/build/tmp/deploy/images/hihope-rzg2m. | Once the build is completed, the Kernel, device tree and RFS are located in $WORK/build/tmp/deploy/images/hihope-rzg2m. | ||
- | ^# ^Filename ^Description ^Note ^ | + | ^ # ^ Filename ^ Description ^ Note ^ |
- | |1 |bootparam_sa0.srec |Loader (Boot parameter) |S-record format | | + | | 1 | bootparam_sa0.srec | Loader (Boot parameter) | S-record format | |
- | |2 |bl2-hihope-rzg2m.srec |Loader (Trusted firmware-A BL2) |S-record format | | + | | 2 | bl2-hihope-rzg2m.srec | Loader (Trusted firmware-A BL2) | S-record format | |
- | |3 |cert_header_sa6.srec |Loader (Certification) |S-record format | | + | | 3 | cert_header_sa6.srec | Loader (Certification) | S-record format | |
- | |4 |bl31-hihope-rzg2m.srec |Trusted fimrware-A BL31 |S-record format | | + | | 4 | bl31-hihope-rzg2m.srec | Trusted fimrware-A BL31 | S-record format | |
- | |5 |u-boot-elf-hihope-rzg2m.srec |U-Boot |symbolic link to the latest image, S-record format | | + | | 5 | u-boot-elf-hihope-rzg2m.srec | U-Boot | symbolic link to the latest image, S-record format | |
- | |6 |Image |Linux kernel image |symbolic link to the latest image, S-record format | | + | | 6 | Image | Linux kernel image | symbolic link to the latest image | |
- | |7 |r8a774a1-hihope-rzg2m.dtb |Device tree blob for hihope-rzg2m without the expansion board |symbolic link to the latest dtb | | + | | 7 | r8a774a1-hihope-rzg2m.dtb | Device tree blob for hihope-rzg2m without the expansion board | symbolic link to the latest dtb | |
- | |8 |r8a774a1-hihope-rzg2m-ex.dtb |Device tree blob for hihope-rzg2m with the expansion board |symbolic link to the latest dtb | | + | | 8 | r8a774a1-hihope-rzg2m-ex.dtb | Device tree blob for hihope-rzg2m with the expansion board | symbolic link to the latest dtb | |
===== How to build/use the SDK ===== | ===== How to build/use the SDK ===== | ||
Line 250: | Line 252: | ||
git clone https://github.com/renesas-rz/rzg2_flash_writer.git | git clone https://github.com/renesas-rz/rzg2_flash_writer.git | ||
cd rzg2_flash_writer | cd rzg2_flash_writer | ||
- | git checkout -b v1.00 v1.00 | + | git checkout -b v1.01 v1.01 |
</code> | </code> | ||
Line 260: | Line 262: | ||
<code> | <code> | ||
- | make clean | + | make -f makefile.linaro clean |
- | CROSS_COMPILE=~/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf/bin/aarch64-elf- make BOARD=HIHOPE | + | CROSS_COMPILE=~/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf/bin/aarch64-elf- make -f makefile.linaro BOARD=HIHOPE |
</code> | </code> | ||