fc52f07f0b
Change-Id: Id43428285ad5797ccc8f92d8c748e0e5fe625304
48 lines
639 B
Markdown
48 lines
639 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>
|
|
```
|
|
|