diff options
Diffstat (limited to 'meta-ti-bsp/conf/machine/include')
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am64xx.inc | 24 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am65xx.inc | 32 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/dra7xx.inc | 4 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j7.inc | 7 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 55 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/k3r5.inc | 24 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/omap-a15.inc | 55 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/omapl1.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/omapl138.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti-soc.inc | 5 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti33x.inc | 70 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti43x.inc | 67 |
12 files changed, 347 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/include/am64xx.inc b/meta-ti-bsp/conf/machine/include/am64xx.inc new file mode 100644 index 00000000..afb96a22 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/am64xx.inc | |||
@@ -0,0 +1,24 @@ | |||
1 | require conf/machine/include/k3.inc | ||
2 | SOC_FAMILY:append = ":am64xx" | ||
3 | |||
4 | MACHINE_FEATURES += "screen touchscreen" | ||
5 | |||
6 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1" | ||
7 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
8 | |||
9 | KERNEL_DEVICETREE = " \ | ||
10 | ti/k3-am642-evm.dtb \ | ||
11 | ti/k3-am642-sk.dtb \ | ||
12 | ti/k3-am642-evm-icssg1-dualemac.dtbo \ | ||
13 | ti/k3-am642-evm-nand.dtbo \ | ||
14 | " | ||
15 | |||
16 | # AM64 supports multi-certificate images, use the same | ||
17 | IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}" | ||
18 | |||
19 | do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | ||
20 | do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" | ||
21 | |||
22 | TFA_BOARD = "lite" | ||
23 | OPTEEMACHINE = "k3-am65x" | ||
24 | OPTEEOUTPUTMACHINE = "k3" | ||
diff --git a/meta-ti-bsp/conf/machine/include/am65xx.inc b/meta-ti-bsp/conf/machine/include/am65xx.inc new file mode 100644 index 00000000..111ef96f --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/am65xx.inc | |||
@@ -0,0 +1,32 @@ | |||
1 | require conf/machine/include/k3.inc | ||
2 | SOC_FAMILY:append = ":am65xx" | ||
3 | |||
4 | MACHINE_FEATURES += "screen touchscreen gpu" | ||
5 | |||
6 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1" | ||
7 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
8 | |||
9 | KERNEL_DEVICETREE = " \ | ||
10 | ti/k3-am654-base-board.dtb \ | ||
11 | ti/k3-am654-base-board-sr1.dtbo \ | ||
12 | ti/k3-am654-gp.dtbo \ | ||
13 | ti/k3-am654-idk.dtbo \ | ||
14 | ti/k3-am654-idk-sr1.dtbo \ | ||
15 | ti/k3-am654-sr1.dtbo \ | ||
16 | ti/k3-am654-pcie-usb2.dtbo \ | ||
17 | ti/k3-am654-pcie-usb3.dtbo \ | ||
18 | ti/k3-am654-evm-tc358876.dtbo \ | ||
19 | ti/k3-am654-evm-oldi-lcd1evm.dtbo \ | ||
20 | ti/k3-am654-evm-ov5640.dtbo \ | ||
21 | " | ||
22 | |||
23 | BBMULTICONFIG += "k3r5-sr2" | ||
24 | |||
25 | # Use default IMAGE_BOOT_FILES_LEGACY files | ||
26 | # Since default sysfw.itb on AM65x is for SR2.0, add a version for SR1.0 | ||
27 | IMAGE_BOOT_FILES += "sysfw-am65x-evm.itb" | ||
28 | do_image_wic[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" | ||
29 | do_image_tar[mcdepends] += "mc::k3r5-sr2:ti-sci-fw:do_deploy" | ||
30 | |||
31 | OPTEEMACHINE = "k3-am65x" | ||
32 | OPTEEOUTPUTMACHINE = "k3" | ||
diff --git a/meta-ti-bsp/conf/machine/include/dra7xx.inc b/meta-ti-bsp/conf/machine/include/dra7xx.inc new file mode 100644 index 00000000..a02421d9 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/dra7xx.inc | |||
@@ -0,0 +1,4 @@ | |||
1 | require conf/machine/include/omap-a15.inc | ||
2 | SOC_FAMILY:append = ":dra7xx" | ||
3 | |||
4 | MACHINE_FEATURES += "pci" | ||
diff --git a/meta-ti-bsp/conf/machine/include/j7.inc b/meta-ti-bsp/conf/machine/include/j7.inc new file mode 100644 index 00000000..4ea3a5d8 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/j7.inc | |||
@@ -0,0 +1,7 @@ | |||
1 | require conf/machine/include/k3.inc | ||
2 | SOC_FAMILY:append = ":j7" | ||
3 | |||
4 | OPTEEMACHINE = "k3-j721e" | ||
5 | OPTEEOUTPUTMACHINE = "k3" | ||
6 | |||
7 | # Use default IMAGE_BOOT_FILES_LEGACY files | ||
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc new file mode 100644 index 00000000..a39ddd2a --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -0,0 +1,55 @@ | |||
1 | # TI K3 Aarch64 profile for Cortex-A53/A72 cores | ||
2 | |||
3 | require conf/machine/include/ti-soc.inc | ||
4 | SOC_FAMILY:append = ":k3" | ||
5 | |||
6 | require conf/machine/include/arm/arch-arm64.inc | ||
7 | |||
8 | BBMULTICONFIG += "k3r5" | ||
9 | |||
10 | # Increase this everytime you change something in the kernel | ||
11 | MACHINE_KERNEL_PR = "r0" | ||
12 | |||
13 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging" | ||
14 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" | ||
15 | PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" | ||
16 | |||
17 | KERNEL_IMAGETYPE = "Image" | ||
18 | KERNEL_IMAGETYPES = "Image vmlinux.gz" | ||
19 | |||
20 | UBOOT_ARCH = "arm" | ||
21 | UBOOT_ENTRYPOINT = "0x80008000" | ||
22 | UBOOT_LOADADDRESS = "0x80008000" | ||
23 | |||
24 | SPL_BINARY = "tispl.bin" | ||
25 | UBOOT_SUFFIX = "img" | ||
26 | |||
27 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | ||
28 | |||
29 | TFA_PLATFORM = "k3" | ||
30 | TFA_BOARD = "generic" | ||
31 | |||
32 | MACHINE_GUI_CLASS = "smallscreen" | ||
33 | |||
34 | # Use the expected value of the ubifs filesystem's volume name in the kernel | ||
35 | # and u-boot. | ||
36 | UBI_VOLNAME = "rootfs" | ||
37 | |||
38 | # List common SoC features, may need to add touchscreen for specific machines | ||
39 | MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 alsa ethernet pci" | ||
40 | |||
41 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | ||
42 | |||
43 | IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysfw.itb" | ||
44 | IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin" | ||
45 | |||
46 | IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}" | ||
47 | IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}" | ||
48 | |||
49 | EFI_PROVIDER ?= "grub-efi" | ||
50 | MACHINE_FEATURES += "efi" | ||
51 | |||
52 | WKS_FILE ?= "sdimage-2part-efi.wks" | ||
53 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | ||
54 | do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy" | ||
55 | do_image_tar[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy" | ||
diff --git a/meta-ti-bsp/conf/machine/include/k3r5.inc b/meta-ti-bsp/conf/machine/include/k3r5.inc new file mode 100644 index 00000000..3cc79061 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/k3r5.inc | |||
@@ -0,0 +1,24 @@ | |||
1 | # TI K3 Armv7 profile for Cortex-R5F cores | ||
2 | |||
3 | require conf/machine/include/ti-soc.inc | ||
4 | SOC_FAMILY:append = ":k3r5" | ||
5 | |||
6 | # The closest of existing tunes for Cortex-R5F | ||
7 | DEFAULTTUNE = "armv7athf" | ||
8 | require conf/machine/include/arm/armv7a/tune-cortexa8.inc | ||
9 | |||
10 | # R5 runs early bootloader and loads SYSFW | ||
11 | # https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/am65x/README | ||
12 | # https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/board/ti/j721e/README | ||
13 | PREFERRED_PROVIDER_virtual/kernel = "linux-dummy" | ||
14 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging" | ||
15 | PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging" | ||
16 | |||
17 | SPL_BINARY = "" | ||
18 | UBOOT_SUFFIX = "bin" | ||
19 | UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}" | ||
20 | UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" | ||
21 | UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}" | ||
22 | |||
23 | PACKAGECONFIG:pn-u-boot-ti-staging = "" | ||
24 | PACKAGECONFIG:pn-u-boot-ti-mainline = "" | ||
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" | ||
diff --git a/meta-ti-bsp/conf/machine/include/omapl1.inc b/meta-ti-bsp/conf/machine/include/omapl1.inc new file mode 100644 index 00000000..d0262c3f --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/omapl1.inc | |||
@@ -0,0 +1,2 @@ | |||
1 | require conf/machine/include/ti-soc.inc | ||
2 | SOC_FAMILY:append = ":omapl1" | ||
diff --git a/meta-ti-bsp/conf/machine/include/omapl138.inc b/meta-ti-bsp/conf/machine/include/omapl138.inc new file mode 100644 index 00000000..c6eb0cd9 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/omapl138.inc | |||
@@ -0,0 +1,2 @@ | |||
1 | require conf/machine/include/omapl1.inc | ||
2 | SOC_FAMILY:append = ":omapl138" | ||
diff --git a/meta-ti-bsp/conf/machine/include/ti-soc.inc b/meta-ti-bsp/conf/machine/include/ti-soc.inc new file mode 100644 index 00000000..2792d2a0 --- /dev/null +++ b/meta-ti-bsp/conf/machine/include/ti-soc.inc | |||
@@ -0,0 +1,5 @@ | |||
1 | # This is a generic TI SOC family. It is a superset of all other SOCs | ||
2 | # and platforms defined in meta-ti to allow BSP-level overrides. | ||
3 | SOC_FAMILY = "ti-soc" | ||
4 | KERNEL_DTB_OVERLAY_SUPPORT ?= "1" | ||
5 | require conf/machine/include/soc-family.inc | ||
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" | ||
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" | ||