RZ-G/RZ-G2L Flash Programming: Difference between revisions
mNo edit summary |
m (→Boot from SCIF) |
||
Line 17: | Line 17: | ||
== Boot from SCIF == | == Boot from SCIF == | ||
The main tool that can assist in performing external non-volatile memory (QSPI and eMMC) is [https://github.com/renesas-rz/rzg2_flash_writer/tree/rz_g2l Flash Writer]. | |||
== Use JTAG == | == Use JTAG == | ||
TBD | TBD |
Revision as of 07:25, 2 August 2021
RZ/G2L cannot boot from USB, so at the end-of-line there are two/three real viable options:
- Boot from SCIF
- Use JTAG
- It is worth to mention that, in general, if a QSPI FLASH is present on the custom board, it can also be bought preprogrammed
In any of the cases above the goal is to have U-Boot up and running, then there are plenty of options to program the rootfs: ethernet, USB as host, USB with Mass Storage gadget, fastboot or even boot the linux kernel + initramfs.
With option 1, you can download the flash writer and program the bootloaders (ATF and U-Boot) into QSPI / eMMC boot partition, then reset and run U-Boot.
With option 2, you can download ATF and U-Boot via JTAG and then run the boot loaders without having to initially program them. Once U-Boot runs, you can program both bootloaders and rootfs.
With option 3, QSPI has already bootloaders pre-programmed, so U-Boot is already available.
All the options above may not require any human intervention and can be to a certain extent automatized.
Boot from SCIF
The main tool that can assist in performing external non-volatile memory (QSPI and eMMC) is Flash Writer.
Use JTAG
TBD