summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yocto-bsp/conf')
-rw-r--r--meta-yocto-bsp/conf/layer.conf11
-rw-r--r--meta-yocto-bsp/conf/machine/beaglebone.conf39
-rw-r--r--meta-yocto-bsp/conf/machine/edgerouter.conf22
-rw-r--r--meta-yocto-bsp/conf/machine/genericx86-64.conf8
-rw-r--r--meta-yocto-bsp/conf/machine/genericx86.conf8
-rw-r--r--meta-yocto-bsp/conf/machine/include/genericx86-common.inc20
-rw-r--r--meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf33
7 files changed, 141 insertions, 0 deletions
diff --git a/meta-yocto-bsp/conf/layer.conf b/meta-yocto-bsp/conf/layer.conf
new file mode 100644
index 0000000..44dbca6
--- /dev/null
+++ b/meta-yocto-bsp/conf/layer.conf
@@ -0,0 +1,11 @@
1# We have a conf and classes directory, add to BBPATH
2BBPATH .= ":${LAYERDIR}"
3
4# We have recipes-* directories, add to BBFILES
5BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6 ${LAYERDIR}/recipes-*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "yoctobsp"
9BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"
10BBFILE_PRIORITY_yoctobsp = "5"
11LAYERVERSION_yoctobsp = "3"
diff --git a/meta-yocto-bsp/conf/machine/beaglebone.conf b/meta-yocto-bsp/conf/machine/beaglebone.conf
new file mode 100644
index 0000000..a316207
--- /dev/null
+++ b/meta-yocto-bsp/conf/machine/beaglebone.conf
@@ -0,0 +1,39 @@
1#@TYPE: Machine
2#@NAME: Beaglebone machine
3#@DESCRIPTION: Machine configuration for http://beagleboard.org/bone and http://beagleboard.org/black boards
4
5PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
6XSERVER ?= "xserver-xorg \
7 xf86-input-evdev \
8 xf86-input-mouse \
9 xf86-video-fbdev \
10 xf86-input-keyboard"
11
12MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree"
13
14EXTRA_IMAGEDEPENDS += "u-boot"
15
16DEFAULTTUNE ?= "cortexa8hf-neon"
17include conf/machine/include/tune-cortexa8.inc
18
19IMAGE_FSTYPES += "tar.bz2 jffs2"
20EXTRA_IMAGECMD_jffs2 = "-lnp "
21
22SERIAL_CONSOLE = "115200 ttyO0"
23
24PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
25PREFERRED_VERSION_linux-yocto ?= "3.14%"
26
27KERNEL_IMAGETYPE = "uImage"
28KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb"
29KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
30
31SPL_BINARY = "MLO"
32UBOOT_SUFFIX = "img"
33UBOOT_MACHINE = "am335x_evm_config"
34UBOOT_ENTRYPOINT = "0x80008000"
35UBOOT_LOADADDRESS = "0x80008000"
36
37MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
38
39IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO"
diff --git a/meta-yocto-bsp/conf/machine/edgerouter.conf b/meta-yocto-bsp/conf/machine/edgerouter.conf
new file mode 100644
index 0000000..9cb84bc
--- /dev/null
+++ b/meta-yocto-bsp/conf/machine/edgerouter.conf
@@ -0,0 +1,22 @@
1#@TYPE: Machine
2#@NAME: Edgerouter
3#@DESCRIPTION: Edgerouter
4
5require conf/machine/include/tune-mips64.inc
6
7MACHINE_FEATURES = "pci ext2 ext3 serial"
8
9KERNEL_IMAGETYPE = "vmlinux"
10KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
11KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment"
12
13PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
14PREFERRED_VERSION_linux-yocto ?= "3.14%"
15
16SERIAL_CONSOLE = "115200 ttyS0"
17USE_VT ?= "0"
18
19MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
20
21IMAGE_FSTYPES ?= "jffs2 tar.bz2"
22JFFS2_ERASEBLOCK = "0x10000"
diff --git a/meta-yocto-bsp/conf/machine/genericx86-64.conf b/meta-yocto-bsp/conf/machine/genericx86-64.conf
new file mode 100644
index 0000000..f76e35a
--- /dev/null
+++ b/meta-yocto-bsp/conf/machine/genericx86-64.conf
@@ -0,0 +1,8 @@
1#@TYPE: Machine
2#@NAME: Generic X86_64.
3
4#@DESCRIPTION: Machine configuration for generic X86_64 (64-bit) PCs and servers. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
5
6DEFAULTTUNE ?= "core2-64"
7require conf/machine/include/tune-core2.inc
8require conf/machine/include/genericx86-common.inc
diff --git a/meta-yocto-bsp/conf/machine/genericx86.conf b/meta-yocto-bsp/conf/machine/genericx86.conf
new file mode 100644
index 0000000..2642cab
--- /dev/null
+++ b/meta-yocto-bsp/conf/machine/genericx86.conf
@@ -0,0 +1,8 @@
1#@TYPE: Machine
2#@NAME: Generic X86.
3
4#@DESCRIPTION: Machine configuration for generic X86 (32-bit) PCs. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
5
6DEFAULTTUNE ?= "core2-32"
7require conf/machine/include/tune-core2.inc
8require conf/machine/include/genericx86-common.inc
diff --git a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc
new file mode 100644
index 0000000..c61be97
--- /dev/null
+++ b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc
@@ -0,0 +1,20 @@
1include conf/machine/include/x86-base.inc
2MACHINE_FEATURES += "wifi efi pcbios"
3
4PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
5PREFERRED_VERSION_linux-yocto ?= "3.14%"
6PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
7XSERVER ?= "${XSERVER_X86_BASE} \
8 ${XSERVER_X86_EXT} \
9 ${XSERVER_X86_I915} \
10 ${XSERVER_X86_I965} \
11 ${XSERVER_X86_FBDEV} \
12 ${XSERVER_X86_VESA} \
13 ${XSERVER_X86_MODESETTING} \
14 "
15
16MACHINE_EXTRA_RRECOMMENDS += "linux-firmware v86d eee-acpi-scripts"
17
18GLIBC_ADDONS = "nptl"
19
20EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"
diff --git a/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf b/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf
new file mode 100644
index 0000000..43bdce4
--- /dev/null
+++ b/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf
@@ -0,0 +1,33 @@
1#@TYPE: Machine
2#@DESCRIPTION: Machine configuration for running
3
4TARGET_FPU = ""
5
6require conf/machine/include/tune-ppce300c3.inc
7
8KERNEL_IMAGETYPE = "uImage"
9
10EXTRA_IMAGEDEPENDS += "u-boot"
11UBOOT_MACHINE_mpc8315e-rdb = "MPC8315ERDB_config"
12
13SERIAL_CONSOLE = "115200 ttyS0"
14
15MACHINE_FEATURES = "keyboard pci ext2 ext3 serial"
16
17PREFERRED_VERSION_linux-yocto ?= "3.14%"
18PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
19
20PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
21XSERVER ?= "xserver-xorg \
22 xf86-input-evdev \
23 xf86-video-fbdev"
24
25PREFERRED_VERSION_u-boot ?= "v2013.07%"
26UBOOT_ENTRYPOINT = "0x00000000"
27
28KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8315erdb.dts"
29
30MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
31
32IMAGE_FSTYPES ?= "jffs2 tar.bz2"
33JFFS2_ERASEBLOCK = "0x4000"