Renesas Gen3 (legacy)

Renesas R-Car Gen3 M3/H3 boards were previously supported by redpesk, and redpesk OS images were published for these targets.

NOTE: Renesas Gen3 is a legacy target and is not currently maintained as a redpesk reference board. Previously published images are kept for historical use and are not continuously rebuilt or updated.

Historical Renesas Gen3 images remain listed in Download images for the corresponding redpesk releases.

Support for Renesas Gen3 can be provided again on demand, including the generation of new images for a project. See redpesk support for more information.

See the Renesas R-Car H3/M3 documentation for board-specific hardware information.

Download a Renesas Gen3 image

First, select a redpesk release that provides a Renesas Gen3 image from the Download images page.

Download from the command line

Create a directory to download the image:

mkdir -p ~/redpeskimage
cd ~/redpeskimage

Set the release to one of the releases listed with a Renesas Gen3 image. For example:

RELEASE="corn-3.1-update"

Then download the image files:

wget -r -nd -nc --no-parent \
  --accept-regex='redpesk.*smack.*\.(bmap|xz|sha256)' \
  --reject-regex='(image\.raw|ova|index)' \
  "https://download.redpesk.bzh/redpesk-lts/${RELEASE}/images/smack/minimal/aarch64/renesas-gen3/"

Check image integrity

Before flashing the image, check the integrity of the downloaded archive:

sha256sum -c redpesk*.tar.xz.sha256

A valid image reports OK.

Flash the image to an SD card

Identify the SD card

Plug the SD card into the host and identify its device path. Make sure you select the correct device because the flashing operation overwrites it completely.

lsblk -dli -o PATH,VENDOR,TYPE,HOTPLUG,MODEL

For example:

PATH         VENDOR   TYPE HOTPLUG MODEL
/dev/sda     ATA      disk       0 WDC_WD10SPZX-08Z10
/dev/sdc     TS-RDF5  disk       1 SD_Transcend
/dev/nvme0n1          disk       0 LITEON T11 512

Set the target device:

DEVICE_TO_COPY=/dev/sdc

If only one block device is hot-pluggable, it can also be detected with lsblk and jq:

DEVICE_TO_COPY=$(lsblk -dlJ -o PATH,VENDOR,TYPE,HOTPLUG,MODEL | \
  jq -r '.blockdevices[] | select(.hotplug == true).path')
echo "$DEVICE_TO_COPY"

Unmount the SD card

Check whether any partition is mounted:

lsblk "$DEVICE_TO_COPY"

Unmount each mounted partition before flashing it, for example:

sudo umount /dev/sdc1
sudo umount /dev/sdc2

Flash with dd

Extract the downloaded image first:

tar xJf redpesk*.tar.xz

Then flash it:

sudo dd if="Redpesk-OS.img" of="$DEVICE_TO_COPY" bs=4M status=progress conv=fsync

Flash with bmaptool

The image can also be flashed using bmaptool:

bmaptool copy "Redpesk-OS.img" "$DEVICE_TO_COPY"

For releases that still provide the compressed image at the published URL, bmaptool can download and flash it directly:

bmaptool copy \
  "https://download.redpesk.bzh/redpesk-lts/${RELEASE}/images/smack/minimal/aarch64/renesas-gen3/image.raw.tar.xz" \
  "$DEVICE_TO_COPY"

The procedures above are provided for existing legacy images. Availability of a particular release should always be checked from the Download images page.