RNX-RZG2UL-OSM U-Boot

From Ronetix's Wiki
Revision as of 14:29, 6 November 2023 by Ilko (talk | contribs) (Add instructions for building U-BOOT)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Overview

The U-Boot bootloader is used for low-level initialization and operating system loading.

Building U-BOOT for RNX-RZG2UL-OSM

This U-BOOT is based on https://github.com/renesas-rz/renesas-u-boot-cip, branch v2021.10/rz

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-

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

Clone the latest revision of the repo

$ git clone https://github.com/ronetix/u-boot.git u-boot-ronetix --depth=1 -b v2021.10/rz
$ cd u-boot-ronetix

Configure

$ make rnx_rzg2ul_osm_defconfig

Build

$ make

Build Results

File Name Description
u-boot U-BOOT ELF image used for JTAG debugging
u-boot-dtb.bin U-BOOT image with DTB