RNX-RZG2UL-OSM Flash Writer

From Ronetix's Wiki
Jump to navigation Jump to search


Overview

The RZ/G2L flash writer is sample software for Renesas RZ/G2L Group MPUs. The RZ/G2L flash writer downloads some of the raw images from Host PC via SCIF and writes the raw images to the Serial NOR Flash.
The RZ/G2L flash writer is downloaded from the Host PC via SCIF by boot ROM.

Building Flash Writer for RNX-RZG2UL-OSM

This Flash Writer is based on https://github.com/renesas-rz/rzg2_flash_writer.git, branch rz_g2l

Set up the cross-compiler and CPU architecture

$ export ARCH=arm64
$ export CROSS_COMPILE=/opt/cross/aarch64-ronetix-linux-11.1/bin/aarch64-ronetix-linux-gnu-

The cross-compiler can be downloaded from here: http://download.ronetix.at/toolchains/crosstool-ng

Clone the git repository

$ git clone https://github.com/ronetix/rzg2_flash_writer.git
$ cd rzg2_flash_writer
$ git checkout remotes/origin/rz_g2l -b rz_g2l

Build

$ make

Build Results

File Name Description
AArch64_output/*.mot Flash Writer is SREC format
AArch64_output/*.bin Flash Writer in BINARY format

See also