Compare commits
2 Commits
d2f36e542e
...
dc06591ad0
Author | SHA1 | Date | |
---|---|---|---|
|
dc06591ad0 | ||
|
e2d9de2f46 |
27
README.md
27
README.md
@ -5,16 +5,16 @@
|
||||
## Get the repository
|
||||
|
||||
```shell
|
||||
$ mkdir yocto-bf
|
||||
$ cd yocto-bf
|
||||
$ repo init -u "https://git.blackfinn.de/yocto/linux-blackfinn.git"
|
||||
$ repo sync
|
||||
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
|
||||
MACHINE=<machineconf> source blackfinn-init-build-env
|
||||
```
|
||||
|
||||
Supported machineconfs:
|
||||
@ -22,16 +22,27 @@ Supported machineconfs:
|
||||
* qemuarm
|
||||
* beaglebone-yocto
|
||||
* raspberrypi3-64
|
||||
* bananapi-m3
|
||||
|
||||
|
||||
## Build the Image
|
||||
```shell
|
||||
$ bitbake console-image
|
||||
bitbake console-image
|
||||
```
|
||||
|
||||
## Flash the Image
|
||||
|
||||
### beaglebone-yocto
|
||||
|
||||
```shell
|
||||
$ dd if=tmp/deploy/images/beaglebone/<image_name> of=/dev/<sd_card>
|
||||
dd if=tmp/deploy/images/beaglebone-yocto/docker-image-beaglebone-yocto.wic of=/dev/<sd_card>
|
||||
```
|
||||
|
||||
### raspberrypiX-64
|
||||
|
||||
```shell
|
||||
bmaptool copy --bmap \
|
||||
tmp/deploy/images/raspberrypiX-64/docker-image-raspberrypiX-64.wic.bmap \
|
||||
tmp/deploy/images/raspberrypiX-64/docker-image-raspberrypiX-64.wic.bz2 \
|
||||
/dev/<sd_card>
|
||||
```
|
||||
|
||||
|
17
default.xml
17
default.xml
@ -3,17 +3,16 @@
|
||||
<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"/>
|
||||
<remote name="sx" fetch="https://github.com/linux-sunxi"/>
|
||||
<remote name="oe" fetch="git://git.openembedded.org"/>
|
||||
<remote name="bf" fetch="https://git.blackfinn.de/yocto"/>
|
||||
|
||||
<project name="poky" remote="yo" revision="zeus" path="layers/poky" clone-depth="1"/>
|
||||
<project name="meta-openembedded" remote="oe" revision="zeus" path="layers/meta-openembedded" clone-depth="1"/>
|
||||
<project name="meta-raspberrypi" remote="yo" revision="zeus" path="layers/meta-raspberrypi" clone-depth="1"/>
|
||||
<project name="meta-sunxi" remote="sx" revision="zeus" path="layers/meta-sunxi" clone-depth="1"/>
|
||||
<project name="meta-virtualization" remote="yo" revision="zeus" path="layers/meta-virtualization" clone-depth="1"/>
|
||||
<project name="meta-blackfinn" remote="bf" revision="zeus" path="layers/meta-blackfinn">
|
||||
<project name="poky" remote="yo" revision="dunfell" path="layers/poky" clone-depth="1"/>
|
||||
<project name="meta-openembedded" remote="oe" revision="dunfell" path="layers/meta-openembedded" clone-depth="1"/>
|
||||
<project name="meta-raspberrypi" remote="yo" revision="dunfell" path="layers/meta-raspberrypi" clone-depth="1"/>
|
||||
<project name="meta-virtualization" remote="yo" revision="dunfell" path="layers/meta-virtualization" clone-depth="1"/>
|
||||
<project name="meta-blackfinn" remote="bf" revision="dunfell" path="layers/meta-blackfinn">
|
||||
<linkfile dest="blackfinn-init-build-env" src="buildconf/blackfinn-init-build-env"/>
|
||||
</project>
|
||||
|
||||
</manifest>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user