configurationengine/doc/imakercone.rst
author terytkon
Thu, 11 Mar 2010 17:04:37 +0200
changeset 0 2e8eeb919028
permissions -rw-r--r--
Adding EPL version of configurationengine.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     1
iMaker-ConE integration
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     2
=======================
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     3
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     4
	iMaker tool is able to create images from CPF file. This mechanism is used for example in Carbide.v 
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     5
	where iMaker plugin (Eclipse plugin) is calling iMaker to create flash images for modified CPF file.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     6
	The following picture shows how the calling hierarchy goes.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     7
	
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     8
	.. image:: images/imaker_cone.jpg
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     9
	
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    10
#.	Carbide.v's iMaker plugin instantiates call to iMaker where CPF and configuration inside the CPF is given as parameter.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    11
	Also other information like report template and report output filename is given. Imaker plugin is responsible of providing
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    12
	progress information to Carbide.v user so that he/she knows that generation is progressing.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    13
#. 	iMaker calls ConE to generate makefile that contains image creation configuration for this CPF.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    14
#.	ConE returns makefile to iMaker
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    15
#. 	iMaker calls itself using the makefile. Default target in the makefile is create_selected and in Carbide.v use cases it
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    16
	contains ROFS3 and UDA targets.	
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    17
#.	iMaker calls ConE to generate content for ROFS3 (parameter --impl-tag=target:rofs3) and gives output directory as parameter.	
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    18
#.	ConE filters implementations as defined by iMaker and calls each plugin separately to create output files to output folder. 	
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    19
#.	Data is generated to output folder.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    20
#.	iMaker creates ROFS3 image from that data using normal iMaker variant build step.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    21
#.	iMaker calls ConE to generate content for UDA (parameter --impl-tag=target:uda) and gives output directory as parameter.	
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    22
#.	ConE filters implementations as defined by iMaker and calls each plugin separately to create output files to output folder. 	
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    23
#.	Data is generated to output folder.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    24
#.	iMaker creates UDA image from that data using normal iMaker variant build step.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    25
#.	iMaker performs data package copy step which basically uses predefined dcp, vpl and signature files and copies flash images
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    26
	based on variant configuration to one folder with certain filenames. This way there is no need to resign the package anymore.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    27
	Downside of this approach is that data package definition and information cannot be changed but in case of operator variant
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    28
	verification it is not that critical. Of course same data package cannot be used in production.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    29
#.	Data package and generation reports are located in places that Carbide.v specified in the first call.
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    30