Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 \ |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 9 | xf86-video-modesetting \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 10 | xf86-input-keyboard" |
| 11 | |
| 12 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree" |
| 13 | |
| 14 | EXTRA_IMAGEDEPENDS += "u-boot" |
| 15 | |
| 16 | DEFAULTTUNE ?= "cortexa8hf-neon" |
| 17 | include conf/machine/include/tune-cortexa8.inc |
| 18 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 19 | IMAGE_FSTYPES += "tar.bz2 jffs2 wic" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | EXTRA_IMAGECMD_jffs2 = "-lnp " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 21 | WKS_FILE = "sdimage-bootpart.wks" |
| 22 | IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage" |
| 23 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | |
| 25 | SERIAL_CONSOLE = "115200 ttyO0" |
| 26 | |
| 27 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 28 | PREFERRED_VERSION_linux-yocto ?= "4.8%" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 29 | |
| 30 | KERNEL_IMAGETYPE = "zImage" |
| 31 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb" |
| 32 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" |
| 33 | |
| 34 | SPL_BINARY = "MLO" |
| 35 | UBOOT_SUFFIX = "img" |
| 36 | UBOOT_MACHINE = "am335x_evm_config" |
| 37 | UBOOT_ENTRYPOINT = "0x80008000" |
| 38 | UBOOT_LOADADDRESS = "0x80008000" |
| 39 | |
| 40 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa" |
| 41 | |
| 42 | IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO" |