Compare commits
No commits in common. "dc06591ad0471383a4d69a2538c366ae55d14efb" and "d2f36e542e269657ac74b4112ea867c98bbabccf" have entirely different histories.
dc06591ad0
...
d2f36e542e
27
README.md
27
README.md
@ -5,16 +5,16 @@
|
|||||||
## Get the repository
|
## Get the repository
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
mkdir yocto-bf
|
$ mkdir yocto-bf
|
||||||
cd yocto-bf
|
$ cd yocto-bf
|
||||||
repo init -u "https://git.blackfinn.de/yocto/linux-blackfinn.git"
|
$ repo init -u "https://git.blackfinn.de/yocto/linux-blackfinn.git"
|
||||||
repo sync
|
$ repo sync
|
||||||
```
|
```
|
||||||
|
|
||||||
## Set Environment
|
## Set Environment
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
MACHINE=<machineconf> source blackfinn-init-build-env
|
$ MACHINE=<machineconf> source blackfinn-init-build-env
|
||||||
```
|
```
|
||||||
|
|
||||||
Supported machineconfs:
|
Supported machineconfs:
|
||||||
@ -22,27 +22,16 @@ Supported machineconfs:
|
|||||||
* qemuarm
|
* qemuarm
|
||||||
* beaglebone-yocto
|
* beaglebone-yocto
|
||||||
* raspberrypi3-64
|
* raspberrypi3-64
|
||||||
|
* bananapi-m3
|
||||||
|
|
||||||
|
|
||||||
## Build the Image
|
## Build the Image
|
||||||
```shell
|
```shell
|
||||||
bitbake console-image
|
$ bitbake console-image
|
||||||
```
|
```
|
||||||
|
|
||||||
## Flash the Image
|
## Flash the Image
|
||||||
|
|
||||||
### beaglebone-yocto
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dd if=tmp/deploy/images/beaglebone-yocto/docker-image-beaglebone-yocto.wic of=/dev/<sd_card>
|
$ dd if=tmp/deploy/images/beaglebone/<image_name> 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>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
13
default.xml
13
default.xml
@ -5,14 +5,15 @@
|
|||||||
<remote name="yo" fetch="git://git.yoctoproject.org"/>
|
<remote name="yo" fetch="git://git.yoctoproject.org"/>
|
||||||
<remote name="oe" fetch="git://git.openembedded.org"/>
|
<remote name="oe" fetch="git://git.openembedded.org"/>
|
||||||
<remote name="bf" fetch="https://git.blackfinn.de/yocto"/>
|
<remote name="bf" fetch="https://git.blackfinn.de/yocto"/>
|
||||||
|
<remote name="sx" fetch="https://github.com/linux-sunxi"/>
|
||||||
|
|
||||||
<project name="poky" remote="yo" revision="dunfell" path="layers/poky" clone-depth="1"/>
|
<project name="poky" remote="yo" revision="zeus" path="layers/poky" clone-depth="1"/>
|
||||||
<project name="meta-openembedded" remote="oe" revision="dunfell" path="layers/meta-openembedded" 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="dunfell" path="layers/meta-raspberrypi" clone-depth="1"/>
|
<project name="meta-raspberrypi" remote="yo" revision="zeus" 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-sunxi" remote="sx" revision="zeus" path="layers/meta-sunxi" clone-depth="1"/>
|
||||||
<project name="meta-blackfinn" remote="bf" revision="dunfell" path="layers/meta-blackfinn">
|
<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">
|
||||||
<linkfile dest="blackfinn-init-build-env" src="buildconf/blackfinn-init-build-env"/>
|
<linkfile dest="blackfinn-init-build-env" src="buildconf/blackfinn-init-build-env"/>
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user