# Configure
QDTE is a GUI tool that is used to configure the Device Tree Binary
(DTB) files. It can also be used to modify and configure
[Interfaces](https://docs.qualcomm.com/doc/80-70017-4/topic/interfaces.html#interfaces).
For more details on QDTE features, see [QDTE](https://docs.qualcomm.com/doc/80-70017-4/topic/tools.html#qdte-tools).
Set up the configuration on your host device as follows:
Table : Configuration for Linux/Windows
| Property | File path for Linux/Windows host machine |
| --- | --- |
| **SecTool path**: Installation path to SecToolsv2, a tool used to perform secure operations on software images. |
Linux: SECTOOLS=”META_PATH”/<chipset>.LE.X.x/common/sectoolsv2/ext/Linux/sectools
Windows: SECTOOLS=”META_PATH”<chipset>.LE.X.xcommonsectoolsv2extwindowssectools
For more information on SecToolsv2 for Windows, see SecTools V2: Metabuild Secure Image User Guide
|
| **Profile file**: Used for signing the security profile XML files. | |
| **Sign cmd json**: Used for signing the JSON file from the QDTE installation directory. The test signing mode is used for working on a nonsecure device. For secure devices, see [enable secure boot](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-11/enable-secure-boot.html). | |
| **Devprg file**: Device programmer file. |
Linux: "META_PATH”/<chipset>.LE.X.x/BOOT.MXF.1.0.c1-00134-KODIAKLA-2/boot_images/boot/QcomPkg/SocPkg/Kodiak/Bin/LAA/DEBUG/prog_firehose_ddr.elf
Windows: "META_PATH”<chipset>.LE.X.xBOOT.MXF.1.0.c1boot_imagesbootQcomPkgSocPkgKodiakBinLAADEBUGprog_firehose_ddr.elf
|
| **Flash type**: Type of storage, which in this case is UFS. | – |

**Figure : Settings for Linux signature configuration**

**Figure : Settings for Windows signature configuration**
Use the following procedure to configure the DTB files using QDTE. This
procedure is applicable only to XBL and UEFI DTB.
1. To open the XBLConfig ELF file, go to **File** > **Open DTBElf** > **From Build**.
- If the file is invalid or corrupted, an error is generated. To
prevent the error, ensure that you download the valid boot
binaries including `xbl_config.elf`, and use them with the XBL
configuration. The boot component is released in the binary and is
part of the firmware binary.
- If the file loads successfully, a tree view appears, populated
with the DTB elements.
2. To edit the XBLConfig ELF file, double-click on it.
The file is displayed on the primary QDTE interface.
The figure shows an XBLConfig helper window displaying the
disassembled results of an XBLConfig file containing two DTBs.
>
>
> 
The figure shows an example file opened in a tree view with all four
columns populated:
>
>
> 
3. To discard all the changes and reload the file from the disk (if the
file undergoes changes on the disk while the QDTE tool is open),
select **File** > **Reload File**
4. To add items to the tree, right-click on a node. The following items
are displayed:
Table : DT items
| Tree item | Description |
| --- | --- |
| Add New Child | Adds a child in the tree. |
| Node | Asks for the name of the new node and adds it. If the node name is invalid, an error occurs. |
| Property of Type | Opens a menu that allows you to choose the type of property to add.
Adding a property displays the **Edit** dialog box corresponding to the type of the new property.
On confirmation, a new property of the specified type is added. |
You can remove all items in the DT, except for the root node. To delete an item, right-click on it and select **Delete**. Deleting a node also removes its child nodes, if any.
5. To edit a property, you can either right-click and select **Edit**
or double-click to open a dialog box. This dialog box allows you to
edit both the property name and value.
6. To view the DTB file as a binary hexadecimal dump, go to **View** >
**Raw**, which displays the exported DTB file.
The following example of the raw view shows the offset, hexadecimal
value, and corresponding character columns, with a node highlighted
in orange.
>
>
> 
To remove all highlights, go to **View** > **Clear Highlights**.
7. To save the modified DTBs, you can either go to **File** > **Save**
(or press **CTRL + S**) to overwrite the existing file or go to
**File** > **Save Copy As** (or press **CTRL + SHIFT + S**) to save
a copy of the DTB to a new file.
8. To generate a summary of the changes, select **File** > **ExportChange Report.**
Creates a JSON file listing all changes made to the DT in the
session, along with the result of the DTB after the operation.
9. To save the modified DTB files within the main QDTE, go to the
XBLConfig helper window, and click **Reassemble and Sign**. Saves
your modified XBLConfig file.
10. Next, choose a name for the output file.
The XBLConfig toolchain is then invoked to re-assemble the ELF. If
an error message indicates that a signed XBLConfig was not
generated, it is downgraded to a warning, and a success message is
shown instead.

Last Published: Dec 30, 2024
[Previous Topic
Develop](https://docs.qualcomm.com/bundle/publicresource/80-70017-4/topics/develop-boot-public.md) [Next Topic
Debug](https://docs.qualcomm.com/bundle/publicresource/80-70017-4/topics/debug.md)