7467006e06
Change-Id: Iee2f24f52b50c3d1947b81f83214150b382ca74b
38 lines
498 B
Markdown
38 lines
498 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
|
|
```
|
|
|
|
Supported machineconfs:
|
|
|
|
* qemuarm
|
|
* beaglebone-yocto
|
|
* 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>
|
|
```
|
|
|