<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ariaboard.com/index.php?action=history&amp;feed=atom&amp;title=Ariaboard_Renesas_V2M_Software_Guide</id>
	<title>Ariaboard Renesas V2M Software Guide - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ariaboard.com/index.php?action=history&amp;feed=atom&amp;title=Ariaboard_Renesas_V2M_Software_Guide"/>
	<link rel="alternate" type="text/html" href="https://ariaboard.com/index.php?title=Ariaboard_Renesas_V2M_Software_Guide&amp;action=history"/>
	<updated>2026-05-21T17:06:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://ariaboard.com/index.php?title=Ariaboard_Renesas_V2M_Software_Guide&amp;diff=260&amp;oldid=prev</id>
		<title>C2h2: Created page with &quot;==Installation==  ===Build Flash Burner=== &lt;pre&gt; wget https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-elf/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf.tar.xz tar -xf gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf.tar.xz  git clone https://github.com/renesas-rz/rzg2_flash_writer.git -b rz_v2m rzv2m_flash_writer cd rzv2m_flash_writer  export CROSS_COMPILE=../gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf/bin/aarch64-elf- make -f makefile.linaro &lt;/pre...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ariaboard.com/index.php?title=Ariaboard_Renesas_V2M_Software_Guide&amp;diff=260&amp;oldid=prev"/>
		<updated>2022-10-09T04:06:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Installation==  ===Build Flash Burner=== &amp;lt;pre&amp;gt; wget https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-elf/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf.tar.xz tar -xf gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf.tar.xz  git clone https://github.com/renesas-rz/rzg2_flash_writer.git -b rz_v2m rzv2m_flash_writer cd rzv2m_flash_writer  export CROSS_COMPILE=../gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf/bin/aarch64-elf- make -f makefile.linaro &amp;lt;/pre...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
