... | @@ -4,9 +4,7 @@ |
... | @@ -4,9 +4,7 @@ |
|
FRP is a file with a file ending *.frp which contains all needed binary and instruction to update a FALCOM AVL device. A *.frp file is basically a ZIP container with a given structure.
|
|
FRP is a file with a file ending *.frp which contains all needed binary and instruction to update a FALCOM AVL device. A *.frp file is basically a ZIP container with a given structure.
|
|
The main idea is to have all needed files in one container - to prevent any mix of files which may not tested in this combination.
|
|
The main idea is to have all needed files in one container - to prevent any mix of files which may not tested in this combination.
|
|
|
|
|
|
## Content of FRP
|
|
## version 1.0 of FRP
|
|
|
|
|
|
### version 1.0 of FRP
|
|
|
|
```
|
|
```
|
|
*.frp
|
|
*.frp
|
|
|
|
|
|
|
... | @@ -52,7 +50,7 @@ The main idea is to have all needed files in one container - to prevent any mix |
... | @@ -52,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 2.0 of FRP (DRAFT)
|
|
## version 2.0 of FRP (DRAFT)
|
|
```
|
|
```
|
|
*.frp
|
|
*.frp
|
|
|
|
|
|
|
... | @@ -94,9 +92,29 @@ The main idea is to have all needed files in one container - to prevent any mix |
... | @@ -94,9 +92,29 @@ 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`
|
|
|
|
|
|
|
|
## version 3.0 of FRP (PLANNED DRAFT)
|
|
### version 3.0 of FRP (PLANNED DRAFT)
|
|
|
|
```
|
|
```
|
|
*.frp
|
|
*.frp
|
|
|
|
|
|
|
... | | ... | |