Compare commits
6 Commits
dc06591ad0
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
9ee1b794dd | ||
|
eb576c77b6 | ||
|
b755f160a1 | ||
|
cf613e7086 | ||
f59377ceb6 | |||
|
4b4207be12 |
32
README.md
32
README.md
@@ -11,6 +11,16 @@ repo init -u "https://git.blackfinn.de/yocto/linux-blackfinn.git"
|
|||||||
repo sync
|
repo sync
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Build environment
|
||||||
|
|
||||||
|
For details see <https://git.blackfinn.de/docker/oe-buildenv>.
|
||||||
|
|
||||||
|
### Execute
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker run -it --rm --network host -v=/var/lib/sss/pipes/:/var/lib/sss/pipes/:rw -v $(pwd):$(pwd) -w $(pwd) -u $(id -u $USER):$(id -g $USER) oe-buildenv /bin/bash
|
||||||
|
```
|
||||||
|
|
||||||
## Set Environment
|
## Set Environment
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@@ -22,13 +32,20 @@ Supported machineconfs:
|
|||||||
* qemuarm
|
* qemuarm
|
||||||
* beaglebone-yocto
|
* beaglebone-yocto
|
||||||
* raspberrypi3-64
|
* raspberrypi3-64
|
||||||
|
* raspberrypi4-64
|
||||||
|
|
||||||
|
|
||||||
## Build the Image
|
## Build the Image
|
||||||
```shell
|
```shell
|
||||||
bitbake console-image
|
bitbake <image_name>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Supported images:
|
||||||
|
|
||||||
|
* console-image
|
||||||
|
* console-dev-image
|
||||||
|
* docker-image
|
||||||
|
|
||||||
## Flash the Image
|
## Flash the Image
|
||||||
|
|
||||||
### beaglebone-yocto
|
### beaglebone-yocto
|
||||||
@@ -46,3 +63,16 @@ bmaptool copy --bmap \
|
|||||||
/dev/<sd_card>
|
/dev/<sd_card>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## opkg package handling
|
||||||
|
|
||||||
|
### Build index
|
||||||
|
|
||||||
|
```shell
|
||||||
|
bitbake package index
|
||||||
|
```
|
||||||
|
|
||||||
|
### Synchronize packages
|
||||||
|
|
||||||
|
```shell
|
||||||
|
rsync -avz --progress build/tmp/deploy/ipk/ /srv/files.blackfinn.de/data/yocto/gatesgarth/
|
||||||
|
```
|
||||||
|
26
default.xml
26
default.xml
@@ -1,18 +1,20 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<manifest>
|
<manifest>
|
||||||
<default sync-j="8"/>
|
<default sync-j="8"/>
|
||||||
|
|
||||||
<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="gh" fetch="https://github.com"/>
|
||||||
|
<remote name="bf" fetch="https://git.blackfinn.de"/>
|
||||||
|
|
||||||
<project name="poky" remote="yo" revision="dunfell" path="layers/poky" clone-depth="1"/>
|
<project name="poky" remote="yo" revision="honister" 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="honister" 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="master" 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-security" remote="yo" revision="honister" path="layers/meta-security" clone-depth="1"/>
|
||||||
<project name="meta-blackfinn" remote="bf" revision="dunfell" path="layers/meta-blackfinn">
|
<project name="meta-virtualization" remote="yo" revision="honister" path="layers/meta-virtualization" clone-depth="1"/>
|
||||||
<linkfile dest="blackfinn-init-build-env" src="buildconf/blackfinn-init-build-env"/>
|
|
||||||
</project>
|
<project name="yocto/meta-blackfinn" remote="bf" revision="master" path="layers/meta-blackfinn">
|
||||||
|
<linkfile dest="blackfinn-init-build-env" src="buildconf/blackfinn-init-build-env"/>
|
||||||
|
</project>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user