Introduction
The following quick start guide provides background information about the HummingBoard Pro RZ/V2L.
...
Before powering up the board for the first time it is recommended to select the boot media. In order to configure the boot media, please refer to HummingBoard RZ/V2L Boot Select .
eMMC and SD connect to the same SDIO signals via MUX so we can’t have access to the SD & eMMC at the same time, select eMMC/SD by setting switch S3{6} → on : eMMC , off : SD
Generating Yocto, Buildroot and Debian image
Yocto
Clone the repository from the “List of supported OS” link and move your terminal to this directory.
Download the layers by this command
Code Block $ repo init -u https://github.com/SolidRun/meta-solidrun-arm-rzg2lc.git -b dunfell -m meta-solidrun-arm-rzg2lc.xml $ repo sync
In this stage you can modify your image configs as you want, you can find more info about it the the repository.
For graphics support you need to explore in the readme file in the github and follow the instructions of this utility.
Set the environment of the image that going to be build by this command
Code Block $ TEMPLATECONF=$PWD/meta-solidrun-arm-rzg2lc/docs/template/conf/rzg2lc-solidrun source poky/oe-init-build-env build
Build your own Yocto image by this command
Code Block $ MACHINE=rzv2l-hummingboard bitbake <target>
NOTE: Choose your relevant target, for example:
-core-image-bsp: cli image.
-core-image-weston: graphical image.
-core-image-qt: graphical image including qt.
Buildroot/Debian
Clone the repository from the “List of supported OS” link and move your terminal to this directory.
In this stage you can modify your image configs as you want, you can find more info about it the the repository.
Build your own image by this command
Code Block $ MACHINE=rzv2l-hummingboard Distro=<Buildroot/Debian> ./runme.sh
Booting from SD card
The following shows how to set the switches on the boot source selector:
...
Info |
---|
Please Note: The black rectangle represents the switch position. |
Once you set the switches, you can apply the following for booting from SD card:
Downloading the Debian image
Download the image (for example Debian image ) by running the following command on your Linux/Windows PC:Code Block wget https://solid-run-images.sos-de-fra-1.exo.io/RZ/rzg2lc_build/20231122-6391518Debian/build_date_20240529-git_rev_f22483f/rzv2l-solidrun-sd-debian-6391518f22483f.img.xz
For more Debian releases, please visit Debian Releases for RZ/V2L.
Writing the image to the SD card
Use the following commands for writing the image to an SD card:Code Block xz -dc rzv2l-solidrun-sd-debian-6391518f22483f.img.xz | dd of=/dev/sdX oflag=direct status=progress
For more information, please visit Flashing an SD Card .
Note:Plug a micro SD into your Linux PC, the following assumes that the USB-Disk / Micro-SD is added as /dev/sdX and all it’s partitions are unmounted.
SD card insertion
Please Insert the SD card into your device.Power connection
Connect your power adaptor to the DC jack, and then connect the adaptor to mains supply.Power On
Hold on the On/Off Power button - SW1 (as shown in the figure below)Note: The system should turn on by default when the power is connected (without pressing the button).
Serial Connection
Please insert the micro USB into your device, then you can refer to Serial Connection for installing necessary serial connection software in Linux/Windows.
In order to be able to log in , please insert “root” as a username as follows:
Final stages
The following stages need to be done in order to finalise the imaging:
...
Run the following commands before the first boot:
$ sudo umount Runfdisk /dev/sda2
.$ sudo e2fsck -f /dev/sda2
.$ sudo resize2fs /dev/sda2
.$ sudo parted /dev/sda
.$ (parted) resizepart 2
.$ (parted) 15000
.Boot your devicemmcblk0
if using SD or eMMC.Recreate the rootfs partition (mostly the second partition) by deleting it and then creating a new partition that starts at the next sector after the first one and extends to the end of the drive (or less depending on your needs).
Write the new partition, when prompt about ‘Do you want to remove the signature?’ then answer with Yes.
Run
resize2fs /dev/mmcblk0p2
if using SD Card or eMMC.In this stage the root partition should be big enough to start populating it; but first update the RTC clock.
Connect the RJ45 to your network with internet access (and DHCP server); and then run
dhclient
.Update the RTC clock by running
ntpdate pool.ntp.org
and thenhwclock -w
.Run apt-update commands below and then populate the root filesystem as you wish.
Code Block |
---|
$ apt-get update && apt-get upgrade -y |
Here is an example of the same process in the rzg2lc device until the 3rd step (include):
...
After those steps you should end the process in this way (step 4 to the end):
...
In the end you should see with “lsblk” that the partition size is in the required size.
More Features
Include Page | ||||
---|---|---|---|---|
|
...