blob: ae682a47d31b6ed4b9d93384c868322112f7e36d [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001#@TYPE: Machine
2#@NAME: Beaglebone-yocto machine
3#@DESCRIPTION: Reference machine configuration for http://beagleboard.org/bone and http://beagleboard.org/black boards
4
5PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
6XSERVER ?= "xserver-xorg \
7 xf86-video-modesetting \
8 "
9
10MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree"
11
12EXTRA_IMAGEDEPENDS += "u-boot"
13
14DEFAULTTUNE ?= "cortexa8hf-neon"
15include conf/machine/include/tune-cortexa8.inc
16
17IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
18EXTRA_IMAGECMD_jffs2 = "-lnp "
19WKS_FILE ?= "beaglebone-yocto.wks"
20IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
21do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
22
23SERIAL_CONSOLE = "115200 ttyO0"
24
25PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
26PREFERRED_VERSION_linux-yocto ?= "4.15%"
27
28KERNEL_IMAGETYPE = "zImage"
29KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
30KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
31
32SPL_BINARY = "MLO"
33UBOOT_SUFFIX = "img"
34UBOOT_MACHINE = "am335x_boneblack_config"
35UBOOT_ENTRYPOINT = "0x80008000"
36UBOOT_LOADADDRESS = "0x80008000"
37
38MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
39
40IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO"