... | @@ -50,7 +50,7 @@ The main idea is to have all needed files in one container - to prevent any mix |
... | @@ -50,7 +50,7 @@ The main idea is to have all needed files in one container - to prevent any mix |
|
* after reset check successfull update via `$pfal,msg.version.complete`
|
|
* after reset check successfull update via `$pfal,msg.version.complete`
|
|
|
|
|
|
|
|
|
|
## version 3.0 of FRP (DRAFT)
|
|
## version 3.0 of FRP (deprecated)
|
|
```
|
|
```
|
|
*.frp
|
|
*.frp
|
|
|
|
|
|
|
... | @@ -92,29 +92,6 @@ The main idea is to have all needed files in one container - to prevent any mix |
... | @@ -92,29 +92,6 @@ The main idea is to have all needed files in one container - to prevent any mix |
|
</devices>
|
|
</devices>
|
|
</falcom-resource-package>
|
|
</falcom-resource-package>
|
|
```
|
|
```
|
|
#### update process
|
|
|
|
* unpack *.frp into local temp folder
|
|
|
|
* parse content.xml
|
|
|
|
* check device via `$pfal,msg.version.complete`
|
|
|
|
* compare device class,type, major from current device with data from XML
|
|
|
|
* if fit move on if not stop process here
|
|
|
|
* if defined a `<pre>` in configuration sent `$pfal,Sys.Device.CfgUpdateMode` to enter optimized device config update mode - if not skip next 2 points
|
|
|
|
* update each pfal in any xxxxx_yyy.pre.conf one by one (timeout ~30sec. retry 3)
|
|
|
|
* when all `$pfal` settings successfull transmitted sent `$pfal,Cnf.Backup` this will optimize the stored config
|
|
|
|
and create a backup of the current configuration
|
|
|
|
* check crc of *.bin
|
|
|
|
* update *.bin via pfal in given mode (when compress is used compress before transmit)
|
|
|
|
* check all packages transmit with ok
|
|
|
|
* finalize update via pfal
|
|
|
|
* device will reset
|
|
|
|
* after reset check successfull update via `$pfal,msg.version.complete`
|
|
|
|
* if defined a `<post>` in configuration sent `$pfal,Sys.Device.CfgUpdateMode` to enter optimized device config update mode - if not skip next 3 points
|
|
|
|
* update each pfal in any xxxxx_yyy.pre.conf one by one (timeout ~30sec. retry 3)
|
|
|
|
* when all `$pfal` settings successfull transmitted sent `$pfal,Cnf.Backup` this will optimize the stored config
|
|
|
|
and create a backup of the current configuration
|
|
|
|
* recommended to sent a `$pfal.sys.device.reset`
|
|
|
|
* please note the "crc" for configuration is optional
|
|
|
|
|
|
|
|
## version 4.0 of FRP (DRAFT 1)
|
|
## version 4.0 of FRP (DRAFT 1)
|
|
#### example of frp file content
|
|
#### example of frp file content
|
|
```
|
|
```
|
... | @@ -177,3 +154,27 @@ Raw file with following options: |
... | @@ -177,3 +154,27 @@ Raw file with following options: |
|
</devices>
|
|
</devices>
|
|
</falcom-resource-package>
|
|
</falcom-resource-package>
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# general update process
|
|
|
|
* unpack *.frp into local temp folder
|
|
|
|
* parse content.xml
|
|
|
|
* check device via `$pfal,msg.version.complete`
|
|
|
|
* compare device class,type, major from current device with data from XML
|
|
|
|
* if fit move on if not stop process here
|
|
|
|
* if defined a `<pre>` in configuration sent `$pfal,Sys.Device.CfgUpdateMode` to enter optimized device config update mode - if not skip next 2 points
|
|
|
|
* update each pfal in any xxxxx_yyy.pre.conf one by one (timeout ~30sec. retry 3)
|
|
|
|
* when all `$pfal` settings successfull transmitted sent `$pfal,Cnf.Backup` this will optimize the stored config
|
|
|
|
and create a backup of the current configuration
|
|
|
|
* check crc of *.bin
|
|
|
|
* update *.bin via pfal in given mode (when compress is used compress before transmit)
|
|
|
|
* check all packages transmit with ok
|
|
|
|
* finalize update via pfal
|
|
|
|
* device will reset
|
|
|
|
* after reset check successfull update via `$pfal,msg.version.complete`
|
|
|
|
* if defined a `<post>` in configuration sent `$pfal,Sys.Device.CfgUpdateMode` to enter optimized device config update mode - if not skip next 3 points
|
|
|
|
* update each pfal in any xxxxx_yyy.pre.conf one by one (timeout ~30sec. retry 3)
|
|
|
|
* when all `$pfal` settings successfull transmitted sent `$pfal,Cnf.Backup` this will optimize the stored config
|
|
|
|
and create a backup of the current configuration
|
|
|
|
* recommended to sent a `$pfal.sys.device.reset`
|
|
|
|
* please note the "crc" / "sha512" for configuration is optional |
|
|
|
\ No newline at end of file |