diff options
Diffstat (limited to 'meta-ti-bsp/conf/machine')
42 files changed, 924 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/am335x-evm.conf b/meta-ti-bsp/conf/machine/am335x-evm.conf new file mode 100644 index 00000000..469c4d37 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am335x-evm.conf | |||
@@ -0,0 +1,35 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM335x EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM335x EVM | ||
4 | |||
5 | require conf/machine/include/ti33x.inc | ||
6 | |||
7 | MACHINE_GUI_CLASS = "smallscreen" | ||
8 | MACHINE_FEATURES += "touchscreen" | ||
9 | |||
10 | IMAGE_FSTYPES += "ubifs ubi" | ||
11 | |||
12 | # Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both | ||
13 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3" | ||
14 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
15 | |||
16 | # UBI information. Note that this is board and kernel specific. Changes | ||
17 | # in your kernel port may require changes in these variables. For more | ||
18 | # details about this board please see | ||
19 | # http://processors.wiki.ti.com/index.php/UBIFS_Support | ||
20 | |||
21 | # do ubiattach /dev/ubi_ctrl -m 7 -O 2048 | ||
22 | # From dmesg: | ||
23 | # UBI: smallest flash I/O unit: 2048 | ||
24 | # UBI: logical eraseblock size: 126976 bytes | ||
25 | # from ubiattach stdout: | ||
26 | # UBI device number 0, total 1988 LEBs | ||
27 | MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 9900" | ||
28 | |||
29 | # do ubiattach /dev/ubi_ctrl -m 7 -O 2048 | ||
30 | # from dmesg: | ||
31 | # UBI: smallest flash I/O unit: 2048 | ||
32 | # UBI: physical eraseblock size: 131072 bytes (128 KiB) | ||
33 | # UBI: sub-page size: 512 | ||
34 | # UBI: VID header offset: 2048 (aligned 2048) | ||
35 | UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512 -O 2048" | ||
diff --git a/meta-ti-bsp/conf/machine/am335x-hs-evm.conf b/meta-ti-bsp/conf/machine/am335x-hs-evm.conf new file mode 100644 index 00000000..7caa5bfd --- /dev/null +++ b/meta-ti-bsp/conf/machine/am335x-hs-evm.conf | |||
@@ -0,0 +1,18 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM335x HS EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM335x HS EVM | ||
4 | |||
5 | require conf/machine/am335x-evm.conf | ||
6 | |||
7 | UBOOT_MACHINE = "" | ||
8 | # Last config in the list is default | ||
9 | UBOOT_CONFIG ??= "uart mmc" | ||
10 | UBOOT_CONFIG[uart] = "am335x_hs_evm_uart_config" | ||
11 | UBOOT_CONFIG[mmc] = "am335x_hs_evm_config" | ||
12 | |||
13 | UBOOT_ENTRYPOINT = "0x82000000" | ||
14 | UBOOT_LOADADDRESS = "0x82000000" | ||
15 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
16 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
17 | |||
18 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am3x" | ||
diff --git a/meta-ti-bsp/conf/machine/am437x-evm.conf b/meta-ti-bsp/conf/machine/am437x-evm.conf new file mode 100644 index 00000000..4e3681d5 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am437x-evm.conf | |||
@@ -0,0 +1,33 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM437x EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM437x EVM | ||
4 | |||
5 | require conf/machine/include/ti43x.inc | ||
6 | |||
7 | MACHINE_GUI_CLASS = "smallscreen" | ||
8 | MACHINE_FEATURES += "touchscreen" | ||
9 | |||
10 | IMAGE_FSTYPES += "ubifs ubi" | ||
11 | |||
12 | SERIAL_CONSOLES = "115200;ttyS0" | ||
13 | |||
14 | # UBI information. Note that this is board and kernel specific. Changes | ||
15 | # in your kernel port may require changes in these variables. For more | ||
16 | # details about this board please see | ||
17 | # http://processors.wiki.ti.com/index.php/UBIFS_Support | ||
18 | |||
19 | # do ubiattach /dev/ubi_ctrl -m 11 -O 4096 | ||
20 | # From dmesg: | ||
21 | # UBI: smallest flash I/O unit: 4096 | ||
22 | # UBI: logical eraseblock size: 253952 bytes | ||
23 | # from ubiattach stdout: | ||
24 | # UBI device number 0, total 994 LEBs | ||
25 | MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 4800" | ||
26 | |||
27 | # do ubiattach /dev/ubi_ctrl -m 11 -O 4096 | ||
28 | # from dmesg: | ||
29 | # UBI: smallest flash I/O unit: 4096 | ||
30 | # UBI: physical eraseblock size: 262144 bytes (256 KiB) | ||
31 | # UBI: sub-page size: 4096 | ||
32 | # UBI: VID header offset: 4096 (aligned 4096) | ||
33 | UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096" | ||
diff --git a/meta-ti-bsp/conf/machine/am437x-hs-evm.conf b/meta-ti-bsp/conf/machine/am437x-hs-evm.conf new file mode 100644 index 00000000..68b808d2 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am437x-hs-evm.conf | |||
@@ -0,0 +1,20 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM437x HS EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM437x HS EVM | ||
4 | |||
5 | require conf/machine/am437x-evm.conf | ||
6 | |||
7 | UBOOT_MACHINE = "am43xx_hs_evm_config" | ||
8 | |||
9 | UBOOT_ENTRYPOINT = "0x82000000" | ||
10 | UBOOT_LOADADDRESS = "0x82000000" | ||
11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
13 | |||
14 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am4x" | ||
15 | |||
16 | OPTEEMACHINE = "ti-am43xx" | ||
17 | OPTEEFLAVOR = "am43xx" | ||
18 | OPTEEOUTPUTMACHINE = "ti" | ||
19 | |||
20 | EXTRA_IMAGEDEPENDS += "optee-os" | ||
diff --git a/meta-ti-bsp/conf/machine/am57xx-evm.conf b/meta-ti-bsp/conf/machine/am57xx-evm.conf new file mode 100644 index 00000000..eb0082ee --- /dev/null +++ b/meta-ti-bsp/conf/machine/am57xx-evm.conf | |||
@@ -0,0 +1,53 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM57xx EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM57xx EVM | ||
4 | |||
5 | require conf/machine/include/dra7xx.inc | ||
6 | |||
7 | MACHINE_FEATURES += "touchscreen" | ||
8 | |||
9 | SERIAL_CONSOLES = "115200;ttyS2" | ||
10 | |||
11 | KERNEL_DEVICETREE = " \ | ||
12 | am57xx-beagle-x15.dtb \ | ||
13 | am57xx-beagle-x15-revb1.dtb \ | ||
14 | am57xx-beagle-x15-revc.dtb \ | ||
15 | am5729-beagleboneai.dtb \ | ||
16 | am57xx-evm.dtb \ | ||
17 | ti/am57xx-evm-common.dtbo \ | ||
18 | am57xx-evm-reva3.dtb \ | ||
19 | ti/am57xx-evm-reva3.dtbo \ | ||
20 | am571x-idk.dtb \ | ||
21 | ti/am571x-idk-touchscreen.dtbo \ | ||
22 | am572x-idk.dtb \ | ||
23 | am574x-idk.dtb \ | ||
24 | ti/am57xx-idk-osd-lcd-common.dtbo \ | ||
25 | ti/am572x-idk-touchscreen.dtbo \ | ||
26 | ti/lcd-osd101t2587.dtbo \ | ||
27 | ti/lcd-osd101t2045.dtbo \ | ||
28 | " | ||
29 | |||
30 | KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}" | ||
31 | |||
32 | UBOOT_MACHINE = "am57xx_evm_config" | ||
33 | |||
34 | # UBI information. Note that this is board and kernel specific. Changes | ||
35 | # in your kernel port may require changes in these variables. For more | ||
36 | # details about this board please see | ||
37 | # http://processors.wiki.ti.com/index.php/UBIFS_Support | ||
38 | |||
39 | # do ubiattach /dev/ubi_ctrl -m 7 -O 2048 | ||
40 | # From dmesg: | ||
41 | # UBI: smallest flash I/O unit: 2048 | ||
42 | # UBI: logical eraseblock size: 126976 bytes | ||
43 | # from ubiattach stdout: | ||
44 | # UBI device number 0, total 1988 LEBs | ||
45 | MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192" | ||
46 | |||
47 | # do ubiattach /dev/ubi_ctrl -m 7 -O 2048 | ||
48 | # from dmesg: | ||
49 | # UBI: smallest flash I/O unit: 2048 | ||
50 | # UBI: physical eraseblock size: 131072 bytes (128 KiB) | ||
51 | # UBI: sub-page size: 512 | ||
52 | # UBI: VID header offset: 2048 (aligned 2048) | ||
53 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" | ||
diff --git a/meta-ti-bsp/conf/machine/am57xx-hs-evm.conf b/meta-ti-bsp/conf/machine/am57xx-hs-evm.conf new file mode 100644 index 00000000..5232cbd9 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am57xx-hs-evm.conf | |||
@@ -0,0 +1,21 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM57xx HS EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM57xx HS EVM | ||
4 | |||
5 | require conf/machine/am57xx-evm.conf | ||
6 | |||
7 | UBOOT_MACHINE = "am57xx_hs_evm_config" | ||
8 | |||
9 | UBOOT_ENTRYPOINT = "0x82000000" | ||
10 | UBOOT_LOADADDRESS = "0x82000000" | ||
11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
13 | |||
14 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/am5x" | ||
15 | |||
16 | OPTEEMACHINE = "ti-am57xx" | ||
17 | OPTEEFLAVOR = "am57xx" | ||
18 | OPTEEOUTPUTMACHINE = "ti" | ||
19 | OPTEEPAGER = "y" | ||
20 | |||
21 | EXTRA_IMAGEDEPENDS += "optee-os" | ||
diff --git a/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf new file mode 100644 index 00000000..afd36b72 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am64xx-evm-k3r5.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM64xx EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM64xx EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "am64x" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "gp" | ||
10 | |||
11 | UBOOT_MACHINE = "am64x_evm_r5_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/am64xx-evm.conf b/meta-ti-bsp/conf/machine/am64xx-evm.conf new file mode 100644 index 00000000..c6ba2a87 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am64xx-evm.conf | |||
@@ -0,0 +1,7 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM64xx EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM64xx EVM | ||
4 | |||
5 | require conf/machine/include/am64xx.inc | ||
6 | |||
7 | UBOOT_MACHINE = "am64x_evm_a53_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5.conf new file mode 100644 index 00000000..d12c030f --- /dev/null +++ b/meta-ti-bsp/conf/machine/am64xx-hs-evm-k3r5.conf | |||
@@ -0,0 +1,14 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM64xx HS EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM64xx HS EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "am64x" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "hs" | ||
10 | SYSFW_SYMLINK = "" | ||
11 | |||
12 | UBOOT_MACHINE = "am64x_hs_evm_r5_defconfig" | ||
13 | |||
14 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | ||
diff --git a/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf b/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf new file mode 100644 index 00000000..44e81463 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am64xx-hs-evm.conf | |||
@@ -0,0 +1,22 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM64xx HS EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM64xx HS EVM | ||
4 | |||
5 | require conf/machine/include/am64xx.inc | ||
6 | |||
7 | UBOOT_MACHINE = "am64x_hs_evm_a53_defconfig" | ||
8 | |||
9 | UBOOT_ENTRYPOINT = "0x80080000" | ||
10 | UBOOT_LOADADDRESS = "0x80080000" | ||
11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
13 | UBOOT_DTB_LOADADDRESS = "0x83000000" | ||
14 | UBOOT_DTBO_LOADADDRESS = "0x83080000" | ||
15 | UBOOT_DTBO_OFFSET = "0x00010000" | ||
16 | |||
17 | SPL_BINARY = "tispl.bin_HS" | ||
18 | SPL_BINARYNAME = "tispl.bin" | ||
19 | UBOOT_BINARY = "u-boot.img_HS" | ||
20 | IMAGE_BOOT_FILES = "${UBOOT_BINARY}" | ||
21 | |||
22 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | ||
diff --git a/meta-ti-bsp/conf/machine/am65xx-evm-k3r5-sr2.conf b/meta-ti-bsp/conf/machine/am65xx-evm-k3r5-sr2.conf new file mode 100644 index 00000000..e74dd3ab --- /dev/null +++ b/meta-ti-bsp/conf/machine/am65xx-evm-k3r5-sr2.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM65xx SR2.0 EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM65xx SR2.0 EVM (R5F core) | ||
4 | |||
5 | # Booting SR2 requires different SYSFW, the rest is handled at runtime | ||
6 | |||
7 | require conf/machine/am65xx-evm-k3r5.conf | ||
8 | SOC_FAMILY:append = ":k3r5-sr2" | ||
9 | |||
10 | SYSFW_SOC = "am65x_sr2" | ||
11 | SYSFW_SYMLINK = "sysfw.itb" | ||
diff --git a/meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf new file mode 100644 index 00000000..bd17474e --- /dev/null +++ b/meta-ti-bsp/conf/machine/am65xx-evm-k3r5.conf | |||
@@ -0,0 +1,12 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM65xx EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM65xx EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "am65x" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "gp" | ||
10 | SYSFW_SYMLINK = "" | ||
11 | |||
12 | UBOOT_MACHINE = "am65x_evm_r5_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/am65xx-evm.conf b/meta-ti-bsp/conf/machine/am65xx-evm.conf new file mode 100644 index 00000000..8b6ef546 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am65xx-evm.conf | |||
@@ -0,0 +1,7 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM65xx EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM65xx EVM | ||
4 | |||
5 | require conf/machine/include/am65xx.inc | ||
6 | |||
7 | UBOOT_MACHINE = "am65x_evm_a53_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5-sr2.conf b/meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5-sr2.conf new file mode 100644 index 00000000..ff1645e4 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5-sr2.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM65xx SR2.0 HS EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM65xx SR2.0 HS EVM (R5F core) | ||
4 | |||
5 | # Booting SR2 requires different SYSFW, the rest is handled at runtime | ||
6 | |||
7 | require conf/machine/am65xx-hs-evm-k3r5.conf | ||
8 | SOC_FAMILY:append = ":k3r5-sr2" | ||
9 | |||
10 | SYSFW_SOC = "am65x_sr2" | ||
11 | SYSFW_SYMLINK = "sysfw.itb" | ||
diff --git a/meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf new file mode 100644 index 00000000..d6d4b1e3 --- /dev/null +++ b/meta-ti-bsp/conf/machine/am65xx-hs-evm-k3r5.conf | |||
@@ -0,0 +1,14 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM65xx HS EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "am65x" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "hs" | ||
10 | SYSFW_SYMLINK = "" | ||
11 | |||
12 | UBOOT_MACHINE = "am65x_hs_evm_r5_defconfig" | ||
13 | |||
14 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | ||
diff --git a/meta-ti-bsp/conf/machine/am65xx-hs-evm.conf b/meta-ti-bsp/conf/machine/am65xx-hs-evm.conf new file mode 100644 index 00000000..e4eebb6a --- /dev/null +++ b/meta-ti-bsp/conf/machine/am65xx-hs-evm.conf | |||
@@ -0,0 +1,22 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: AM65xx HS EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM | ||
4 | |||
5 | require conf/machine/include/am65xx.inc | ||
6 | |||
7 | UBOOT_MACHINE = "am65x_hs_evm_a53_defconfig" | ||
8 | |||
9 | UBOOT_ENTRYPOINT = "0x80080000" | ||
10 | UBOOT_LOADADDRESS = "0x80080000" | ||
11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
13 | UBOOT_DTB_LOADADDRESS = "0x83000000" | ||
14 | UBOOT_DTBO_LOADADDRESS = "0x83080000" | ||
15 | UBOOT_DTBO_OFFSET = "0x00010000" | ||
16 | |||
17 | SPL_BINARY = "tispl.bin_HS" | ||
18 | SPL_BINARYNAME = "tispl.bin" | ||
19 | UBOOT_BINARY = "u-boot.img_HS" | ||
20 | IMAGE_BOOT_FILES = "${UBOOT_BINARY}" | ||
21 | |||
22 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | ||
diff --git a/meta-ti-bsp/conf/machine/beagle-x15.conf b/meta-ti-bsp/conf/machine/beagle-x15.conf new file mode 100644 index 00000000..c7503266 --- /dev/null +++ b/meta-ti-bsp/conf/machine/beagle-x15.conf | |||
@@ -0,0 +1,13 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: BeagleBoard X15 | ||
3 | #@DESCRIPTION: Machine configuration for the BeagleBoard X15 | ||
4 | |||
5 | require conf/machine/include/dra7xx.inc | ||
6 | |||
7 | KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-beagle-x15-revc.dtb" | ||
8 | |||
9 | MACHINE_GUI_CLASS = "bigscreen" | ||
10 | |||
11 | SERIAL_CONSOLES = "115200;ttyS2" | ||
12 | |||
13 | UBOOT_MACHINE = "am57xx_evm_config" | ||
diff --git a/meta-ti-bsp/conf/machine/beaglebone.conf b/meta-ti-bsp/conf/machine/beaglebone.conf new file mode 100644 index 00000000..cce8fd09 --- /dev/null +++ b/meta-ti-bsp/conf/machine/beaglebone.conf | |||
@@ -0,0 +1,16 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: BeagleBone machine | ||
3 | #@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board | ||
4 | |||
5 | require conf/machine/include/ti33x.inc | ||
6 | |||
7 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblue.dtb \ | ||
8 | am335x-boneblack.dtb am335x-boneblack-wireless.dtb \ | ||
9 | am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb" | ||
10 | |||
11 | # Only has DVI connector for external screen | ||
12 | MACHINE_GUI_CLASS = "bigscreen" | ||
13 | |||
14 | SERIAL_CONSOLES = "115200;ttyS0" | ||
15 | |||
16 | IMAGE_INSTALL:append = " kernel-devicetree kernel-image-zimage" | ||
diff --git a/meta-ti-bsp/conf/machine/dra7xx-evm.conf b/meta-ti-bsp/conf/machine/dra7xx-evm.conf new file mode 100644 index 00000000..5fa1dfa5 --- /dev/null +++ b/meta-ti-bsp/conf/machine/dra7xx-evm.conf | |||
@@ -0,0 +1,48 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: DRA7xx EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI DRA7xx EVM | ||
4 | |||
5 | require conf/machine/include/dra7xx.inc | ||
6 | |||
7 | MACHINE_FEATURES += "touchscreen" | ||
8 | |||
9 | SERIAL_CONSOLES = "115200;ttyS0" | ||
10 | |||
11 | KERNEL_DEVICETREE = " \ | ||
12 | dra7-evm.dtb \ | ||
13 | ti/dra7x-evm-osd-lcd-common.dtbo \ | ||
14 | dra71-evm.dtb \ | ||
15 | dra71-evm-nand.dtb \ | ||
16 | ti/dra71-evm-lcd-auo-g101evn01.0.dtbo \ | ||
17 | dra72-evm.dtb \ | ||
18 | dra72-evm-revc.dtb \ | ||
19 | ti/dra72-evm-touchscreen.dtbo \ | ||
20 | ti/dra74-evm-touchscreen.dtbo \ | ||
21 | dra76-evm.dtb \ | ||
22 | ti/dra76-evm-tfp410.dtbo \ | ||
23 | ti/lcd-osd101t2045.dtbo \ | ||
24 | ti/lcd-osd101t2587.dtbo \ | ||
25 | " | ||
26 | |||
27 | UBOOT_MACHINE = "dra7xx_evm_config" | ||
28 | |||
29 | # UBI information. Note that this is board and kernel specific. Changes | ||
30 | # in your kernel port may require changes in these variables. For more | ||
31 | # details about this board please see | ||
32 | # http://processors.wiki.ti.com/index.php/UBIFS_Support | ||
33 | |||
34 | # do ubiattach /dev/ubi_ctrl -m 7 -O 2048 | ||
35 | # From dmesg: | ||
36 | # UBI: smallest flash I/O unit: 2048 | ||
37 | # UBI: logical eraseblock size: 126976 bytes | ||
38 | # from ubiattach stdout: | ||
39 | # UBI device number 0, total 1988 LEBs | ||
40 | MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192" | ||
41 | |||
42 | # do ubiattach /dev/ubi_ctrl -m 7 -O 2048 | ||
43 | # from dmesg: | ||
44 | # UBI: smallest flash I/O unit: 2048 | ||
45 | # UBI: physical eraseblock size: 131072 bytes (128 KiB) | ||
46 | # UBI: sub-page size: 512 | ||
47 | # UBI: VID header offset: 2048 (aligned 2048) | ||
48 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048" | ||
diff --git a/meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf b/meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf new file mode 100644 index 00000000..49630081 --- /dev/null +++ b/meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf | |||
@@ -0,0 +1,21 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: DRA7xx HS EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI DRA7xx HS EVM | ||
4 | |||
5 | require conf/machine/dra7xx-evm.conf | ||
6 | |||
7 | UBOOT_MACHINE = "dra7xx_hs_evm_config" | ||
8 | |||
9 | UBOOT_ENTRYPOINT = "0x82000000" | ||
10 | UBOOT_LOADADDRESS = "0x82000000" | ||
11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
13 | |||
14 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/dra7" | ||
15 | |||
16 | OPTEEMACHINE = "ti-dra7xx" | ||
17 | OPTEEFLAVOR = "dra7xx" | ||
18 | OPTEEOUTPUTMACHINE = "ti" | ||
19 | OPTEEPAGER = "y" | ||
20 | |||
21 | EXTRA_IMAGEDEPENDS += "optee-os" | ||
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" | ||
diff --git a/meta-ti-bsp/conf/machine/j7-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j7-evm-k3r5.conf new file mode 100644 index 00000000..b9e8cc01 --- /dev/null +++ b/meta-ti-bsp/conf/machine/j7-evm-k3r5.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: J7 EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI J7 EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "j721e" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "gp" | ||
10 | |||
11 | UBOOT_MACHINE = "j721e_evm_r5_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/j7-evm.conf b/meta-ti-bsp/conf/machine/j7-evm.conf new file mode 100644 index 00000000..267a5e14 --- /dev/null +++ b/meta-ti-bsp/conf/machine/j7-evm.conf | |||
@@ -0,0 +1,18 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: J7 EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI J7 EVM | ||
4 | |||
5 | require conf/machine/include/j7.inc | ||
6 | |||
7 | MACHINE_FEATURES += "gpu" | ||
8 | |||
9 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" | ||
10 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
11 | |||
12 | KERNEL_DEVICETREE = " \ | ||
13 | ti/k3-j721e-common-proc-board.dtb \ | ||
14 | ti/k3-j721e-common-proc-board-infotainment.dtbo \ | ||
15 | ti/k3-j721e-sk.dtb \ | ||
16 | " | ||
17 | |||
18 | UBOOT_MACHINE = "j721e_evm_a72_config" | ||
diff --git a/meta-ti-bsp/conf/machine/j7-hs-evm-k3r5-sr1-1.conf b/meta-ti-bsp/conf/machine/j7-hs-evm-k3r5-sr1-1.conf new file mode 100644 index 00000000..73f5afd6 --- /dev/null +++ b/meta-ti-bsp/conf/machine/j7-hs-evm-k3r5-sr1-1.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: J7 SR1.1 HS EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI J7 SR1.1 HS EVM (R5F core) | ||
4 | |||
5 | # Booting SR1.1 requires different SYSFW, the rest is handled at runtime | ||
6 | |||
7 | require conf/machine/j7-hs-evm-k3r5.conf | ||
8 | SOC_FAMILY:append = ":k3r5-sr1-1" | ||
9 | |||
10 | SYSFW_SOC = "j721e_sr1_1" | ||
11 | SYSFW_SYMLINK = "sysfw.itb" | ||
diff --git a/meta-ti-bsp/conf/machine/j7-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j7-hs-evm-k3r5.conf new file mode 100644 index 00000000..53a7016f --- /dev/null +++ b/meta-ti-bsp/conf/machine/j7-hs-evm-k3r5.conf | |||
@@ -0,0 +1,13 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: J7 HS EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI J7 HS EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "j721e" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "hs" | ||
10 | |||
11 | UBOOT_MACHINE = "j721e_hs_evm_r5_defconfig" | ||
12 | |||
13 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | ||
diff --git a/meta-ti-bsp/conf/machine/j7-hs-evm.conf b/meta-ti-bsp/conf/machine/j7-hs-evm.conf new file mode 100644 index 00000000..f2e3ccf5 --- /dev/null +++ b/meta-ti-bsp/conf/machine/j7-hs-evm.conf | |||
@@ -0,0 +1,30 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: J7 HS EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI J7 HS EVM | ||
4 | |||
5 | require conf/machine/j7-evm.conf | ||
6 | |||
7 | UBOOT_MACHINE = "j721e_hs_evm_a72_defconfig" | ||
8 | |||
9 | UBOOT_ENTRYPOINT = "0x80080000" | ||
10 | UBOOT_LOADADDRESS = "0x80080000" | ||
11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
13 | UBOOT_DTB_LOADADDRESS = "0x83000000" | ||
14 | UBOOT_DTBO_LOADADDRESS = "0x83080000" | ||
15 | UBOOT_DTBO_OFFSET = "0x00010000" | ||
16 | |||
17 | SPL_BINARY = "tispl.bin_HS" | ||
18 | SPL_BINARYNAME = "tispl.bin" | ||
19 | UBOOT_BINARY = "u-boot.img_HS" | ||
20 | IMAGE_BOOT_FILES = "${UBOOT_BINARY}" | ||
21 | |||
22 | BBMULTICONFIG += "k3r5-sr1-1" | ||
23 | |||
24 | # Use default IMAGE_BOOT_FILES_LEGACY files | ||
25 | # Since default sysfw.itb on J7 is for SR1.1, add a version for SR1.0 | ||
26 | IMAGE_BOOT_FILES += "sysfw-j721e-evm.itb" | ||
27 | do_image_wic[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy" | ||
28 | do_image_tar[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy" | ||
29 | |||
30 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | ||
diff --git a/meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf new file mode 100644 index 00000000..68061883 --- /dev/null +++ b/meta-ti-bsp/conf/machine/j7200-evm-k3r5.conf | |||
@@ -0,0 +1,11 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: J7200 EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI J7200 EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "j7200" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "gp" | ||
10 | |||
11 | UBOOT_MACHINE = "j7200_evm_r5_defconfig" | ||
diff --git a/meta-ti-bsp/conf/machine/j7200-evm.conf b/meta-ti-bsp/conf/machine/j7200-evm.conf new file mode 100644 index 00000000..2565c90c --- /dev/null +++ b/meta-ti-bsp/conf/machine/j7200-evm.conf | |||
@@ -0,0 +1,20 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: J7200 EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI J7200 EVM | ||
4 | |||
5 | require conf/machine/include/j7.inc | ||
6 | |||
7 | SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" | ||
8 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | ||
9 | |||
10 | KERNEL_DEVICETREE = " \ | ||
11 | ti/k3-j7200-common-proc-board.dtb \ | ||
12 | " | ||
13 | |||
14 | UBOOT_MACHINE = "j7200_evm_a72_config" | ||
15 | |||
16 | # J7200 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" | ||
diff --git a/meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf b/meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf new file mode 100644 index 00000000..488f19ec --- /dev/null +++ b/meta-ti-bsp/conf/machine/j7200-hs-evm-k3r5.conf | |||
@@ -0,0 +1,13 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: J7200 HS EVM (R5F) | ||
3 | #@DESCRIPTION: Machine configuration for the TI J7200 HS EVM (R5F core) | ||
4 | |||
5 | require conf/machine/include/k3r5.inc | ||
6 | |||
7 | SYSFW_SOC = "j7200" | ||
8 | SYSFW_CONFIG = "evm" | ||
9 | SYSFW_SUFFIX = "hs" | ||
10 | |||
11 | UBOOT_MACHINE = "j7200_hs_evm_r5_defconfig" | ||
12 | |||
13 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | ||
diff --git a/meta-ti-bsp/conf/machine/j7200-hs-evm.conf b/meta-ti-bsp/conf/machine/j7200-hs-evm.conf new file mode 100644 index 00000000..a5bd637e --- /dev/null +++ b/meta-ti-bsp/conf/machine/j7200-hs-evm.conf | |||
@@ -0,0 +1,22 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: J7200 HS EVM | ||
3 | #@DESCRIPTION: Machine configuration for the TI J7200 HS EVM | ||
4 | |||
5 | require conf/machine/j7200-evm.conf | ||
6 | |||
7 | UBOOT_MACHINE = "j7200_hs_evm_a72_defconfig" | ||
8 | |||
9 | UBOOT_ENTRYPOINT = "0x80080000" | ||
10 | UBOOT_LOADADDRESS = "0x80080000" | ||
11 | UBOOT_RD_LOADADDRESS = "0x84000000" | ||
12 | UBOOT_RD_ENTRYPOINT = "0x84000000" | ||
13 | UBOOT_DTB_LOADADDRESS = "0x83000000" | ||
14 | UBOOT_DTBO_LOADADDRESS = "0x83080000" | ||
15 | UBOOT_DTBO_OFFSET = "0x00010000" | ||
16 | |||
17 | SPL_BINARY = "tispl.bin_HS" | ||
18 | SPL_BINARYNAME = "tispl.bin" | ||
19 | UBOOT_BINARY = "u-boot.img_HS" | ||
20 | IMAGE_BOOT_FILES = "${UBOOT_BINARY}" | ||
21 | |||
22 | TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}" | ||
diff --git a/meta-ti-bsp/conf/machine/omapl138-lcdk.conf b/meta-ti-bsp/conf/machine/omapl138-lcdk.conf new file mode 100644 index 00000000..ba4d5645 --- /dev/null +++ b/meta-ti-bsp/conf/machine/omapl138-lcdk.conf | |||
@@ -0,0 +1,19 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: OMAP-L138 LCDK | ||
3 | #@DESCRIPTION: Machine configuration for the TI OMAP-L138 LCDK board | ||
4 | |||
5 | require conf/machine/include/davinci.inc | ||
6 | require conf/machine/include/omapl138.inc | ||
7 | |||
8 | UBOOT_MACHINE = "omapl138_lcdk_config" | ||
9 | UBOOT_SUFFIX = "ais" | ||
10 | SPL_BINARY = "" | ||
11 | |||
12 | UBOOT_ENTRYPOINT = "0xc0008000" | ||
13 | UBOOT_LOADADDRESS = "0xc0008000" | ||
14 | |||
15 | IMAGE_FSTYPES += "tar.xz" | ||
16 | |||
17 | SERIAL_CONSOLES = "115200;ttyS2" | ||
18 | |||
19 | KERNEL_DEVICETREE = "da850-evm.dtb da850-lcdk.dtb" | ||