Compare commits

...

11 Commits

Author SHA1 Message Date
Thomas Klaehn
9ee1b794dd Manifest: Version bump honister 2021-12-08 20:22:58 +01:00
Thomas Klaehn
eb576c77b6 tmp
Change-Id: I621501b146de4440d9ad7087ce1cda88dc6d2346
2021-05-22 08:17:33 +02:00
Thomas Klaehn
b755f160a1 Add yocto security layer to support podman:
Change-Id: I0db4927dafb6a47f682eb920b1229e332f25824b
2021-01-28 13:47:00 +01:00
Thomas Klaehn
cf613e7086 linux-blackfinn: Switch to new yocto branch "gatesgarth"
Change-Id: I54c2e0b3f392b9de8f0148d84d5eb80fb2f416d8
2021-01-28 13:26:36 +01:00
tkl
f59377ceb6 README.md: Correct Build the Image section 2020-09-29 14:14:50 +00:00
Thomas Klaehn
4b4207be12 linux-blackfinn: Add raspberrypi4-64 support
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
Change-Id: I80f295c0eef49b1cd517cf3fe54154cb47fc63d9
2020-09-23 08:30:31 +02:00
Thomas Klaehn
dc06591ad0 manifest: Version bump zeus->dunfell
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
Change-Id: I80f9d12cebc214d0a26c6e86124652bf6ee461b0
2020-09-19 08:31:13 +02:00
Thomas Klaehn
e2d9de2f46 linux-blackfinn: Switch to new yocto branch "dunfell"
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
Change-Id: Ia50fdaf50a8e184f51dc598bcd11c6bbdcc4a479
2020-09-07 07:41:58 +02:00
tkl
d2f36e542e Merge branch 'default' of yocto/linux-blackfinn into master 2020-01-24 13:20:20 +00:00
Thomas Klaehn
97a5e50b28 Add virtualization layer
Change-Id: Ic2ae606235801faf919fb174e1d88ba386fa6682
2020-01-24 14:16:25 +01:00
Thomas Klaehn
7467006e06 linux-blackfinn: Switch to new yocto branch "zeus"
Change-Id: Iee2f24f52b50c3d1947b81f83214150b382ca74b
2019-11-29 20:26:51 +01:00
2 changed files with 64 additions and 31 deletions

View File

@ -5,43 +5,74 @@
## 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
```
## 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
```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
* raspberrypi4-64
## Build the Image
```shell
$ bitbake console-image
bitbake <image_name>
```
Supported images:
* console-image
* console-dev-image
* docker-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>
```
## 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/
```

View File

@ -4,15 +4,17 @@
<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="gh" fetch="https://github.com"/>
<remote name="bf" fetch="https://git.blackfinn.de"/>
<project name="poky" remote="yo" revision="warrior" path="layers/poky" clone-depth="1"/>
<project name="meta-openembedded" remote="oe" revision="warrior" path="layers/meta-openembedded" clone-depth="1"/>
<project name="meta-raspberrypi" remote="yo" revision="warrior" path="layers/meta-raspberrypi" clone-depth="1"/>
<project name="meta-sunxi" remote="sx" revision="warrior" path="layers/meta-sunxi" clone-depth="1"/>
<project name="meta-blackfinn" remote="bf" revision="warrior" path="layers/meta-blackfinn">
<project name="poky" remote="yo" revision="honister" path="layers/poky" 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="master" path="layers/meta-raspberrypi" clone-depth="1"/>
<project name="meta-security" remote="yo" revision="honister" path="layers/meta-security" clone-depth="1"/>
<project name="meta-virtualization" remote="yo" revision="honister" path="layers/meta-virtualization" clone-depth="1"/>
<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>