Thomas Klaehn
378eef6e69
Change-Id: Id0a252a4b76221d516bfe1ca8b01f0702b88f31e Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
47 lines
635 B
Markdown
47 lines
635 B
Markdown
# Yocto
|
|
|
|
...
|
|
|
|
## Get the repository
|
|
|
|
```shell
|
|
$ mkdir yocto-bf
|
|
$ cd yocto-bf
|
|
$ repo init -u "https://git.blackfinn.de/yocto/linux-blackfinn.git"
|
|
$ repo sync
|
|
```
|
|
|
|
## Set Environment
|
|
|
|
```shell
|
|
$ MACHINE=<machineconf> source blackfinn-init-build-env-init-build-env
|
|
```
|
|
|
|
Supported machineconfs:
|
|
|
|
* qemuarm
|
|
* qemuarm64
|
|
* qemumips
|
|
* qemumips64
|
|
* qemuppc
|
|
* qemux86
|
|
* qemux86-64
|
|
* beaglebone-yocto
|
|
* edgerouter
|
|
* genericx86
|
|
* genericx86-64
|
|
* mpc8315e-rdb
|
|
* raspberrypi3-64
|
|
* bananapi-m3
|
|
|
|
|
|
## Build the Image
|
|
```shell
|
|
$ bitbake console-image
|
|
```
|
|
|
|
## Flash the Image
|
|
```shell
|
|
$ dd if=tmp/deploy/images/beaglebone/<image_name> of=/dev/<sd_card>
|
|
|