linux-blackfinn/README.md

48 lines
639 B
Markdown
Raw Normal View History

# 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>
```