RNX-RZG2UL-OSM Flash Writer: Difference between revisions

From Ronetix's Wiki
Jump to navigation Jump to search
(Modify to use Template:SeeAlso)
(Modify to skip Section Level 1 formatting)
 
Line 3: Line 3:
[[File:RNX-RZG2UL-OSM_top.png|thumb]]
[[File:RNX-RZG2UL-OSM_top.png|thumb]]


= Overview =
== Overview ==
The RZ/G2L flash writer is sample software for Renesas RZ/G2L Group MPUs.  
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  
The RZ/G2L flash writer downloads some of the raw images from Host PC  
Line 9: Line 9:
The RZ/G2L flash writer is downloaded from the Host PC via SCIF by boot ROM.
The RZ/G2L flash writer is downloaded from the Host PC via SCIF by boot ROM.


= Building Flash Writer for {{#var:HARDWARE_NAME}} =
== Building Flash Writer for {{#var:HARDWARE_NAME}} ==
This Flash Writer is based on https://github.com/renesas-rz/rzg2_flash_writer.git, branch {{#var:FWRITER_BRANCH}}
This Flash Writer is based on https://github.com/renesas-rz/rzg2_flash_writer.git, branch {{#var:FWRITER_BRANCH}}


==== Set up the cross-compiler and CPU architecture ====
=== Set up the cross-compiler and CPU architecture ===
  $ export ARCH=arm64
  $ export ARCH=arm64
  $ export CROSS_COMPILE=/opt/cross/aarch64-ronetix-linux-11.1/bin/aarch64-ronetix-linux-gnu-
  $ export CROSS_COMPILE=/opt/cross/aarch64-ronetix-linux-11.1/bin/aarch64-ronetix-linux-gnu-
Line 19: Line 19:
http://download.ronetix.at/toolchains/crosstool-ng
http://download.ronetix.at/toolchains/crosstool-ng


==== Clone the git repository ====
=== Clone the git repository ===
  $ git clone https://github.com/ronetix/rzg2_flash_writer.git
  $ git clone https://github.com/ronetix/rzg2_flash_writer.git
  $ cd rzg2_flash_writer
  $ cd rzg2_flash_writer
  $ git checkout remotes/origin/{{#var:FWRITER_BRANCH}} -b {{#var:FWRITER_BRANCH}}
  $ git checkout remotes/origin/{{#var:FWRITER_BRANCH}} -b {{#var:FWRITER_BRANCH}}


==== Build ====
=== Build ===
  $ make
  $ make


= Build Results =
== Build Results ==
{| class="wikitable"
{| class="wikitable"
|-
|-

Latest revision as of 16:45, 16 November 2023


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