summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/meta-schulung-extended/conf
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/yocto-advanced/meta-schulung-extended/conf')
-rw-r--r--distribution/yocto-advanced/meta-schulung-extended/conf/bblayers.conf.sample12
-rw-r--r--distribution/yocto-advanced/meta-schulung-extended/conf/distro/schulung-poky.conf19
-rw-r--r--distribution/yocto-advanced/meta-schulung-extended/conf/distro/schulung.conf27
-rw-r--r--distribution/yocto-advanced/meta-schulung-extended/conf/layer.conf26
-rw-r--r--distribution/yocto-advanced/meta-schulung-extended/conf/local.conf.sample7
-rw-r--r--distribution/yocto-advanced/meta-schulung-extended/conf/machine/vexpress.conf69
6 files changed, 160 insertions, 0 deletions
diff --git a/distribution/yocto-advanced/meta-schulung-extended/conf/bblayers.conf.sample b/distribution/yocto-advanced/meta-schulung-extended/conf/bblayers.conf.sample
new file mode 100644
index 0000000..89e9964
--- /dev/null
+++ b/distribution/yocto-advanced/meta-schulung-extended/conf/bblayers.conf.sample
@@ -0,0 +1,12 @@
+# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
+# changes incompatibly
+POKY_BBLAYERS_CONF_VERSION = "2"
+
+BBPATH = "${TOPDIR}"
+BBFILES ?= ""
+
+BBLAYERS ?= " \
+ ##OEROOT##/meta \
+ ##OEROOT##/meta-poky \
+ ##OEROOT##/../meta-schulung-extended \
+ "
diff --git a/distribution/yocto-advanced/meta-schulung-extended/conf/distro/schulung-poky.conf b/distribution/yocto-advanced/meta-schulung-extended/conf/distro/schulung-poky.conf
new file mode 100644
index 0000000..4a0d6cf
--- /dev/null
+++ b/distribution/yocto-advanced/meta-schulung-extended/conf/distro/schulung-poky.conf
@@ -0,0 +1,19 @@
+# whatever poky does
+require conf/distro/poky.conf
+
+# but call it schulung-poky
+DISTRO = "schulung-poky"
+
+# and keep named compatibility with poky
+DISTROOVERRIDES = "poky"
+
+# debian/jessie works great
+SANITY_TESTED_DISTROS = "DebianGNULinux-8"
+
+# if this distribution is designed for internal use, it may
+# be appropriate to set PREMIRRORS here for internal mirrors
+#PREMIRRORS ?= ""
+
+# set preferred kernel and version for this distribution
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-basic"
+PREFERRED_VERSION_virtual/kernel ?= "4.4"
diff --git a/distribution/yocto-advanced/meta-schulung-extended/conf/distro/schulung.conf b/distribution/yocto-advanced/meta-schulung-extended/conf/distro/schulung.conf
new file mode 100644
index 0000000..9a2c552
--- /dev/null
+++ b/distribution/yocto-advanced/meta-schulung-extended/conf/distro/schulung.conf
@@ -0,0 +1,27 @@
+# whatever poky does
+require conf/distro/poky.conf
+
+# but call it schulung-poky
+DISTRO = "schulung"
+DISTRO_NAME = "Schulung (Yocto Schulung Example Distro)"
+DISTRO_VERSION = "1.0"
+DISTRO_CODENAME = "pyro"
+SDK_VENDOR = "-schulungsdk"
+
+MAINTAINER = "YourName <you@schulung>"
+
+TARGET_VENDOR = "-schulung"
+
+# and keep named compatibility with poky
+DISTROOVERRIDES = "poky"
+
+# debian/jessie works great
+SANITY_TESTED_DISTROS = "debian-8"
+
+# remove some distro features added in poky.conf
+DISTRO_FEATURES_remove = "alsa argp bluetooth irda pcmcia usbgadget usbhost wifi zeroconf 3g nfc x11 ipv6 opengl ptest wayland pulseaudio bluez5 gobject-introspection-data"
+
+# enable systemd as init daemon
+#DISTRO_FEATURES_remove = "sysvinit"
+#DISTRO_FEATURES += "systemd"
+#VIRTUAL-RUNTIME_init_manager = "systemd"
diff --git a/distribution/yocto-advanced/meta-schulung-extended/conf/layer.conf b/distribution/yocto-advanced/meta-schulung-extended/conf/layer.conf
new file mode 100644
index 0000000..874701b
--- /dev/null
+++ b/distribution/yocto-advanced/meta-schulung-extended/conf/layer.conf
@@ -0,0 +1,26 @@
+# add this layer to the search path for bitbake
+BBPATH .= ":${LAYERDIR}"
+
+# specify where all bb and bbappend files for this layer are
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bbappend"
+
+# name this layer
+# (...and add it to bitbake's list of known layers)
+BBFILE_COLLECTIONS += "schulung"
+
+# specify the pattern that can be used to match file paths with this layer
+BBFILE_PATTERN_schulung = "^${LAYERDIR}/"
+
+# specify the priority of this layer
+BBFILE_PRIORITY_schulung = "10"
+
+# specify the version of this layer
+# (should only be incremented on significant changes that will cause
+# compatibility issues with other layers)
+LAYERVERSION_schulung = "1"
+
+# layers this layer depends on
+# (look at the BBFILE_COLLECTIONS value in a layer's
+# layer.conf to see what its name is)
+LAYERDEPENDS_schulung = "core"
diff --git a/distribution/yocto-advanced/meta-schulung-extended/conf/local.conf.sample b/distribution/yocto-advanced/meta-schulung-extended/conf/local.conf.sample
new file mode 100644
index 0000000..6d66139
--- /dev/null
+++ b/distribution/yocto-advanced/meta-schulung-extended/conf/local.conf.sample
@@ -0,0 +1,7 @@
+DISTRO ?= "schulung"
+MACHINE ?= "vexpress"
+PACKAGE_CLASSES ?= "package_ipk"
+PATCHRESOLVE ?= "noop"
+DL_DIR ?= "/home/devel/downloads"
+SSTATE_DIR ?= "/home/devel/sstate-cache"
+CONF_VERSION = "1"
diff --git a/distribution/yocto-advanced/meta-schulung-extended/conf/machine/vexpress.conf b/distribution/yocto-advanced/meta-schulung-extended/conf/machine/vexpress.conf
new file mode 100644
index 0000000..3c542eb
--- /dev/null
+++ b/distribution/yocto-advanced/meta-schulung-extended/conf/machine/vexpress.conf
@@ -0,0 +1,69 @@
+# build hardware floating point binaries
+# (tune-coretexa8.inc sets "armv7a-neon" as default)
+DEFAULTTUNE ?= "armv7athf-neon"
+
+# build for cortex a8
+# (for our vexpress board we could use tune-cortexa9.inc, but
+# we wanted to stay compatible with beaglebone/cortex-a8)
+require conf/machine/include/tune-cortexa8.inc
+
+# for generating a qemu-boot.conf file
+require conf/machine/include/qemu.inc
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MACHINE = "-machine vexpress-a9"
+QB_DEFAULT_KERNEL = "u-boot.uimg"
+# for using tftpboot set QB_NETWORK_DEVICE to "-net user,tftp=tmp/deploy/images/vexpress"
+QB_NETWORK_DEVICE = "-device virtio-net-device,mac=@MAC@ -net user"
+QB_DEFAULT_FSTYPE = "wic"
+QB_DRIVE_TYPE = "/dev/mmcblk"
+QB_OPT_APPEND = "-nographic"
+KERNEL_IMAGETYPE ?= "u-boot.uimg"
+
+# machine features are used to install additional packages and can
+# be set to values like:
+# MACHINE_FEATURES="alsa bluetooth usbgadget screen rtc qemu-usermode"
+MACHINE_FEATURES=""
+
+# build tarballs of root filesystems
+IMAGE_FSTYPES += "tar.gz"
+
+# build ext4 images
+IMAGE_FSTYPES += "ext4"
+
+# build ext2 images
+IMAGE_FSTYPES += "ext2"
+
+# build sdcard image
+IMAGE_FSTYPES += "wic wic.bmap"
+WKS_FILE ?= "vexpress.wks"
+do_image_wic[depends] += "qemu-boot-files:do_deploy mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
+# files that should be stored on the /boot partition of the sdcard
+IMAGE_BOOT_FILES = "image.fit"
+
+# build ubi images
+# (the "ubi" image type requires addition hardware-specific details for
+# creating the image... what variables are needed and how they are used
+# can be seen in image_types.bbclass, in the IMAGE_CMD_ubifs function)
+MKUBIFS_ARGS = "-m 1 -e 524160 -c 256"
+UBINIZE_ARGS = "-m 1 -p 524288 -s 1"
+UBI_VOLNAME = "rootfs"
+IMAGE_FSTYPES += "ubi"
+
+# set the default device tree for this board
+# (this is a variable we created, used by the linux-basic recipe)
+DTB ?= "vexpress-v2p-ca9.dtb"
+
+# set the baud rate and device for the serial console
+# (bitbake.conf adds value to a ${SERIAL_CONSOLES} list, but it is up to
+# invididual recipes to do something useful with this information
+SERIAL_CONSOLE = "115200 ttyAMA0"
+
+# use linux-basic as kernel recipe
+PREFERRED_PROVIDER_virtual/kernel = "linux-basic"
+# and install the kernel modules into the rootfs
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
+
+# use u-boot as bootloader
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
+# build the make target 'u-boot-nodtb'
+UBOOT_MACHINE = "u-boot-nodtb"