linux-blackfinn/README.md
Thomas Klaehn fc52f07f0b linux-blackfinn: Switch to new yocto branch "warrior"
Change-Id: Id43428285ad5797ccc8f92d8c748e0e5fe625304
2019-11-29 17:12:06 +01:00

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