Compare commits
6 Commits
thud
...
dc06591ad0
Author | SHA1 | Date | |
---|---|---|---|
|
dc06591ad0 | ||
|
e2d9de2f46 | ||
d2f36e542e | |||
|
97a5e50b28 | ||
|
7467006e06 | ||
|
fc52f07f0b |
40
README.md
40
README.md
@@ -5,42 +5,44 @@
|
||||
## 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-init-build-env
|
||||
MACHINE=<machineconf> source blackfinn-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
|
||||
bitbake console-image
|
||||
```
|
||||
|
||||
## Flash the Image
|
||||
```shell
|
||||
$ dd if=tmp/deploy/images/beaglebone/<image_name> of=/dev/<sd_card>
|
||||
|
||||
### beaglebone-yocto
|
||||
|
||||
```shell
|
||||
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>
|
||||
```
|
||||
|
||||
|
16
default.xml
16
default.xml
@@ -3,16 +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="thud" path="layers/poky" clone-depth="1"/>
|
||||
<project name="meta-openembedded" remote="oe" revision="thud" path="layers/meta-openembedded" clone-depth="1"/>
|
||||
<project name="meta-raspberrypi" remote="yo" revision="thud" path="layers/meta-raspberrypi" clone-depth="1"/>
|
||||
<project name="meta-sunxi" remote="sx" revision="thud" path="layers/meta-sunxi" clone-depth="1"/>
|
||||
<project name="meta-blackfinn" remote="bf" revision="thud" 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>
|
||||
|
||||
|
Reference in New Issue
Block a user