blob: 14d9bc14508f6ef10b549c4fb3b12411e8bb5ab7 (
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
|
# Building basic images for ARC boards with OpenEmbedded
## Preparation
### Checkout OpenEmbedded sources
```
mkdir oe
cd oe
repo init -u https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys -b master -m tools/manifests/synopsys-oe.xml
repo sync
```
### Setup environment
```
. ./openembedded-core/oe-init-build-env
bitbake-layers add-layer ../meta-openembedded/meta-oe
bitbake-layers add-layer ../meta-synopsys
```
### Start building
* `vmlinux` usable with nSIM simulator
- for ARC700: `MACHINE=nsim700 bitbake virtual/kernel`
- for ARCHS38: `MACHINE=nsimhs bitbake virtual/kernel`
* SD-card image
- for AXS101: `MACHINE=axs101 bitbake core-image-base`
- for AXS103: `MACHINE=ax103 bitbake core-image-base`
- for HSDK: `MACHINE=hsdk bitbake core-image-base`
|