G
Gary
Hi,
I am trying to make up a single CAB setup .inf file for Pocket PC
2000, Pocket PC 2002, and Pocket PC 2003. Unfortunately, I can't
figure out how to make sure that the right (native) version gets
downloaded to the right device.
1. Telling PPC2000 from all other devices is easy:
[CEDevice.pocket.arm]
ProcessorType = 2577
UnsupportedPlatforms = "HPC","Jupiter","PocketPC"
VersionMin = 2.99 ; version 3.0
VersionMax = 3.98
The "PocketPC" in "UnsupportedPlatforms" takes care of things.
2. PPC2002 and PPC2003 both have the platform string: "PocketPC" (not
"Pocket<space>PC" as incorrectly /I think?/ listed in the help file
for EVC), so UnsupportedPlatforms will not help here. Moreover, the
PPC2003 platform seems to ignore VersionMax (as stated in the docs).
Thus, the following CAB setup:
;
; PPC2002 platform
;
[CEDevice.ppc2002.arm]
ProcessorType = 2577
UnsupportedPlatforms = "HPC","Jupiter"
VersionMin = 2.99 ; version 3.0
VersionMax = 3.98 ; Pocket PC 2003 no longer checks VersionMax
;
; PPC2003 platform
;
[CEDevice.ppc2003.armv4]
ProcessorType = 2577
UnsupportedPlatforms = "HPC","Jupiter"
VersionMin = 3.99 ; version 4.2
VersionMax = 4.99 ; Pocket PC 2003 no longer checks VersionMax
does NOT make a distinction between PPC2002 and PPC2003. PPC2003
version will not get loaded onto a PPC2002 device (VersionMin = 3.99),
but PPC2002 version MIGHT get loaded onto a PPC2003 device (VersionMin
= 2.99 matches, of course).
Documentation mentions the new PlatformMin and PlatformMax, but as far
as I tested, those get ignored altogether and make no difference in
the platform identification above. Docs mention a sample with
PlatformMax in the SDK, but, unfortunately, can't find it anywhere
(dumb me?).
Any ideas?
Gabe
I am trying to make up a single CAB setup .inf file for Pocket PC
2000, Pocket PC 2002, and Pocket PC 2003. Unfortunately, I can't
figure out how to make sure that the right (native) version gets
downloaded to the right device.
1. Telling PPC2000 from all other devices is easy:
[CEDevice.pocket.arm]
ProcessorType = 2577
UnsupportedPlatforms = "HPC","Jupiter","PocketPC"
VersionMin = 2.99 ; version 3.0
VersionMax = 3.98
The "PocketPC" in "UnsupportedPlatforms" takes care of things.
2. PPC2002 and PPC2003 both have the platform string: "PocketPC" (not
"Pocket<space>PC" as incorrectly /I think?/ listed in the help file
for EVC), so UnsupportedPlatforms will not help here. Moreover, the
PPC2003 platform seems to ignore VersionMax (as stated in the docs).
Thus, the following CAB setup:
;
; PPC2002 platform
;
[CEDevice.ppc2002.arm]
ProcessorType = 2577
UnsupportedPlatforms = "HPC","Jupiter"
VersionMin = 2.99 ; version 3.0
VersionMax = 3.98 ; Pocket PC 2003 no longer checks VersionMax
;
; PPC2003 platform
;
[CEDevice.ppc2003.armv4]
ProcessorType = 2577
UnsupportedPlatforms = "HPC","Jupiter"
VersionMin = 3.99 ; version 4.2
VersionMax = 4.99 ; Pocket PC 2003 no longer checks VersionMax
does NOT make a distinction between PPC2002 and PPC2003. PPC2003
version will not get loaded onto a PPC2002 device (VersionMin = 3.99),
but PPC2002 version MIGHT get loaded onto a PPC2003 device (VersionMin
= 2.99 matches, of course).
Documentation mentions the new PlatformMin and PlatformMax, but as far
as I tested, those get ignored altogether and make no difference in
the platform identification above. Docs mention a sample with
PlatformMax in the SDK, but, unfortunately, can't find it anywhere
(dumb me?).
Any ideas?
Gabe