summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine/include/ti43x.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ti-bsp/conf/machine/include/ti43x.inc')
-rw-r--r--meta-ti-bsp/conf/machine/include/ti43x.inc67
1 files changed, 67 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/include/ti43x.inc b/meta-ti-bsp/conf/machine/include/ti43x.inc
new file mode 100644
index 00000000..2c3a3770
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/ti43x.inc
@@ -0,0 +1,67 @@
1require conf/machine/include/ti-soc.inc
2SOC_FAMILY:append = ":ti43x"
3
4DEFAULTTUNE ?= "armv7athf-neon"
5require conf/machine/include/arm/armv7a/tune-cortexa9.inc
6
7PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
8
9# For built-in LCD, add xf86-input-tslib
10XSERVER = "xserver-xorg \
11 xf86-input-evdev \
12 xf86-input-mouse \
13 xf86-video-fbdev \
14 xf86-input-keyboard"
15
16# Default to external video, change to smallscreen for built-in LCD
17MACHINE_GUI_CLASS = "bigscreen"
18
19# Increase this everytime you change something in the kernel
20MACHINE_KERNEL_PR = "r3"
21
22# Default providers, may need to override for specific machines
23PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
24PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
25PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
26
27KERNEL_IMAGETYPE = "zImage"
28
29KERNEL_DEVICETREE = " \
30 am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb \
31 am437x-sk-evm.dtb am437x-idk-evm.dtb \
32 am43x-epos-evm.dtb am43x-epos-evm-hdmi.dtb \
33"
34
35KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
36
37UBOOT_ARCH = "arm"
38UBOOT_MACHINE = "am43xx_evm_config"
39
40UBOOT_ENTRYPOINT = "0x80008000"
41UBOOT_LOADADDRESS = "0x80008000"
42
43# Generate an extlinux.conf file
44UBOOT_EXTLINUX = "1"
45UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
46UBOOT_EXTLINUX_BOOT_FILES = " \
47 extlinux.conf;extlinux/extlinux.conf \
48 ${KERNEL_IMAGETYPE} \
49 ${KERNEL_DEVICETREE} \
50"
51
52SPL_BINARY = "MLO"
53UBOOT_SUFFIX = "img"
54
55# Use the expected value of the ubifs filesystem's volume name in the kernel
56# and u-boot.
57UBI_VOLNAME = "rootfs"
58
59EXTRA_IMAGEDEPENDS += "u-boot"
60
61# List common SoC features, may need to add touchscreen for specific machines
62MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
63
64IMAGE_FSTYPES += "tar.xz wic.xz"
65WKS_FILE ?= "sdimage-2part.wks"
66IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
67do_image_wic[depends] += "u-boot:do_deploy"