diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2022-02-22 04:13:45 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 12:01:38 -0600 |
commit | 20f3191aeb592dd889eeaf96a31526297de95306 (patch) | |
tree | aec879b9855ff8a54df171ee808e30ac26f1c80b /meta-ti-bsp/conf/machine/include/ti33x.inc | |
parent | bea4fd2c401af05b866bd6af1c4e501d31b7b420 (diff) | |
download | meta-ti-20f3191aeb592dd889eeaf96a31526297de95306.tar.gz |
meta-ti: create a sub-layer meta-ti-bsp from existing content
Extra sub-layers will be created next and relevant content moved across them.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine/include/ti33x.inc')
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti33x.inc | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/include/ti33x.inc b/meta-ti-bsp/conf/machine/include/ti33x.inc new file mode 100644 index 00000000..afb80fd6 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/ti33x.inc | |||
@@ -0,0 +1,70 @@ | |||
1 | require conf/machine/include/ti-soc.inc | ||
2 | SOC_FAMILY:append = ":ti33x" | ||
3 | |||
4 | DEFAULTTUNE ?= "armv7athf-neon" | ||
5 | require conf/machine/include/arm/armv7a/tune-cortexa8.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 = "r22" | ||
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 | am335x-evm.dtb am335x-evmsk.dtb \ | ||
31 | am335x-icev2.dtb \ | ||
32 | am335x-pocketbeagle.dtb am335x-bone.dtb am335x-boneblue.dtb \ | ||
33 | am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb \ | ||
34 | am335x-boneblack.dtb am335x-boneblack-wireless.dtb \ | ||
35 | am335x-sancloud-bbe.dtb \ | ||
36 | " | ||
37 | |||
38 | KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl-uio.dtb', '', d)}" | ||
39 | |||
40 | UBOOT_ARCH = "arm" | ||
41 | UBOOT_MACHINE = "am335x_evm_config" | ||
42 | |||
43 | UBOOT_ENTRYPOINT = "0x80008000" | ||
44 | UBOOT_LOADADDRESS = "0x80008000" | ||
45 | |||
46 | # Generate an extlinux.conf file | ||
47 | UBOOT_EXTLINUX = "1" | ||
48 | UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}" | ||
49 | UBOOT_EXTLINUX_BOOT_FILES = " \ | ||
50 | extlinux.conf;extlinux/extlinux.conf \ | ||
51 | ${KERNEL_IMAGETYPE} \ | ||
52 | ${KERNEL_DEVICETREE} \ | ||
53 | " | ||
54 | |||
55 | SPL_BINARY = "MLO" | ||
56 | UBOOT_SUFFIX = "img" | ||
57 | |||
58 | # Use the expected value of the ubifs filesystem's volume name in the kernel | ||
59 | # and u-boot. | ||
60 | UBI_VOLNAME = "rootfs" | ||
61 | |||
62 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | ||
63 | |||
64 | # List common SoC features, may need to add touchscreen for specific machines | ||
65 | MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu" | ||
66 | |||
67 | IMAGE_FSTYPES += "tar.xz wic.xz" | ||
68 | WKS_FILE ?= "sdimage-2part.wks" | ||
69 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" | ||
70 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | ||