blob: 08a815133c3f8449fc7260f167a87455c460085c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#Name
**ConfigEditor.py** is a python script with a GUI interface that can support changing configuration settings directly from the interface without having to modify the source.
#Description
This is a GUI interface that can be used by users who would like to change configuration settings directly from the interface without having to modify the SBL source.
This tool depends on Python GUI tool kit Tkinter. It runs on both Windows and Linux.
The user needs to load the YAML file along with DLT file for a specific board into the ConfigEditor, change the desired configuration values. Finally, generate a new configuration delta file or a config binary blob for the newly changed values to take effect. These will be the inputs to the merge tool or the stitch tool so that new config changes can be merged and stitched into the final configuration blob.
It supports the following options:
## 1. Open Config YAML file
This option loads the YAML file for a FSP UPD into the ConfigEditor to change the desired configuration values.
#####Example:
```
![Example ConfigEditor 1](https://slimbootloader.github.io/_images/CfgEditOpen.png)
![Example ConfigEditor 2](https://slimbootloader.github.io/_images/CfgEditDefYaml.png)
```
## 2. Open Config BSF file
This option loads the BSF file for a FSP UPD into the ConfigEditor to change the desired configuration values. It works as a similar fashion with Binary Configuration Tool (BCT)
## 3. Show Binary Information
This option loads configuration data from FD file and displays it in the ConfigEditor.
## 4. Save Config Data to Binary
This option generates a config binary blob for the newly changed values to take effect.
## 5. Load Config Data from Binary
This option reloads changed configuration from BIN file into the ConfigEditor.
## 6. Load Config Changes from Delta File
This option loads the changed configuration values from Delta file into the ConfigEditor.
## 7. Save Config Changes to Delta File
This option generates a new configuration delta file for the newly changed values to take effect.
## 8. Save Full Config Data to Delta File
This option saves all the changed configuration values into a Delta file.
## Running Configuration Editor:
**python ConfigEditor.py**
|