blob: bc18ee8c47e311f8fae6070c8c95fe2e914f7c93 [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
Brad Bishop19323692019-04-05 15:28:33 -040023SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0"
24SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
Brad Bishop316dfdd2018-06-25 12:45:53 -040025
26PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
Brad Bishop19323692019-04-05 15:28:33 -040027PREFERRED_VERSION_linux-yocto ?= "5.0%"
Brad Bishop316dfdd2018-06-25 12:45:53 -040028
29KERNEL_IMAGETYPE = "zImage"
30KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
31KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
32
33SPL_BINARY = "MLO"
34UBOOT_SUFFIX = "img"
Brad Bishopc342db32019-05-15 21:57:59 -040035UBOOT_MACHINE = "am335x_evm_defconfig"
Brad Bishop316dfdd2018-06-25 12:45:53 -040036UBOOT_ENTRYPOINT = "0x80008000"
37UBOOT_LOADADDRESS = "0x80008000"
38
39MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
40
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080041IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO zImage am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"