...
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. |
Set the S3 DIP switch to “Boot from uSD. “
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 into the HummingBoard and connect the power supply.
...
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. |
Set the S3 DIP switch to “Boot from uSD. “
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 and USB drive into the HummingBoard, and connect the power supply.
...
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 |
Set the S3 DIP switch to "Boot from emmc".
Boot the Linux kernel:
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:
Connect serial cable
Connect power supply
...
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.
Pre-programmed SOMs
Pre-programmed SOMs (bootloader/custom_image on eMMC) can be ordered from Solid-Run for high volume (programming will be done during the production test process).
It is possible to order SOMs from Solidrun with preprogrammed General/Custom bootloader on eMMC and then you can load the Linux & FS over USB-Disk / Ethernet (TFTP/DHCP) and then program the custom image from Linux…