diff options
| author | Denys Dmytriyenko <denys@ti.com> | 2014-03-26 15:21:10 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-31 23:04:36 +0100 |
| commit | 76b1d595cd7104797495067cc8c59db631edb75d (patch) | |
| tree | a0a5db5d626b06549e6389e4da848fa01730c6a7 | |
| parent | bd072d84da325820dcff333fdcf169834f62d833 (diff) | |
| download | poky-76b1d595cd7104797495067cc8c59db631edb75d.tar.gz | |
beaglebone: add OE machine definition for use with linux-yocto kernels
Kernel support is now in linux-yocto-dev and will be moved to a versioned
recipe once 3.14 is released.
(From meta-yocto rev: ba78fa236b4993efd4c2502413e92fa659c2f28b)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta-yocto-bsp/conf/machine/beaglebone.conf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-yocto-bsp/conf/machine/beaglebone.conf b/meta-yocto-bsp/conf/machine/beaglebone.conf new file mode 100644 index 0000000000..0765b33e24 --- /dev/null +++ b/meta-yocto-bsp/conf/machine/beaglebone.conf | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: Beaglebone machine | ||
| 3 | #@DESCRIPTION: Machine configuration for http://beagleboard.org/bone and http://beagleboard.org/black boards | ||
| 4 | |||
| 5 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
| 6 | XSERVER ?= "xserver-xorg \ | ||
| 7 | xf86-input-evdev \ | ||
| 8 | xf86-input-mouse \ | ||
| 9 | xf86-video-omapfb \ | ||
| 10 | xf86-input-keyboard" | ||
| 11 | |||
| 12 | # Ship all kernel modules by default | ||
| 13 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | ||
| 14 | |||
| 15 | EXTRA_IMAGEDEPENDS += "u-boot" | ||
| 16 | |||
| 17 | DEFAULTTUNE ?= "cortexa8hf-neon" | ||
| 18 | include conf/machine/include/tune-cortexa8.inc | ||
| 19 | |||
| 20 | IMAGE_FSTYPES += "tar.bz2 jffs2" | ||
| 21 | EXTRA_IMAGECMD_jffs2 = "-lnp " | ||
| 22 | |||
| 23 | SERIAL_CONSOLE = "115200 ttyO2" | ||
| 24 | |||
| 25 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-dev" | ||
| 26 | PREFERRED_VERSION_linux-yocto-dev ?= "3.14%" | ||
| 27 | |||
| 28 | KERNEL_IMAGETYPE = "zImage" | ||
| 29 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb" | ||
| 30 | |||
| 31 | SPL_BINARY = "MLO" | ||
| 32 | UBOOT_SUFFIX = "img" | ||
| 33 | UBOOT_MACHINE = "am335_evm_config" | ||
| 34 | UBOOT_ENTRYPOINT = "0x80008000" | ||
| 35 | UBOOT_LOADADDRESS = "0x80008000" | ||
| 36 | |||
| 37 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" | ||
