Initial commit

Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
Thomas Klaehn 2019-03-02 07:50:28 +01:00
commit 6fac7f0fcd
2 changed files with 48 additions and 0 deletions

28
README.md Normal file
View File

@ -0,0 +1,28 @@
# Yocto
...
## Get the repository
```shell
$ mkdir yocto-bf
$ cd yocto-bf
$ repo init -u "https://git.blackfinn.de/yocto/yocto-blackfinn.git"
$ repo sync
```
## Set Environment
```shell
$ source [bbb/rpi]-init-build-env
```
## Build the Image
```shell
$ bitbake console-image
```
## Flash the Image
```shell
$ dd if=tmp/deploy/images/beaglebone/<image_name> of=/dev/<sd_card>

20
default.xml Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<default sync-j="8"/>
<remote name="yo" fetch="git://git.yoctoproject.org"/>
<remote name="oe" fetch="git://git.openembedded.org"/>
<remote name="bf" fetch="https://git.blackfinn.de/yocto" pushurl="git@git.blackfinn.de/yocto"/>
<project name="poky" remote="yo" revision="thud" clone-depth="1" path="layers/poky"/>
<project name="meta-raspberrypi" remote="yo" revision="thud" clone-depth="1" path="layers/meta-raspberrypi"/>
<project name="meta-openembedded" remote="oe" revision="thud" clone-depth="1" path="layers/meta-openembedded"/>
<project name="meta-bbb" remote="bf" revision="thud" path="layers/meta-bbb"/>
<project name="meta-rpi" remote="bf" revision="thud" path="layers/meta-rpi"/>
<project name="meta-blackfinn" remote="bf" revision="thud" path="layers/meta-blackfinn">
<linkfile dest="bbb-init-build-env" src="buildconf/bbb-init-build-env"/>
<linkfile dest="rpi-init-build-env" src="buildconf/rpi-init-build-env"/>
</project>
</manifest>