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/23 04:35]
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: Clone the CIP Core source repository === === Step 1: Clone the CIP Core source repository ===
Line 7: Line 14:
 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 21:
 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 27: Line 34:
         core-image-minimal-iwg20m.tar.gz         core-image-minimal-iwg20m.tar.gz
         uImage         uImage
-        uImage-r8a7743-iwg20d-q7.dtb+        uImage-r8a7743-iwg20m.dtb
         u-boot.bin         u-boot.bin
 </​code>​ </​code>​
Line 35: Line 42:
 <​code>​ <​code>​
 host$ cp -L uImage /​media/<​user>/​BOOT/​uImage host$ cp -L uImage /​media/<​user>/​BOOT/​uImage
-host$ cp -L uImage-r8a7743-iwg20d-q7.dtb /​media/<​user>/​BOOT/​r8a7743-iwg20m_q7.dtb+host$ cp -L uImage-r8a7743-iwg20m.dtb /​media/<​user>/​BOOT/​r8a7743-iwg20m_q7.dtb
 host$ sudo rm -rf /​media/<​user>/​ROOT/​* host$ sudo rm -rf /​media/<​user>/​ROOT/​*
 host$ sudo tar xvf core-image-minimal-iwg20m.tar.gz -C /​media/<​user>/​ROOT/​ host$ sudo tar xvf core-image-minimal-iwg20m.tar.gz -C /​media/<​user>/​ROOT/​
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.1508733343.txt.gz ยท Last modified: 2017/10/23 04:35 by daniel.sangorrin