User's Manual
Appendix 1: Advanced boot options ReliaGATE 10-12 User manual Rev. 2-1
1.1.3 How to change the default boot option
The default boot option is fitboot which boots the production kernel fitimage.
To change the default option, complete the following steps:
1. Access to the bootloader CLI
2. Enter the following commands:
setenv bootcmd ‘run <target>’
saveenv
boot
where:
l <target> is one of the available boot options
l saveenvis the command that writes the changes to flash, making them permanent.
Do not enter the saveenv command if you wish the change to only apply to the
current boot
1.2 The production fitImage
The production fitImage contains all of the Device Tree Blobs (DTB’s) required to configure the currently
supported variants.
A fitImage is essentially a partitioned binary filesystem, where each partition is signed and carries a
reference.
The current layout of the fitImage is as follows:
Image Reference Description Size (bytes)* Hash*
0 kernel@1 Linux kernel 4527064 4de8ed98e0ca6bedebe28794feca66d8681ac323
1 fdt@reliagate-10-12-xx.dtb xx variant
Flattened DTB
37215 96ea8ceec55f50fceb7dd6ac60ccfabd4946ca55
2 fdt@reliagate-10-12-spi.dtb spi variant
Flattened DTB
36763 2249f9c342e6555a9f255d54632c98b6c11128fc
3 fdt@reliagate-10-12-gpio.dtb gpio variant
Flattened DTB
36557 b9b9beea936c92333afb036c6d7888e2febaab7f
* Image size and hash values shown are provided for example purposes only.
1.2.1 How to define the variants
At installation, to define the variant use the eurotech_install.sh script with the -c option:
./eurotech_install.sh -cgpio --no-java
This will select the ‘gpio’ DTB variant in the production fitImage.
NOTE: If no -c option is present, the -cxx option will be selected.
1.2.2 How to manually configure the system to boot from a different DTB within the
current fitImage
To manually configure the system to boot from a different DTB within the current fitImage, you have the
following options:
l Option1: Configure the system in Linux (the fw_utils must be installed)
l Option2: Configure the system in the bootloader
112 / 118