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