summaryrefslogtreecommitdiff
path: root/README
blob: 4a5cadf2fde1e56bac119ad6363d796516e92dd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Layer with images to showcase multiple scenarios in which Theobroma Systems boards can be used

About
=====

The purpose of this layer is to showcase demo features on Theobroma 
Systems' manufactured boards.


This layer currently includes Network Manager support among its demo features.
Additional features will be provided soon.

Dependencies
============

  URI: git://git.openembedded.org/openembedded-core
  layers: meta
  branch: matched branch (e.g. kirkstone)

  URI: https://git.theobroma-systems.com/yocto-layers/meta-theobroma-systems-bsp
  branch: matched branch (e.g. kirkstone)

  URI: git://git.openembedded.org/meta-openembedded
  branch: matched branch (e.g. kirkstone)
  layers: meta-oe meta-networking


Adding the meta-theobroma-systems-extended layer to your build
==============================================================

Run 'bitbake-layers add-layer meta-theobroma-systems-extended'

Building extended image
=======================

kas-theobroma.yml is a configuration file to be used by kas
(https://github.com/siemens/kas) which sets up everything one needs to build the
extended image that can run on the supported boards listed above.

One builds the image by running the following commands:

$ podman run -it --rm --userns=keep-id -e USER_ID=$UID -e
GROUP_ID=$GID -w $PWD/.. -v $PWD/..:$PWD/..:rw,Z --tmpfs /tmp
ghcr.io/siemens/kas/kas:4.0 build meta-theobroma-systems-extended/kas-theobroma.yml

Once the build has finished, the artifacts will be available in
../build/tmp/deploy/images/ringneck-haikou/ directory.

One can directly flash the .wic image on an SD card with the following command:

$ dd if=theobroma-extended-image-ringneck-haikou.wic of=/dev/sdX

(sdX should be replaced with the device associated with one's SD card)

bmap-tools can also be used to flash the image on the SD card faster:

$ bmaptool copy theobroma-extended-image-ringneck-haikou.wic /dev/sdX

(sdX should be replaced with the device associated with one's SD card)

The freshly flashed SD card can then be inserted into the board's SD card reader
and the board booted.