User Tools

Site Tools


civilinfrastructureplatform:cip-core-quickstart

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
civilinfrastructureplatform:cip-core-quickstart [2017/10/20 02:51]
daniel.sangorrin
civilinfrastructureplatform:cip-core-quickstart [2020/07/29 00:22] (current)
daniel.sangorrin deprecate this page
Line 1: Line 1:
 +====== **IMPORTANT** ======
 +
 +This quickstart is no longer maintained. To get the latest instructions please consult the Readme of each CIP Core reference implementation:​
 +  * [[https://​gitlab.com/​cip-project/​cip-core/​deby|Deby]]
 +  * [[https://​gitlab.com/​cip-project/​cip-core/​isar-cip-core|Isar-cip-core]]
 +
 +
 ===== CIP Core Quickstart ===== ===== CIP Core Quickstart =====
  
-In this quickstart we will focus on the iWave RZ/G1M Qseven Development Kit, but you can also find the corresponding ​instructions in the README files for each hardware ​(deby/​poky/​meta-cip-<​board>/​README.<​board>​.txt in the [[https://​gitlab.com/​cip-project/​cip-core|source code]]).+In this quickstart we will focus on building and running CIP core (tiny profile, [[http://​events17.linuxfoundation.org/​sites/​events/​files/​slides/​ISAR-DEBY-OSSJ2017_r10.pdf|Deby]] implementation) ​on the iWave RZ/G1M Qseven Development Kit. You can find the instructions ​for each reference board in the corresponding ​README files (deby/​poky/​meta-cip-<​board>/​README.<​board>​.txt in the [[https://​gitlab.com/​cip-project/​cip-core/deby|source code]]).
  
-=== Step 1: Build environment ​=== +=== Step 1: Clone the CIP Core source repository ​=== 
-  + 
-The CIP Core release v1.0 requires [[https://​github.com/​siemens/​kas|KAS]] for preparing a docker-based poky build environment.+This step downloads the cip-core metadata which is MIT licensed.
 <​code>​ <​code>​
-host$ docker pull kasproject/​kas:0.13.0+host$ git clone https://gitlab.com/​cip-project/​cip-core/​deby.git
 </​code>​ </​code>​
-For detailed instructions on how to prepare this environment please read the KAS documentation. 
  
 === Step 2: Build CIP Core using KAS === === Step 2: Build CIP Core using KAS ===
-  + 
-Run the docker container.+The CIP Core release v1.0 requires [[https://​github.com/​siemens/​kas|KAS]] for preparing a docker-based poky build environment. Make sure that you have docker installed and configured it to use the [[https://​docs.docker.com/​engine/​userguide/​storagedriver/​overlayfs-driver/​|overlay2 storage driver]]. Your host kernel also needs to support overlayfs. Then run a KAS container ​and build the file system. Note that the first time docker will have to pull the KAS image from the cloud.
 <​code>​ <​code>​
-host$ docker run -v $PWD/cip-core:/cip-core ​-e USER_ID=`id -u $USER` -e http_proxy=$http_proxy -e https_proxy=$https_proxy -it kasproject/​kas sh+host$ docker run -v $PWD/deby:/deby -e USER_ID=`id -u $USER` -e http_proxy=$http_proxy -e https_proxy=$https_proxy -it kasproject/​kas:​0.10.0 ​sh
 </​code> ​ </​code> ​
 Build the KAS project file for the iWave RZ/G1M Qseven Development Kit. Build the KAS project file for the iWave RZ/G1M Qseven Development Kit.
 <​code>​ <​code>​
-docker$ cd /cip-core/deby/poky/+docker$ cd /deby/poky/
 docker$ kas build --target core-image-minimal meta-cip-iwg20m/​kas-iwg20m.yml docker$ kas build --target core-image-minimal meta-cip-iwg20m/​kas-iwg20m.yml
 </​code>​ </​code>​
Line 25: Line 31:
 <​code>​ <​code>​
 host$ ls build/​tmp/​deploy/​images/​iwg20m/​ host$ ls build/​tmp/​deploy/​images/​iwg20m/​
 +        core-image-minimal-iwg20m.cpio.gz
         core-image-minimal-iwg20m.tar.gz         core-image-minimal-iwg20m.tar.gz
-    uImage+        ​uImage
         uImage-r8a7743-iwg20m.dtb         uImage-r8a7743-iwg20m.dtb
         u-boot.bin         u-boot.bin
Line 49: Line 56:
 </​code>​ </​code>​
  
-You should get a similar boot log to the one stored [[https://​gitlab.com/​cip-project/​cip-core/​blob/​master/deby/​poky/​meta-cip-iwg20m/​README.IWG20M.txt|here]].+You should get a similar boot log to the one stored [[https://​gitlab.com/​cip-project/​cip-core/deby/​blob/​master/​poky/​meta-cip-iwg20m/​README.IWG20M.txt|here]].
  
civilinfrastructureplatform/cip-core-quickstart.1508467907.txt.gz · Last modified: 2017/10/20 02:51 by daniel.sangorrin