meta-blackfinn: Add support for raspberrypi4-64

Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
This commit is contained in:
Thomas Klaehn 2020-09-23 08:22:44 +02:00
parent cf1dcbe16d
commit cb49dd26c4
6 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "3"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
${TOPDIR}/../layers/poky/meta \
${TOPDIR}/../layers/poky/meta-poky \
${TOPDIR}/../layers/poky/meta-yocto-bsp \
${TOPDIR}/../layers/meta-openembedded/meta-filesystems \
${TOPDIR}/../layers/meta-openembedded/meta-oe \
${TOPDIR}/../layers/meta-openembedded/meta-networking \
${TOPDIR}/../layers/meta-openembedded/meta-python \
${TOPDIR}/../layers/meta-raspberrypi \
${TOPDIR}/../layers/meta-virtualization \
${TOPDIR}/../layers/meta-blackfinn \
"

View File

@ -0,0 +1,11 @@
Common targets are:
console-image
console-dev-image
tiny-image
docker-image
core-image-minimal
core-image-sato
meta-toolchain
adt-installer
meta-ide-support

View File

@ -0,0 +1,46 @@
MACHINE ?= "raspberrypi3-64"
DISTRO ?= "roro"
PACKAGE_CLASSES ?= "package_ipk"
#SDKMACHINE ?= "i686"
#EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
#SSTATE_MIRRORS ?= "\
#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
#file://.* file:///some/local/dir/sstate/PATH"
CONF_VERSION = "1"
ENABLE_UART = "1"
ENABLE_SPI_BUS = "1"
ENABLE_I2C = "1"
INHERIT += "rm_work"
INHERIT += "own-mirrors"
SOURCE_MIRROR_URL = "https://files.blackfinn.de/mirror/sources"
BB_GENERATE_MIRROR_TARBALLS = "1"
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
ICECC_PARALLEL_MAKE = "-j 24"
INHERIT += "icecc"
ICECC_USER_PACKAGE_BL = "pkgconfig-native"

View File

@ -0,0 +1,32 @@
# Must have one or more source entries of the form:
#
# src <src-name> <source-url>
#
# and one or more destination entries of the form:
#
# dest <dest-name> <target-path>
#
# where <src-name> and <dest-names> are identifiers that
# should match [a-zA-Z0-9._-]+, <source-url> should be a
# URL that points to a directory containing a Familiar
# Packages file, and <target-path> should be a directory
# that exists on the target system.
# Proxy Support
#option http_proxy http://proxy.tld:3128
#option ftp_proxy http://proxy.tld:3128
#option proxy_username <username>
#option proxy_password <password>
# Enable GPGME signature
# option check_signature 1
# Offline mode (for use in constructing flash images offline)
#option offline_root target
src/gz all https://opkg.blackfinn.de/thud/all
src/gz raspberrypi4_64 https://opkg.blackfinn.de/thud/raspberrypi4_64
src/gz aarch64 https://opkg.blackfinn.de/thud/aarch64
# Default destination for installed packages
dest root /