Skip to content
Snippets Groups Projects
Commit b8534fb4 authored by Frieder Schrempf's avatar Frieder Schrempf
Browse files

docs: Replace 'ktn' with 'ked'

parent 37b10275
No related branches found
No related tags found
1 merge request!26Replace occurences of 'ktn'/'KTN' with 'ked'/'KED'
site_name: Kontron Electronics Docs - Meta Kontron
repo_url: 'https://git.kontron-electronics.de/sw/ked/meta-kontron'
repo_url: 'https://git.kontron-electronics.de/sw/ked/meta-ked-bsp'
docs_dir: src
theme:
......
......@@ -3,13 +3,13 @@
## Clone the BSP Repository
First of all you need a local copy of the BSP repository. This can be either
`meta-kontron` or a custom layer. This guide will use the public `meta-kontron`
`meta-ked-bsp` or a custom layer. This guide will use the public `meta-ked-bsp`
BSP repository to build images for our standard and demo hardware.
```
cd ~
git clone https://git.kontron-electronics.de/sw/ked/meta-kontron.git
cd meta-kontron
git clone https://git.kontron-electronics.de/sw/ked/meta-ked-bsp.git
cd meta-ked-bsp
```
## Use the Menu to Configure (Recommended)
......@@ -60,7 +60,7 @@ The following command produces the same result as when selecting the options
"Kontron Electronics SL/BL/OSM i.MX8MM" and "Yocto Kirkstone" via the menu.
```
kas-container build kas/ktn-mx8mm.yml:kas/series/kirkstone.yml
kas-container build kas/ked-mx8mm.yml:kas/series/kirkstone.yml
```
## Using the `shell` Command
......
# Customization
If you develop your own BSP using `meta-kontron` as a base, it is recommended to
If you develop your own BSP using `meta-ked-bsp` as a base, it is recommended to
setup your own Git repository to track all changes.
!!! note "Layer Naming"
......@@ -19,22 +19,22 @@ git init
## Custom `kas` Configuration
The first part of you new custom BSP repository should be a `kas` configuration
file. A minimal example for a BSP based on `meta-kontron` looks like this:
file. A minimal example for a BSP based on `meta-ked-bsp` looks like this:
```yaml title="custom.yaml"
header:
version: 12
includes:
- repo: meta-kontron
- repo: meta-ked-bsp
file: kas/inc/imx.yml
- repo: meta-kontron
- repo: meta-ked-bsp
file: kas/series/kirkstone.yml
repos:
meta-kontron:
url: https://git.kontron-electronics.de/sw/ked/meta-kontron.git
meta-ked-bsp:
url: https://git.kontron-electronics.de/sw/ked/meta-ked-bsp.git
refspec: 6.0.0
path: layers/meta-kontron
path: layers/meta-ked-bsp
machine: kontron-mx8mm
target:
......@@ -65,15 +65,15 @@ bitbake-layers create-layer /repo/layers/meta-custom
The `bitbake-layers create-layer` command will tell you to use `bitbake-layers
add-layer` to add an entry for your new layer in `bblayers.conf`. As we are
letting `kas` manage the `bblayers-conf`, we will skip this step and instead
letting `kas` manage the `bblayers.conf`, we will skip this step and instead
edit our `kas` configuration.
```diff
repos:
meta-kontron:
url: https://git.kontron-electronics.de/sw/ked/meta-kontron.git
meta-ked-bsp:
url: https://git.kontron-electronics.de/sw/ked/meta-ked-bsp.git
refspec: 6.0.0
path: layers/meta-kontron
path: layers/meta-ked-bsp
+ meta-custom:
+ layers:
+ layers/meta-custom:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment