You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit this configuration file with your editor of choice. For example:
65
+
WARNING: This will not work if you have not reboot after installing the package!
65
66
66
-
----
67
-
$ sudo nano /etc/rpi-sb-provisioner/config
68
-
----
67
+
Running this command will open up a full screen text UI. The TUI supports mouse input or keyboard navigation!
68
+
Each of the boxes contains a name, text entry and help button. The steps for editing each parameter are as follows:
69
+
70
+
[pdfwidth=90%]
71
+
.A parameter entry area
72
+
image::docs/images/rpi-config-textfield.png[]
73
+
74
+
75
+
*1 -* Click or use `tab` to click the help button to view the information about the parameter
76
+
77
+
*2 -* Navigate to the text field and enter the value you wish
78
+
79
+
*3 -* To stage this value for writing, you must click `return` on your keyboard. If the value is successfully verified, then the field will change color to green and a tick should appear. If validation fails, a warning popup should appear with some help text. A cross will also appear next to the parameter name.
*4 -* Repeat the above steps to complete your required parameters (some are optional).
87
+
88
+
*5 -* Write to the configuration file by pressing the `Write verified params to config file` button at the bottom of the screen
89
+
90
+
Once you have followed all those steps, `rpi-sb-provisioner` should be correctly configured and ready to run.
69
91
70
92
== Configuration fields
71
93
@@ -176,18 +198,21 @@ No further intervention is required in the success case.
176
198
177
199
WARNING: `rpi-sb-provisioner` will not, by default, block JTAG access. If you wish to make use of this facility, you _must_ specify this in the Raspberry Pi Bootloader configuration pointed to by `RPI_DEVICE_BOOTLOADER_CONFIG_FILE`
178
200
179
-
=== Monitoring via the app
201
+
=== Monitoring via the monitoring application
180
202
181
-
`rpi-sb-provisioner` also contains a monitoring TUI. This can be used to observe how far through the process each device is. It also allows for easy introspection of the log files and lists all completed and failed devices.
203
+
`rpi-sb-provisioner` also contains a monitoring application. This can be used to observe the progress of a device as it is being provisioned. It also allows for easy introspection of the log files and lists all completed and failed devices.
204
+
The monitoring application supports both mouse or keyboard input. Navigation between boxes can be acheived by using the `tab` key or by clicking on the desired area.
182
205
183
206
To run, type into a terminal window:
184
207
185
208
----
186
209
$ monitor.sh
187
210
----
188
211
189
-
The TUI will start up with 3 sections, triaging, keywriting and provisoning. If a device is connected, you will be able to watch it progress through each of the sections.
190
-
The TUI also has two areas at the bottom, one for successfully completed provisions and one for failed provisions. Clicking on the device name will open up a log window, along with options to view the log files for each step of the provisioning service.
212
+
The TUI will intialise with 2 rows, the top one showing the progress of a device throughout the process, with each of the columns being for devices in the following stages: triaging, keywriting and provisoning.
213
+
When a device is connected, you will be able to watch it progress through each of the sections.
214
+
The second row of the TUI also has two boxes at the bottom, the left being successfully completed provisions and the right for failed provisions.
215
+
Clicking on the device name will open up a second window, with buttons to view the log files for each step of the provisioning service.
191
216
To return to the main monitoring screen, just press the key `m`.
192
217
To quit the app use the key combination `CTRL-C` or `q`.
0 commit comments