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