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