===Build Flash Burner===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05/aarch64-elf/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf.tar.xz&lt;br /&gt;
tar -xf gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf.tar.xz&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/renesas-rz/rzg2_flash_writer.git -b rz_v2m rzv2m_flash_writer&lt;br /&gt;
cd rzv2m_flash_writer&lt;br /&gt;
&lt;br /&gt;
export CROSS_COMPILE=../gcc-linaro-7.3.1-2018.05-x86_64_aarch64-elf/bin/aarch64-elf-&lt;br /&gt;
make -f makefile.linaro&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy file B2_intSW.bin in AArch64_output to the root directory of a formatted TF card.&lt;br /&gt;
&lt;br /&gt;
===Build System Image===&lt;br /&gt;
Need to build on Ubuntu 18.04 for AMD64. And install necessary packages below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping libsdl1.2-dev xterm p7zip-full&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get RZ/V2M Linux Package Version 1.2.0 (r01an5971ej0120-rzv2m-linux.zip) from Renesas official [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-cortex-a-mpus/rzv2m-dual-cortex-a53-lpddr4x32bit-ai-accelerator-isp-4k-video-codec-4k-camera-input-fhd-display-output#design_development site], then get RZ/V2M ISP Support Package Version.1.20 (r01an5978ej0120-rzv2m_isp-support.zip) from Renesas official [https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rz-cortex-a-mpus/rzv2m-dual-cortex-a53-lpddr4x32bit-ai-accelerator-isp-4k-video-codec-4k-camera-input-fhd-display-output#design_development site], and extract BSP files:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
unzip r01an5971ej0120-rzv2m-linux.zip&lt;br /&gt;
unzip r01an5978ej0120-rzv2m_isp-support.zip&lt;br /&gt;
&lt;br /&gt;
mkdir yocto&lt;br /&gt;
cd yocto&lt;br /&gt;
tar -xf ../r01an5971ej0120-rzv2m-linux/bsp/rzv2m_bsp_eva_v120.tar.gz&lt;br /&gt;
tar -xf ../r01an5978ej0120-rzv2m_isp/rzv2m_isp_support-pkg_v120.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or get BSP from our repository:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/ariaboard-com/renesas_rzv2m_yocto.git yocto&lt;br /&gt;
cd yocto&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then copy configuration files and compile:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
source poky/oe-init-build-env&lt;br /&gt;
cp ../meta-rzv2m/docs/sample/conf/rzv2m/linaro-gcc/*.conf ./conf/&lt;br /&gt;
patch -p2 &amp;lt; ../rzv2m-drpai-conf.patch&lt;br /&gt;
patch -p2 &amp;lt; ../rzv2m-isp-conf.patch&lt;br /&gt;
&lt;br /&gt;
bitbake core-image-bsp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Images should be created in tmp/deploy/images/rzv2m.&lt;br /&gt;
&lt;br /&gt;
===Use Flash Burner===&lt;br /&gt;
Insert TF card with file B2_intSW.bin on root directory. Set board to debug mode and power on, then wait the LED turns on (not blinking). Power off the board.&lt;br /&gt;
&lt;br /&gt;
Connect micro USB port to PC, using a serial terminal tool with RAW file sending support (like gtkterm). Set serial mode to 115200 8N1.Set board to normal boot mode, power on the board, a prompt should be printed on terminal just like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Flash writer for RZ/V2M V1.20 January 14, 2022&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Filename !! eMMC Save Partition !! eMMC save sectors !! File size(byte in hex)*1 !! Description&lt;br /&gt;
|-&lt;br /&gt;
| loader_1st_128kb.bin || boot partition1 || 0 || 20000 || 1st loader binary&lt;br /&gt;
|-&lt;br /&gt;
| loader_2nd_param.bin || boot partition1 || 100 || 8 || Boot parameter for 2nd loader&lt;br /&gt;
|-&lt;br /&gt;
| loader_2nd.bin || boot partition1 || 101 || 30BD8 || 2nd loader binary&lt;br /&gt;
|-&lt;br /&gt;
| u-boot_param.bin || boot partition1 || 901 || 8 || Boot parameter for u-boot&lt;br /&gt;
|-&lt;br /&gt;
| u-boot.bin || boot partition1 || 902 || 7ED91 || U-Boot binary&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*1: File size may change by the version of BSP. Please replace the number of file size with the real one you have got.&lt;br /&gt;
&lt;br /&gt;
Use EM_WB command to write files into eMMC. e.g:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt;EM_WB&lt;br /&gt;
EM_W Start --------------&lt;br /&gt;
---------------------------------------------------------&lt;br /&gt;
Please select,eMMC Partition Area.&lt;br /&gt;
 0:User Partition Area   : 30535680 KBytes&lt;br /&gt;
  eMMC Sector Cnt : H&amp;#039;0 - H&amp;#039;03A3DFFF&lt;br /&gt;
 1:Boot Partition 1      : 16384 KBytes&lt;br /&gt;
  eMMC Sector Cnt : H&amp;#039;0 - H&amp;#039;00007FFF&lt;br /&gt;
 2:Boot Partition 2      : 16384 KBytes&lt;br /&gt;
  eMMC Sector Cnt : H&amp;#039;0 - H&amp;#039;00007FFF&lt;br /&gt;
---------------------------------------------------------&lt;br /&gt;
  Select area(0-2)&amp;gt;1                                         &amp;lt;&amp;lt;&amp;lt;&amp;lt; Enter &amp;quot;1&amp;quot; here&lt;br /&gt;
-- Boot Partition 1 Program -----------------------------&lt;br /&gt;
Please Input Start Address in sector :0                   &amp;lt;&amp;lt;&amp;lt;&amp;lt; Enter &amp;quot;0&amp;quot; here&lt;br /&gt;
Work RAM(H&amp;#039;B6000000-H&amp;#039;B600FFFFF) Clear....&lt;br /&gt;
Please Input File size(byte): 200000                   &amp;lt;&amp;lt;&amp;lt;&amp;lt; Enter &amp;quot;20000&amp;quot; here&lt;br /&gt;
please send binary file!                &amp;lt;&amp;lt;&amp;lt;&amp;lt; Send RAW binary file with your terminal tool here&lt;br /&gt;
SAVE -FLASH.......&lt;br /&gt;
EM_WB Complete!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload all files in the table with the given parameters. After uploaded all files, power off and then power on the board. U-Boot prompt should be printed in terminal.&lt;br /&gt;
&lt;br /&gt;
===Prepare TF Card===&lt;br /&gt;
Make 2 partitions on TF card, partition 1 should be at least 128MiB, and partition 2 should be at least 1GiB. Format partition 1 with FAT32, format partition 2 with ext4.&lt;br /&gt;
&lt;br /&gt;
Copy Image and r9a09g011gbg-evaluation-board.dtb in yocto image output directory to the partition 1 of TF card. Extract core-image-bsp-rzv2m-20220810032955.rootfs.tar.gz to partition 2 of TF card.&lt;br /&gt;
Copy core1_firmware.bin in r01an5978ej0120-rzv2m_isp/IMX415_trial to the partition 1 of TF card.&lt;br /&gt;
&lt;br /&gt;
===Setup U-Boot===&lt;br /&gt;
Insert prepared TF card to board. Use command below in U-Boot terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
env default -a&lt;br /&gt;
setenv bootargs_sd &amp;#039;setenv bootargs root=/dev/mmcblk0p2 rootwait rootfstype=ext4 rw&amp;#039;&lt;br /&gt;
setenv core1_vector 0x02000000&lt;br /&gt;
setenv core1addr 0x02000000&lt;br /&gt;
setenv core1_firmware core1_firmware.bin&lt;br /&gt;
setenv bootsd &amp;#039;run bootargs_sd;fatload mmc 0:1 ${core1addr} ${core1_firmware};fatload mmc 0:1 ${loadaddr} ${kernel};fatload mmc 0:1 ${fdt_addr} ${fdt_file};wakeup_a53core1 ${core1_vector};booti ${loadaddr} - ${fdt_addr}&amp;#039;&lt;br /&gt;
saveenv&lt;br /&gt;
boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Run Demo===&lt;br /&gt;
Set the IP address of your PC to 192.168.1.11/24, and set the IP address of the board to 192.168.1.10/24, connect each other with ethernet cable directly. Use commands below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/app_hrnet_cam_vcd/exe&lt;br /&gt;
./sample_app_hrnet_cam_vcd 192.168.1.11 -H264 8000000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run VLC on PC, open network stream with address rtsp://192.168.1.10:8554/unicast. Video output should be able to see in VLC.&lt;/div&gt;</summary>
		<author><name>C2h2</name></author>
	</entry>
</feed>