Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The RZ HummingBoards have two basic boot modes: SD boot and eMMC boot. The boot process starts with loading the bootloaders to the memory from the SD or eMMC. This article will explain how to boot HummingBoard in different modes and flash bootloaders to the eMMC.

This guide compatible with all the RZ family. For using with a specific device you need to change the path of the image to the correct one (replace all the xxxx).

Boot from SD card

  • Prepare the SD card. Connect the SD card to your PC and flash the image on it.

Code Block
$ sudo dd if=images/rzxxxx_solidrun_buildroot-sd-xxxxxxx.img of=/dev/sdX bs=1M
Info

Note: the image’s path is a general one, choose the matching image by replacing the first xxxx in the image’s path.

Info

Note: xxxxxxx in the file name is the software revision number that changes over time.

Info

Note: the SD card is assumed to be connected to /dev/sdX device and unmounted. Don’t forget to change X to the actual device letter.

...

Code Block
$ sudo dd if=images/rzxxxx_solidrun_buildroot-sd-xxxxxxx.img of=/dev/sdX bs=1M
Info
Note: the image’s path is a general one, choose the matching image by replacing the first xxxx in the image’s path.
Info

Note: the USB drive is assumed to be connected to /dev/sdX device and unmounted. Don’t forget to change X to the actual device letter.

...

Code Block
$ sudo dd if=images/rzxxxx_solidrun-sd-bootloader-xxxxxxx.img of=/dev/sdX bs=1M
Info

Note: the image’s path is a general one, choose the matching image by replacing the first xxxx in the image’s path.

  • Set the S3 DIP switch to “Boot from uSD. “

  • Prepare the TFTP server. Place the following files from the build directory on the server:

    • images/tmp/Image

    • images/tmp/rzxxxx-hummingboard.dtb

    • images/tmp/initrd.img

  • Connect the USB cable and open the serial terminal. If you have trouble with this step, refer to the serial connection article.

  • Plug the SD card, USB drive, and Ethernet cable into the HummingBoard, and connect the power supply.

...

Code Block
# setenv sdio_select emmc
Code Block
# booti $kernel_addr_r $ramdisk_addr_r $fdt_addr_r

...

Code Block
$ dd if=rzxxxx_solidrun_buildroot-sd-a6f9227xxxxx.img of=/dev/mmcblk0 bs=4M

...

Prepare the board:

...

Info

Note: The fw command uploads the flash-writer bare-metal software to the RAM. You can change the order or skip some of the commands if you need, but the fw command should always come first since it uploads the necessary software for the other commands.

Set the S3 DIP switch to eMMC boot and press reset.