To generate an update:
<vrm> <DeltaType>update</DeltaType> <ComponentDeltaFileName> QNXCAR2-from_version-to_version.mld </ComponentDeltaFileName> <RamSize>0x20000000</RamSize> <Statistics>stats_from_version-to_version.txt</Statistics> <keepinvaliddelta>1</keepinvaliddelta> <partition> <PartitionName>apps</PartitionName> <PartitionType>PT_FS</PartitionType> <MountPoint>/</MountPoint> <SourceVersion>source</SourceVersion> <TargetVersion>target</TargetVersion> <ExcludeSourceFilter>filter.xml</ExcludeSourceFilter> <ExcludeTargetFilter>filter.xml</ExcludeTargetFilter> </partition> </vrm>
The listing above contains the recommended contents for the configuration file. Your filename must follow the format shown in the <ComponentDeltaFileName> tag, where from_version and to_version are replaced with the versions of the source and target trees.
<FilterFile version=1.0> <ExcludeSourceFilter>dos/qnx-ifs</ExcludeSourceFilter> <ExcludeTargetFilter>dos/qnx-ifs</ExcludeTargetFilter> </FilterFile>
In this example, you would name the filter definition file filter.xml so it will be picked up by the main configuration file created in Step 1.
This additional XML file defines the filters that prevent the boot image of the DOS partition on the QNX CAR system's SD card from being overwritten during the update.The source directory will contain the filesystem image that matches what is currently running on your device. The target directory will contain the filesystem image that your device will be running after the update.
# cd source # sudo tar xmzpf ../board.variant.version.tar.gz base dos var/pps/qnxcar/system/info
where board.variant.version.tar.gz is the name of the source filesystem image.
# cd ../target # sudo tar xmzpf ../board.variant.version.tar.gz base dos var/pps/qnxcar/system/info
where board.variant.version.tar.gz is the name of the target filesystem image.
# sudo ./vRapidMobileCMD-Linux.exe /type=vRM /configuration_file=./deltaConfig.xml
where deltaConfig.xml is the name of the file you created in Step 1.
An update (delta) file called QNXCAR2-from_version-to_version.mld (where from_version and to_version are the source and target version numbers) will be written to your current directory. You'll use this file to update your system.