...
The following shows how to set the switches on the boot source selector:
...
Info |
---|
Please Note: The black rectangle represents the switch position. |
...
Downloading the Debian image
Download the 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-6391518/rzg2lc-solidrun-sd-debian-6391518.img.xz
For more Debian releases, please visit Debian Releases for RZ/G2LC.
Writing the image to the SD card
Use the following commands for writing the image to an SD card:Code Block xz -dc rzg2lc-solidrun-sd-debian-6391518.img.xz | dd of=/dev/sdX bs=4k conv=fdatasync
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.
Once you installed the necessary serial connection software, you should be able to see the following:
...
Enter as a “root” in the login “root” like in the above example and then you can move on to use the device.
...
The following stages need to be done in order to finalise the imaging from the computer after flashing it.
Run the following commands before the first boot:
$ sudo umount /dev/sda2
.$ sudo e2fsck -f /dev/sda2
.$ sudo resize2fs /dev/sda2
.$ sudo parted /dev/sda
.$ (parted) resizepart 2
.$ (parted) 15000
.Boot your device.
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
Please see below an example of resizing the filesystem :
...
More Features
Internet
Connect an Ethernet cable to your HummingBoard Pulse (for internet access during boot-up).
Models HummingBoard with WiFi, can be connected via WiFi or wired Ethernet.
...
To discover your wireless network interface name, see Network Interfaces.
Install the wpa_supplicant package:
Code Block |
---|
apt-get install wpasupplicant |
Edit network interfaces file :
At the bottom of the file, add the following lines to allow wlan as a network connection:
Code Block |
---|
cat <<EOF > /etc/network/interfaces.d/wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp EOF |
Create a configuration file with the relevant ssid:
Code Block |
---|
cat <<EOF > /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=/run/wpa_supplicant update_config=1 network={ ssid="MYSSID" psk="passphrase" } EOF |
Check your personal ssids by running : ‘iw dev wlan0 scan’
Make sure it works:
Restart your device and it should connect to the wireless network. If it doesn't, repeat above steps or get help from an adult.
...
For showing all Bluetooth devices, run the following:
Code Block |
---|
$ apt-get install bluez hciconfig$ -a |
...
bluetoothctl |
Turn the device on:
Code Block |
---|
[bluetooth]# hciconfigpower hci0 up |
Set up the Bluetooth name:
Code Block |
---|
hciconfig hci0 name 'SolidRun_Ble' |
on |
Make your Bluetooth detectable by other devices:
Code Block |
---|
hciconfig hci0 piscan[bluetooth]# discoverable on |
If you want to connect to other devices:
Start by scanning for other Bluetooth devices:
Code Block |
---|
hcitool[bluetooth]# scan on |
Choose a MAC address and connect :
Code Block |
---|
rfcomm connect 0 $MAC 10 & [bluetooth]# pair $MAC |
You can check the communication pairing list between the devices by writing :
Code Block |
---|
l2ping[bluetooth]# -c 4 $MACpaired-devices |
Cellular Modem
The cellular modem is a more fully featured extension of which contains a cellular module with additional hardware interfaces and a SIM card slot.
You can connect your cellular modem to the mPCIe, and insert a SIM card.
How to connect to the network:
1. Install “modemmanager” package on your debian.Code Block $ sudo apt install modemmanager
2. Search for your modem location:
Code Block $ mmcli -L
3. Connect to your modem:
Code Block $ mmcli --modem=/your/modem/location
4. Enable the modem:
Code Block $ mmcli --modem=/your/modem/location -e
5. Scan for networks:
Code Block $ mmcli --modem=/your/modem/location --3gpp-scan
6. connect to 3gpp network:
Code Block $ mmcli --modem=/your/modem/location --3gpp-register-in-operator=<network ID>
7. Make sure the connection was created:
Code Block $ mmcli --modem=/your/modem/location
For some cellular modules to be connected, please refer to Cellular Modules .
...