blob: 4a90ba5ab57053c1ccfe1bb374d2488d9f3d9be3 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#@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 \
Patrick Williamsc0f7c042017-02-23 20:41:17 -06007 xf86-video-modesetting \
Brad Bishop6e60e8b2018-02-01 10:27:11 -05008 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -05009
10MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree"
11
12EXTRA_IMAGEDEPENDS += "u-boot"
13
14DEFAULTTUNE ?= "cortexa8hf-neon"
15include conf/machine/include/tune-cortexa8.inc
16
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018EXTRA_IMAGECMD_jffs2 = "-lnp "
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019WKS_FILE ?= "beaglebone.wks"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060020IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
21do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022
23SERIAL_CONSOLE = "115200 ttyO0"
24
25PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050026PREFERRED_VERSION_linux-yocto ?= "4.12%"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027
28KERNEL_IMAGETYPE = "zImage"
29KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb"
30KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
31
32SPL_BINARY = "MLO"
33UBOOT_SUFFIX = "img"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050034UBOOT_MACHINE = "am335x_boneblack_config"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050035UBOOT_ENTRYPOINT = "0x80008000"
36UBOOT_LOADADDRESS = "0x80008000"
37
38MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
39
40IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO"