@@ -1,3 +1,4 @@
build/
isar/
-kas-docker
\ No newline at end of file
+kas-docker
+kas-container
@@ -1,4 +1,4 @@
-image: kasproject/kas-isar:2.2
+image: ghcr.io/siemens/kas/kas-isar:2.3.3
variables:
GIT_STRATEGY: clone
@@ -10,18 +10,18 @@ from scratch.
## Building Target Images
-Install `kas-docker` from the [kas project](https://github.com/siemens/kas):
+Install `kas-container` from the [kas project](https://github.com/siemens/kas):
- wget https://raw.githubusercontent.com/siemens/kas/2.2/kas-docker
- chmod a+x kas-docker
+ wget https://raw.githubusercontent.com/siemens/kas/2.3.3/kas-container
+ chmod a+x kas-container
Furthermore, install docker and make sure you have required permissions to
start containers.
-To build, e.g., the QEMU AMD64 target inside Docker, invoke kas-docker like
+To build, e.g., the QEMU AMD64 target inside Docker, invoke kas-container like
this:
- ./kas-docker --isar build kas-cip.yml:kas/board/qemu-amd64.yml
+ ./kas-container build kas-cip.yml:kas/board/qemu-amd64.yml
This image can be run using `start-qemu.sh x86`.
@@ -39,7 +39,7 @@ card, run
## Building Security target images
Building images for QEMU x86-64bit machine
- ./kas-docker --isar build kas-cip.yml:kas/board/qemu-amd64.yml:kas/opt/security.yml
+ ./kas-container build kas-cip.yml:kas/board/qemu-amd64.yml:kas/opt/security.yml
Run the generated securiy images on QEMU (x86-64bit)
@@ -139,13 +139,13 @@ scripts/start-efishell.sh secureboot-tools
Build the image with a signed efibootguard and unified kernel image
with the snakeoil keys by executing:
```
-kas-docker --isar build kas-cip.yml:kas/board/qemu-amd64.yml:kas/opt/ebg-swu.yml:kas/opt/ebg-secure-boot-snakeoil.yml
+kas-container build kas-cip.yml:kas/board/qemu-amd64.yml:kas/opt/ebg-swu.yml:kas/opt/ebg-secure-boot-snakeoil.yml
```
For user-generated keys, create a new option file. This option file could look like this:
```
header:
- version: 8
+ version: 10
includes:
- opt/ebg-swu.yml
- opt/ebg-secure-boot-initramfs.yml
@@ -5,16 +5,15 @@ Copyright: Toshiba corp.
## Build the CIP Core image
-Use [kas-docker](https://github.com/siemens/kas/blob/master/kas-docker) to build the image. Currently this board is only supported by the CIP kernel version `4.4.y`.
+Set up `kas-container` as described in the [top-level README](../README.md).
+Then build the image:
```
-$ git clone https://gitlab.com/cip-project/cip-core/isar-cip-core.git
-$ cd isar-cip-core
-$ wget https://raw.githubusercontent.com/siemens/kas/master/kas-docker
-$ chmod a+x kas-docker
-$ ./kas-docker --isar build kas-cip.yml:kas/board/iwg20m.yml
+$ ./kas-container build kas-cip.yml:kas/board/iwg20m.yml
```
+Note: Currently this board is only supported by the CIP kernel version `4.4.y`.
+
After the build is finished, insert a micro SDCard and flash the image with `bmaptool` (a better `dd`). Make sure you substitute `/dev/sdX` by the device file corresponding to your SDCard.
```
@@ -10,11 +10,13 @@
#
header:
- version: 8
+ version: 10
distro: cip-core-buster
target: cip-core-image
+build_system: isar
+
repos:
cip-core:
@@ -10,6 +10,6 @@
#
header:
- version: 8
+ version: 10
machine: bbb
@@ -10,6 +10,6 @@
#
header:
- version: 8
+ version: 10
machine: hihope-rzg2m
@@ -10,6 +10,6 @@
#
header:
- version: 8
+ version: 10
machine: iwg20m
@@ -10,6 +10,6 @@
#
header:
- version: 8
+ version: 10
machine: qemu-amd64
@@ -10,6 +10,6 @@
#
header:
- version: 8
+ version: 10
machine: simatic-ipc227e
@@ -10,7 +10,7 @@
#
header:
- version: 8
+ version: 10
local_conf_header:
kernel-version: |
@@ -10,7 +10,7 @@
#
header:
- version: 8
+ version: 10
local_conf_header:
initramfs: |
@@ -10,7 +10,7 @@
#
header:
- version: 8
+ version: 10
includes:
- ebg-secure-boot-base.yml
@@ -10,7 +10,7 @@
#
header:
- version: 8
+ version: 10
local_conf_header:
swupdate: |
@@ -11,7 +11,7 @@
header:
- version: 8
+ version: 10
local_conf_header:
qemu-wic: |
@@ -10,7 +10,7 @@
#
header:
- version: 8
+ version: 10
local_conf_header:
preempt-rt: |
@@ -9,6 +9,6 @@
# SPDX-License-Identifier: MIT
#
header:
- version: 8
+ version: 10
target: cip-core-image-security
@@ -10,6 +10,6 @@
#
header:
- version: 8
+ version: 10
distro: cip-core-stretch
@@ -10,7 +10,7 @@
#
header:
- version: 8
+ version: 10
# lava uses nfs to deploy the image. For this we need a tarball instead of
# full image
@@ -9,7 +9,7 @@
#
header:
- version: 8
+ version: 10
local_conf_header:
testing: |