diff options
Diffstat (limited to 'yocto-poky/meta-yocto-bsp/conf')
7 files changed, 141 insertions, 0 deletions
diff --git a/yocto-poky/meta-yocto-bsp/conf/layer.conf b/yocto-poky/meta-yocto-bsp/conf/layer.conf new file mode 100644 index 000000000..44dbca60f --- /dev/null +++ b/yocto-poky/meta-yocto-bsp/conf/layer.conf @@ -0,0 +1,11 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "yoctobsp" +BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/" +BBFILE_PRIORITY_yoctobsp = "5" +LAYERVERSION_yoctobsp = "3" diff --git a/yocto-poky/meta-yocto-bsp/conf/machine/beaglebone.conf b/yocto-poky/meta-yocto-bsp/conf/machine/beaglebone.conf new file mode 100644 index 000000000..0daebf35c --- /dev/null +++ b/yocto-poky/meta-yocto-bsp/conf/machine/beaglebone.conf @@ -0,0 +1,39 @@ +#@TYPE: Machine +#@NAME: Beaglebone machine +#@DESCRIPTION: Machine configuration for http://beagleboard.org/bone and http://beagleboard.org/black boards + +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +XSERVER ?= "xserver-xorg \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-video-fbdev \ + xf86-input-keyboard" + +MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree" + +EXTRA_IMAGEDEPENDS += "u-boot" + +DEFAULTTUNE ?= "cortexa8hf-neon" +include conf/machine/include/tune-cortexa8.inc + +IMAGE_FSTYPES += "tar.bz2 jffs2" +EXTRA_IMAGECMD_jffs2 = "-lnp " + +SERIAL_CONSOLE = "115200 ttyO0" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +PREFERRED_VERSION_linux-yocto ?= "3.19%" + +KERNEL_IMAGETYPE = "zImage" +KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb" +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" + +SPL_BINARY = "MLO" +UBOOT_SUFFIX = "img" +UBOOT_MACHINE = "am335x_evm_config" +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +MACHINE_FEATURES = "usbgadget usbhost vfat alsa" + +IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO" diff --git a/yocto-poky/meta-yocto-bsp/conf/machine/edgerouter.conf b/yocto-poky/meta-yocto-bsp/conf/machine/edgerouter.conf new file mode 100644 index 000000000..45ef23745 --- /dev/null +++ b/yocto-poky/meta-yocto-bsp/conf/machine/edgerouter.conf @@ -0,0 +1,22 @@ +#@TYPE: Machine +#@NAME: Edgerouter +#@DESCRIPTION: Edgerouter + +require conf/machine/include/tune-mips64.inc + +MACHINE_FEATURES = "pci ext2 ext3 serial" + +KERNEL_IMAGETYPE = "vmlinux" +KERNEL_ALT_IMAGETYPE = "vmlinux.bin" +KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +PREFERRED_VERSION_linux-yocto ?= "3.19%" + +SERIAL_CONSOLE = "115200 ttyS0" +USE_VT ?= "0" + +MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" + +IMAGE_FSTYPES ?= "jffs2 tar.bz2" +JFFS2_ERASEBLOCK = "0x10000" diff --git a/yocto-poky/meta-yocto-bsp/conf/machine/genericx86-64.conf b/yocto-poky/meta-yocto-bsp/conf/machine/genericx86-64.conf new file mode 100644 index 000000000..f76e35af6 --- /dev/null +++ b/yocto-poky/meta-yocto-bsp/conf/machine/genericx86-64.conf @@ -0,0 +1,8 @@ +#@TYPE: Machine +#@NAME: Generic X86_64. + +#@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. + +DEFAULTTUNE ?= "core2-64" +require conf/machine/include/tune-core2.inc +require conf/machine/include/genericx86-common.inc diff --git a/yocto-poky/meta-yocto-bsp/conf/machine/genericx86.conf b/yocto-poky/meta-yocto-bsp/conf/machine/genericx86.conf new file mode 100644 index 000000000..2642caba5 --- /dev/null +++ b/yocto-poky/meta-yocto-bsp/conf/machine/genericx86.conf @@ -0,0 +1,8 @@ +#@TYPE: Machine +#@NAME: Generic X86. + +#@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. + +DEFAULTTUNE ?= "core2-32" +require conf/machine/include/tune-core2.inc +require conf/machine/include/genericx86-common.inc diff --git a/yocto-poky/meta-yocto-bsp/conf/machine/include/genericx86-common.inc b/yocto-poky/meta-yocto-bsp/conf/machine/include/genericx86-common.inc new file mode 100644 index 000000000..7c10b56c4 --- /dev/null +++ b/yocto-poky/meta-yocto-bsp/conf/machine/include/genericx86-common.inc @@ -0,0 +1,20 @@ +include conf/machine/include/x86-base.inc +MACHINE_FEATURES += "wifi efi pcbios" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +PREFERRED_VERSION_linux-yocto ?= "4.1%" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +XSERVER ?= "${XSERVER_X86_BASE} \ + ${XSERVER_X86_EXT} \ + ${XSERVER_X86_I915} \ + ${XSERVER_X86_I965} \ + ${XSERVER_X86_FBDEV} \ + ${XSERVER_X86_VESA} \ + ${XSERVER_X86_MODESETTING} \ + " + +MACHINE_EXTRA_RRECOMMENDS += "linux-firmware v86d eee-acpi-scripts" + +GLIBC_ADDONS = "nptl" + +EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi" diff --git a/yocto-poky/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf b/yocto-poky/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf new file mode 100644 index 000000000..2beef48d3 --- /dev/null +++ b/yocto-poky/meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf @@ -0,0 +1,33 @@ +#@TYPE: Machine +#@DESCRIPTION: Machine configuration for running + +TARGET_FPU = "" + +require conf/machine/include/tune-ppce300c3.inc + +KERNEL_IMAGETYPE = "uImage" + +EXTRA_IMAGEDEPENDS += "u-boot" +UBOOT_MACHINE_mpc8315e-rdb = "MPC8315ERDB_config" + +SERIAL_CONSOLE = "115200 ttyS0" + +MACHINE_FEATURES = "keyboard pci ext2 ext3 serial" + +PREFERRED_VERSION_linux-yocto ?= "3.19%" +PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" + +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +XSERVER ?= "xserver-xorg \ + xf86-input-evdev \ + xf86-video-fbdev" + +PREFERRED_VERSION_u-boot ?= "v2013.07%" +UBOOT_ENTRYPOINT = "0x00000000" + +KERNEL_DEVICETREE = "mpc8315erdb.dtb" + +MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" + +IMAGE_FSTYPES ?= "jffs2 tar.bz2" +JFFS2_ERASEBLOCK = "0x4000" |