Compare commits
2 Commits
f7fa091e4b
...
ebf7a71e30
Author | SHA1 | Date | |
---|---|---|---|
ebf7a71e30 | |||
378eef6e69 |
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -93,10 +93,10 @@ pipeline {
|
||||
sh "mkdir -p /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}"
|
||||
script {
|
||||
if(params.MACHINE == 'beaglebone-yocto') {
|
||||
sh "cp build/tmp/deploy/images/${params.MACHINE}/zImage--*-${params.MACHINE}-*.bin /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/zImage"
|
||||
sh "cp build/tmp/deploy/images/${params.MACHINE}/console-image-${params.MACHINE}-*.rootfs.wic /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/console-image.rootfs.wic"
|
||||
sh "cp build/tmp/deploy/images/${params.MACHINE}/console-image-${params.MACHINE}-*.rootfs.tar.bz2 /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/console-image.rootfs.tar.bz2"
|
||||
sh "cp build/tmp/deploy/images/${params.MACHINE}/am335x-boneblack--*-${params.MACHINE}-*.dtb /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/am335-boneblack.dtb"
|
||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/zImage--*-${params.MACHINE}-*.bin /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/zImage"
|
||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/console-image-${params.MACHINE}-*.rootfs.wic /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/console-image.rootfs.wic"
|
||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/console-image-${params.MACHINE}-*.rootfs.tar.bz2 /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/console-image.rootfs.tar.bz2"
|
||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/am335x-boneblack--*-${params.MACHINE}-*.dtb /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}/am335x-boneblack.dtb"
|
||||
}
|
||||
else if(params.MACHINE == 'raspberrypi3-64') {
|
||||
sh "mv build/tmp/deploy/images/${params.MACHINE}/Image /srv/files.blackfinn.de/data/images/${params.BRANCH}/${params.MACHINE}"
|
||||
|
20
README.md
20
README.md
@ -14,9 +14,27 @@ $ repo sync
|
||||
## Set Environment
|
||||
|
||||
```shell
|
||||
$ source [bbb/rpi]-init-build-env
|
||||
$ MACHINE=<machineconf> source blackfinn-init-build-env-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
|
||||
|
14
default.xml
14
default.xml
@ -5,16 +5,14 @@
|
||||
<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"/>
|
||||
|
||||
<project name="poky" remote="yo" revision="thud" clone-depth="1" path="layers/poky"/>
|
||||
<project name="meta-raspberrypi" remote="yo" revision="thud" clone-depth="1" path="layers/meta-raspberrypi"/>
|
||||
<project name="meta-openembedded" remote="oe" revision="thud" clone-depth="1" path="layers/meta-openembedded"/>
|
||||
|
||||
<project name="meta-bbb" remote="bf" revision="thud" path="layers/meta-bbb"/>
|
||||
<project name="meta-rpi" remote="bf" revision="thud" path="layers/meta-rpi"/>
|
||||
<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">
|
||||
<linkfile dest="bbb-init-build-env" src="buildconf/bbb-init-build-env"/>
|
||||
<linkfile dest="rpi-init-build-env" src="buildconf/rpi-init-build-env"/>
|
||||
<linkfile dest="blackfinn-init-build-env" src="buildconf/blackfinn-init-build-env"/>
|
||||
</project>
|
||||
</manifest>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user