Difference between revisions of "Unit ShellUpdate"

From Ultibo.org
Jump to: navigation, search
Line 114: Line 114:
 
|-
 
|-
 
| <code>SHELL_UPDATE_ITEM_FIRMWARE_FILES = 'FIRMWARE';</code>
 
| <code>SHELL_UPDATE_ITEM_FIRMWARE_FILES = 'FIRMWARE';</code>
 +
| &nbsp;
 +
|-
 +
| <code>SHELL_UPDATE_ITEM_DEVICETREE_FILES = 'DEVICETREE';</code>
 
| &nbsp;
 
| &nbsp;
 
|-
 
|-
Line 131: Line 134:
 
|-
 
|-
 
| <code>SHELL_UPDATE_PARAMETER_CURRENT = 'C';</code>
 
| <code>SHELL_UPDATE_PARAMETER_CURRENT = 'C';</code>
 +
| &nbsp;
 +
|-
 +
| <code>HELL_UPDATE_PARAMETER_DTB = 'DTB';</code>
 
| &nbsp;
 
| &nbsp;
 
|-
 
|-
Line 206: Line 212:
 
| <code>SHELL_UPDATE_FIRMWARE_FILES:String;</code>
 
| <code>SHELL_UPDATE_FIRMWARE_FILES:String;</code>
 
| style="width: 40%;"|Name of the firmware files for updates (eg bootcode.bin,start.elf,fixup.dat)
 
| style="width: 40%;"|Name of the firmware files for updates (eg bootcode.bin,start.elf,fixup.dat)
 +
|-
 +
| <code>SHELL_UPDATE_DTB_FILES:String;</code>
 +
| style="width: 40%;"|Name of the device tree files for updates (eg bcm2708-rpi-b.dtb,bcm2710-rpi-2-b.dtb,bcm2711-rpi-4-b.dtb)
 
|-
 
|-
 
|}
 
|}

Revision as of 03:40, 13 September 2022

Return to Unit Reference


Description


Ultibo Update Shell Extension unit

Constants



[Expand]
Shell update specific constants SHELL_UPDATE_*


[Expand]
Shell update command SHELL_UPDATE_COMMAND_*


[Expand]
Shell update action SHELL_UPDATE_ACTION_*


[Expand]
Shell update item SHELL_UPDATE_ITEM_*


[Expand]
Shell update parameter SHELL_UPDATE_PARAMETER_*


Type definitions


None defined

Class definitions



Shell Update specific classes

TShellUpdate = class(TShellCommand)


Public variables



Shell update specific variables

SHELL_UPDATE_HTTP_SERVER:String; Name or IP of http server for updates (eg 192.168.0.1)
SHELL_UPDATE_HTTP_PROXY:String; Name or IP and Port of http proxy server (eg 192.168.0.100:8080)
SHELL_UPDATE_HTTP_PATH:String; URL path on http server for updates (eg /updates/)
SHELL_UPDATE_LOCAL_PATH:String; Local path for updates (eg C:\)
SHELL_UPDATE_KERNEL_IMAGE:String; Name of the kernel image file for updates (eg kernel.img)
SHELL_UPDATE_KERNEL_CONFIG:String; Name of the kernel config file for updates (eg config.txt)
SHELL_UPDATE_KERNEL_COMMAND:String; Name of the kernel command file for updates (eg cmdline.txt)
SHELL_UPDATE_FIRMWARE_FILES:String; Name of the firmware files for updates (eg bootcode.bin,start.elf,fixup.dat)
SHELL_UPDATE_DTB_FILES:String; Name of the device tree files for updates (eg bcm2708-rpi-b.dtb,bcm2710-rpi-2-b.dtb,bcm2711-rpi-4-b.dtb)


Function declarations



Initialization functions

[Expand]
procedure ShellUpdateInit;
Description: To be documented


Return to Unit Reference