Booting the Board

At this point the IPL is already written to the board’s serial flash ROM (see Flashing the IPL), and the Linux kernel, device tree, and root filesystem are on the microSD card you flashed above.

Make sure SW2 is still set to boot from the serial flash ROM, as described in Selection of Boot Device — the position you restored after flashing the IPL.

Insert the microSD card, make sure the Power Control button (the green button near the USB PD port) is in the OFF position, connect the power supply to the board and press the button once so that it latches down to the ON position — the board now powers on.

Open a terminal emulator (e.g., Tera Term) and connect to the ChA (HSCIF0) port of the board, using the settings listed in Serial console channels: 921600 bps, 8N1, no flow control.

The board will start the boot process.

First Boot and Software Setup

After powering on the board for the first time, perform the following steps:

  1. Watch the boot log on the serial console and confirm that Ubuntu boots successfully and reaches the login prompt.

  2. Log in on the serial console with username ubuntu and password ubuntu.

  3. Connect an Ethernet cable to the board and verify network access:

    ping -c 3 8.8.8.8
    ping -c 3 bing.com
    

    Then run apt update to verify that the board can reach the Ubuntu package repositories:

    sudo apt update
    
  4. Resize the root partition to use the full capacity of the microSD card.

    First, check the partition layout:

    lsblk
    

    The root filesystem is the partition mounted at /. Resize it:

    sudo apt install parted
    sudo parted /dev/mmcblk0 resizepart 1 100%
    sudo resize2fs /dev/mmcblk0p1
    

    Note

    The commands above resize partition 1 of the microSD card. If lsblk shows the root filesystem on a different partition, change the partition number in both commands.

  5. Install ROS 2 Jazzy:

    Install ROS 2 Jazzy on the Cortex-A76 cores (Ubuntu side). You can find and use the provided script here: apt_install_ros2.sh.

    Quick installation steps:

    wget https://raw.githubusercontent.com/renesas-rdk/ros2_demo_workspace/refs/heads/main/common_utils/apt_install_ros2.sh
    chmod +x apt_install_ros2.sh
    sudo ./apt_install_ros2.sh
    

    For detailed installation instructions, refer to the official ROS 2 documentation: ROS 2 Jazzy Installation Guide.

  6. (Optional) Add the ROS 2 environment setup to .bashrc:

    echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc
    source ~/.bashrc
    

This completes the Quick Start Guide for R-Car V4H SH.