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
Last revision Both sides next revision
civilinfrastructureplatform:cip-core-quickstart [2018/11/28 04:39]
daniel.sangorrin
civilinfrastructureplatform:cip-core-quickstart [2019/02/05 02:31]
daniel.sangorrin fix address
Line 1: Line 1:
 ===== 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: Clone the CIP Core source repository === === Step 1: Clone the CIP Core source repository ===
Line 7: Line 7:
 This step downloads the cip-core metadata which is MIT licensed. This step downloads the cip-core metadata which is MIT licensed.
 <​code>​ <​code>​
-host$ git clone https://​gitlab.com/​cip-project/​cip-core.git+host$ git clone https://​gitlab.com/​cip-project/​cip-core/deby.git
 </​code>​ </​code>​
  
Line 14: Line 14:
 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. 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:​0.10.0 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 49: Line 49:
 </​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.txt ยท Last modified: 2020/07/29 00:22 by daniel.sangorrin