# HG changeset patch # User Pat Downey # Date 1273665394 -3600 # Node ID 11f25704ec273fb5b1e1b7c1e3cffbbadada4c43 # Parent d1cef5ea6d9994fd63031c5ec33330d2d92129d9# Parent 8f26271e902e9bc6cb19dc5421a6f3d3ddf3f3f3 Merge s^4 and ats changes. diff -r 8f26271e902e -r 11f25704ec27 common/build.postbuild.xml --- a/common/build.postbuild.xml Wed May 12 12:42:35 2010 +0100 +++ b/common/build.postbuild.xml Wed May 12 12:56:34 2010 +0100 @@ -36,7 +36,6 @@ - @@ -79,9 +78,9 @@ - - - + + + @@ -151,7 +150,7 @@ - + @@ -241,10 +240,12 @@ + + @@ -252,7 +253,7 @@ - + @@ -262,6 +263,7 @@ + @@ -284,6 +286,7 @@ + @@ -293,6 +296,7 @@ + @@ -303,6 +307,7 @@ + @@ -311,6 +316,7 @@ + @@ -319,6 +325,7 @@ + @@ -327,14 +334,16 @@ + - - + + + @@ -354,10 +363,12 @@ - + + + @@ -563,16 +574,16 @@ - - - - - - - + + + + + + + - - + + @@ -580,8 +591,8 @@ - - + + @@ -637,8 +648,11 @@ + + - + + @@ -688,7 +702,7 @@ - + @@ -715,16 +729,16 @@ - + - - - - + + + + - - + + @@ -750,13 +764,13 @@ - - + + - - + + @@ -771,7 +785,7 @@ - + @@ -786,11 +800,11 @@ - - - - - + + + + + @@ -798,9 +812,9 @@ - + - + @@ -850,13 +864,12 @@ - - + diff -r 8f26271e902e -r 11f25704ec27 common/build.test.xml --- a/common/build.test.xml Wed May 12 12:42:35 2010 +0100 +++ b/common/build.test.xml Wed May 12 12:56:34 2010 +0100 @@ -167,7 +167,6 @@ - @@ -209,13 +208,23 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + diff -r 8f26271e902e -r 11f25704ec27 common/build.xml --- a/common/build.xml Wed May 12 12:42:35 2010 +0100 +++ b/common/build.xml Wed May 12 12:56:34 2010 +0100 @@ -334,13 +334,13 @@ - - - - - - - + + + + + + + diff -r 8f26271e902e -r 11f25704ec27 common/tools/7z_list_to_manifest.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/7z_list_to_manifest.pl Wed May 12 12:56:34 2010 +0100 @@ -0,0 +1,57 @@ +#!/usr/bin/perl + +# Copyright (c) 2009 Symbian Foundation Ltd +# This component and the accompanying materials are made available +# under the terms of the License "Eclipse Public License v1.0" +# which accompanies this distribution, and is available +# at the URL "http://www.eclipse.org/legal/epl-v10.html". +# +# Initial Contributors: +# Symbian Foundation Ltd - initial contribution. +# +# Contributors: +# +# Description: +# Turn a 7z listing into a manifest file that can be re-used by 7z +# - Assumes that header/footer is fixed, and that file listing starts at column 53 +# Also allows use on a zipfile directly by passing -z as an option + +use strict; + +my $line; +my $between_header_footer = 0; +my $header_footer_pattern = "------------------- ----- ------------ ------------ ------------------------"; + +my $file = shift or die "Usage: $0 <7z list output file> [-z to run directly on a zipfile]\n"; # provided 7z list to process +my $mode = shift; + +# if -z has been specified, then generate intermediate 7z list file for processing +if ($mode eq lc("-z")) { + system("7z l $file > $file.tmp.lst"); + $file = $file.".tmp.lst"; +} + +open my $sevenZfile, "<", $file or die; + +while ($line =<$sevenZfile>) +{ + if ($line =~ /$header_footer_pattern/) + { + $between_header_footer= !$between_header_footer; + + } + if (($line =~ /^(.{53})(.*)/) && ($line !=/$header_footer_pattern/)) + { + print $2 ."\n" if $between_header_footer; + next; + } +} + +close $sevenZfile; + +# remove temp 7z file if one has been generated +if ($mode eq lc("-z")) { + system("del $file"); +} + +exit 0; \ No newline at end of file diff -r 8f26271e902e -r 11f25704ec27 common/tools/ats/ats_specialise_test_drop.pl --- a/common/tools/ats/ats_specialise_test_drop.pl Wed May 12 12:42:35 2010 +0100 +++ b/common/tools/ats/ats_specialise_test_drop.pl Wed May 12 12:56:34 2010 +0100 @@ -56,7 +56,6 @@ 'help' => \$help, 'publish' => \$publish, 'bld-drive' => \$bld_drive, - 'test-target' => \$test_target, 'image-path' => \$image_path); GetOptions(\%optmap, @@ -68,7 +67,6 @@ 'help!', 'publish=s', 'bld-drive=s', - 'test-target=s', 'image-path=s') or usage_error(); @@ -132,7 +130,7 @@ # Parse the input XML into hashref. my $test_drop = XMLin("./$xml_in", keeproot => 1, - forcearray => [ 'name', 'id', 'owner', 'priority', 'buildid', 'postAction', 'type', 'target', 'device', 'property', 'command', 'param', 'plan'],# + forcearray => [ 'name', 'id', 'owner', 'priority', 'buildid', 'postAction', 'type', 'target', 'device', 'property', 'command', 'param', 'plan', 'session', 'set', 'alias' ],# keyattr => [] ); # Insert the specified test drop name, if any. @@ -141,9 +139,14 @@ $test_drop->{'test'}->{'buildid'}->[0] = $build_id, if $build_id; # Insert the path to the ROM image if ($image_path) { - $test_drop->{'test'}->{'plan'}->[0]->{'flash'}->[0]; - my $flash_params = $test_drop->{'test'}->{'plan'}->[0]->{'flash'}; - $flash_params->[0] = { 'target-alias' => $test_target, 'images' => $image_path }; + my $set_params; + my $flash_params; + foreach $set_params (@{$test_drop->{'test'}->{'plan'}->[0]->{'session'}->[0]->{'set'}}) { + $test_target = $set_params->{'target'}->[0]->{'device'}->[0]->{'alias'}; + $set_params->{'flash'}->[0]; + $flash_params = $set_params->{'flash'}; + $flash_params->[0] = { 'target-alias' => $test_target, 'images' => $image_path }; + } } # Insert the FileStoreAction parameter diff -r 8f26271e902e -r 11f25704ec27 common/tools/ats/devices/c100782/SYBORG_ATSINTERFACE_c100782.properties --- a/common/tools/ats/devices/c100782/SYBORG_ATSINTERFACE_c100782.properties Wed May 12 12:42:35 2010 +0100 +++ b/common/tools/ats/devices/c100782/SYBORG_ATSINTERFACE_c100782.properties Wed May 12 12:56:34 2010 +0100 @@ -17,7 +17,7 @@ FLASHING_ENABLED=true -BOOT_TIME = 90 +BOOT_TIME = 500 #reinstall files after reboot REINSTALL=false diff -r 8f26271e902e -r 11f25704ec27 common/tools/ats/devices/c100782/SYBORG_GENERIC_c100782.properties --- a/common/tools/ats/devices/c100782/SYBORG_GENERIC_c100782.properties Wed May 12 12:42:35 2010 +0100 +++ b/common/tools/ats/devices/c100782/SYBORG_GENERIC_c100782.properties Wed May 12 12:56:34 2010 +0100 @@ -17,7 +17,7 @@ FLASHING_ENABLED=true -BOOT_TIME = 90 +BOOT_TIME = 500 #reinstall files after reboot REINSTALL=false diff -r 8f26271e902e -r 11f25704ec27 sf-platform/platform_props.ant.xml --- a/sf-platform/platform_props.ant.xml Wed May 12 12:42:35 2010 +0100 +++ b/sf-platform/platform_props.ant.xml Wed May 12 12:56:34 2010 +0100 @@ -14,6 +14,8 @@ + + diff -r 8f26271e902e -r 11f25704ec27 sf-tools/build.xml --- a/sf-tools/build.xml Wed May 12 12:42:35 2010 +0100 +++ b/sf-tools/build.xml Wed May 12 12:56:34 2010 +0100 @@ -101,19 +101,32 @@ + + + + + + + + + + + + + + + - - - +