diff options
Diffstat (limited to 'meta-ti-bsp/conf/machine/include/omap-a15.inc')
-rw-r--r-- | meta-ti-bsp/conf/machine/include/omap-a15.inc | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/include/omap-a15.inc b/meta-ti-bsp/conf/machine/include/omap-a15.inc new file mode 100644 index 00000000..9a2e0044 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/omap-a15.inc | |||
@@ -0,0 +1,55 @@ | |||
1 | require conf/machine/include/ti-soc.inc | ||
2 | SOC_FAMILY:append = ":omap-a15" | ||
3 | |||
4 | DEFAULTTUNE ?= "armv7athf-neon" | ||
5 | require conf/machine/include/arm/armv7a/tune-cortexa15.inc | ||
6 | |||
7 | # Increase this everytime you change something in the kernel | ||
8 | MACHINE_KERNEL_PR = "r7" | ||
9 | |||
10 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging" | ||
11 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" | ||
12 | PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" | ||
13 | |||
14 | KERNEL_IMAGETYPE = "zImage" | ||
15 | KERNEL_IMAGETYPES = "zImage uImage" | ||
16 | KERNEL_CLASSES += "kernel-uimage" | ||
17 | |||
18 | UBOOT_ARCH = "arm" | ||
19 | UBOOT_ENTRYPOINT = "0x80008000" | ||
20 | UBOOT_LOADADDRESS = "0x80008000" | ||
21 | |||
22 | DEVICETREE_FILE = "${@d.getVar('KERNEL_DEVICETREE').replace("ti/","")}" | ||
23 | |||
24 | # Generate an extlinux.conf file | ||
25 | UBOOT_EXTLINUX = "1" | ||
26 | UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}" | ||
27 | UBOOT_EXTLINUX_BOOT_FILES = " \ | ||
28 | extlinux.conf;extlinux/extlinux.conf \ | ||
29 | ${KERNEL_IMAGETYPE} \ | ||
30 | ${DEVICETREE_FILE} \ | ||
31 | " | ||
32 | |||
33 | SPL_BINARY = "MLO" | ||
34 | UBOOT_SUFFIX = "img" | ||
35 | |||
36 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | ||
37 | |||
38 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" | ||
39 | XSERVER = "xserver-xorg \ | ||
40 | xf86-input-evdev \ | ||
41 | xf86-video-fbdev" | ||
42 | |||
43 | MACHINE_GUI_CLASS = "smallscreen" | ||
44 | |||
45 | # Use the expected value of the ubifs filesystem's volume name in the kernel | ||
46 | # and u-boot. | ||
47 | UBI_VOLNAME = "rootfs" | ||
48 | |||
49 | # List common SoC features, may need to add touchscreen for specific machines | ||
50 | MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320" | ||
51 | |||
52 | IMAGE_FSTYPES += "tar.xz wic.xz" | ||
53 | WKS_FILE ?= "sdimage-2part.wks" | ||
54 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" | ||
55 | do_image_wic[depends] += "u-boot:do_deploy" | ||