summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/machine/include/e6500-64b.inc11
-rw-r--r--conf/machine/ls1012afrdm-32b.conf2
-rw-r--r--conf/machine/ls1012afrdm.conf2
-rw-r--r--conf/machine/ls1012ardb-32b.conf2
-rw-r--r--conf/machine/ls1012ardb.conf2
-rw-r--r--conf/machine/ls1088ardb.conf2
-rw-r--r--conf/machine/ls2088ardb.conf2
-rw-r--r--conf/machine/p5040ds-64b.conf28
-rw-r--r--conf/machine/t1024rdb-64b.conf29
-rw-r--r--conf/machine/t2080rdb-64b.conf29
-rw-r--r--conf/machine/t4240rdb-64b.conf24
-rw-r--r--recipes-bsp/ls2-phy/ls2-phy_git.bb2
-rw-r--r--recipes-security/optee/optee-os-qoriq_git.bb3
13 files changed, 130 insertions, 8 deletions
diff --git a/conf/machine/include/e6500-64b.inc b/conf/machine/include/e6500-64b.inc
new file mode 100644
index 00000000..e0e04dbc
--- /dev/null
+++ b/conf/machine/include/e6500-64b.inc
@@ -0,0 +1,11 @@
1TARGET_FPU = "hard"
2DEFAULTTUNE ?= "ppc64e6500"
3
4require conf/machine/include/tune-ppce6500.inc
5require conf/machine/include/qoriq-ppc.inc
6
7MACHINEOVERRIDES =. "e6500-64b:"
8
9require conf/multilib.conf
10MULTILIBS ?= "multilib:lib32"
11DEFAULTTUNE_virtclass-multilib-lib32 ?= "ppce6500"
diff --git a/conf/machine/ls1012afrdm-32b.conf b/conf/machine/ls1012afrdm-32b.conf
index 853260c5..e74cdff9 100644
--- a/conf/machine/ls1012afrdm-32b.conf
+++ b/conf/machine/ls1012afrdm-32b.conf
@@ -25,7 +25,7 @@ KERNEL_IMAGETYPE = "zImage"
25KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-frdm.dtb" 25KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-frdm.dtb"
26KERNEL_DEFCONFIG ?= "multi_v7_defconfig" 26KERNEL_DEFCONFIG ?= "multi_v7_defconfig"
27 27
28EXTRA_IMAGEDEPENDS += "ppa rcw-bin" 28EXTRA_IMAGEDEPENDS += "ppa rcw"
29USE_VT = "0" 29USE_VT = "0"
30 30
31require conf/multilib.conf 31require conf/multilib.conf
diff --git a/conf/machine/ls1012afrdm.conf b/conf/machine/ls1012afrdm.conf
index 355105ea..0a203f8e 100644
--- a/conf/machine/ls1012afrdm.conf
+++ b/conf/machine/ls1012afrdm.conf
@@ -22,5 +22,5 @@ UBOOT_CONFIG[qspi] = "ls1012afrdm_qspi_defconfig,,u-boot-dtb.bin"
22KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-frdm.dtb" 22KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-frdm.dtb"
23KERNEL_DEFCONFIG ?= "defconfig" 23KERNEL_DEFCONFIG ?= "defconfig"
24 24
25EXTRA_IMAGEDEPENDS += "ppa ppfe-firmware rcw-bin" 25EXTRA_IMAGEDEPENDS += "ppa ppfe-firmware rcw"
26USE_VT = "0" 26USE_VT = "0"
diff --git a/conf/machine/ls1012ardb-32b.conf b/conf/machine/ls1012ardb-32b.conf
index 64fa50fd..392b432d 100644
--- a/conf/machine/ls1012ardb-32b.conf
+++ b/conf/machine/ls1012ardb-32b.conf
@@ -26,7 +26,7 @@ KERNEL_IMAGETYPE = "zImage"
26KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb" 26KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb"
27KERNEL_DEFCONFIG ?= "multi_v7_defconfig" 27KERNEL_DEFCONFIG ?= "multi_v7_defconfig"
28 28
29EXTRA_IMAGEDEPENDS += "ppa rcw-bin" 29EXTRA_IMAGEDEPENDS += "ppa rcw"
30USE_VT = "0" 30USE_VT = "0"
31 31
32require conf/multilib.conf 32require conf/multilib.conf
diff --git a/conf/machine/ls1012ardb.conf b/conf/machine/ls1012ardb.conf
index ad3e30fb..249a151b 100644
--- a/conf/machine/ls1012ardb.conf
+++ b/conf/machine/ls1012ardb.conf
@@ -23,5 +23,5 @@ UBOOT_CONFIG[qspi-secure-boot] = "ls1012ardb_qspi_SECURE_BOOT_defconfig,,u-boot-
23KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb" 23KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb"
24KERNEL_DEFCONFIG ?= "defconfig" 24KERNEL_DEFCONFIG ?= "defconfig"
25 25
26EXTRA_IMAGEDEPENDS += "ppa ppa-optee ppfe-firmware rcw-bin" 26EXTRA_IMAGEDEPENDS += "ppa ppa-optee ppfe-firmware rcw"
27USE_VT = "0" 27USE_VT = "0"
diff --git a/conf/machine/ls1088ardb.conf b/conf/machine/ls1088ardb.conf
index 325bcc49..3cb8784d 100644
--- a/conf/machine/ls1088ardb.conf
+++ b/conf/machine/ls1088ardb.conf
@@ -26,5 +26,5 @@ KERNEL_DEFCONFIG ?= "defconfig"
26SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0" 26SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
27SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" 27SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
28 28
29EXTRA_IMAGEDEPENDS += "mc-utils rcw-bin management-complex ppa" 29EXTRA_IMAGEDEPENDS += "mc-utils rcw management-complex ppa"
30USE_VT = "0" 30USE_VT = "0"
diff --git a/conf/machine/ls2088ardb.conf b/conf/machine/ls2088ardb.conf
index 39a87aa9..a23f762c 100644
--- a/conf/machine/ls2088ardb.conf
+++ b/conf/machine/ls2088ardb.conf
@@ -27,5 +27,5 @@ KERNEL_DEFCONFIG ?= "defconfig"
27SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0" 27SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
28SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" 28SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
29 29
30EXTRA_IMAGEDEPENDS += "mc-utils ls2-phy rcw-bin management-complex ppa uefi" 30EXTRA_IMAGEDEPENDS += "mc-utils ls2-phy rcw management-complex ppa uefi"
31USE_VT = "0" 31USE_VT = "0"
diff --git a/conf/machine/p5040ds-64b.conf b/conf/machine/p5040ds-64b.conf
new file mode 100644
index 00000000..161eb5e9
--- /dev/null
+++ b/conf/machine/p5040ds-64b.conf
@@ -0,0 +1,28 @@
1#@TYPE: Machine
2#@NAME: NXP P5040DS-64B
3#@SOC: p5040
4#@DESCRIPTION: Machine configuration for Freescale QorIQ P5040 Development
5# System with ppce5500 core in 64b mode
6#@MAINTAINER: Chunrong Guo <chunrong.guo@nxp.com>
7
8require conf/machine/include/e5500-64b.inc
9
10MACHINEOVERRIDES =. "p5040:"
11
12UBOOT_CONFIG ??= "nand secure-boot sdcard spi nor"
13UBOOT_CONFIG[nor] = "P5040DS_config"
14UBOOT_CONFIG[nand] = "P5040DS_NAND_config,,u-boot.pbl"
15UBOOT_CONFIG[secure-boot] = "P5040DS_SECURE_BOOT_config"
16UBOOT_CONFIG[sdcard] = "P5040DS_SDCARD_config,,u-boot.pbl"
17UBOOT_CONFIG[spi] = "P5040DS_SPIFLASH_config,,u-boot.pbl"
18
19HV_CFG_M = "p5040ds"
20
21KERNEL_DEVICETREE ?= "p5040ds.dtb"
22KERNEL_DEFCONFIG ?= "corenet64_smp_defconfig"
23
24JFFS2_ERASEBLOCK = "0x10000"
25
26EXTRA_IMAGEDEPENDS += "fm-ucode rcw"
27
28USE_VT ?= "0"
diff --git a/conf/machine/t1024rdb-64b.conf b/conf/machine/t1024rdb-64b.conf
new file mode 100644
index 00000000..490c8491
--- /dev/null
+++ b/conf/machine/t1024rdb-64b.conf
@@ -0,0 +1,29 @@
1#@TYPE: Machine
2#@NAME: NXP T1024RDB
3#@SOC: t1024
4#@DESCRIPTION: Machine configuration for Freescale QorIQ T1024 Reference
5# Design Board with ppce5500 core in 64b mode
6#@MAINTAINER: Chunrong Guo <chunrong.guo@nxp.com>
7
8require conf/machine/include/e5500-64b.inc
9
10MACHINEOVERRIDES =. "t1:t1024:"
11
12UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor"
13UBOOT_CONFIG[nor] = "T1024RDB_config"
14UBOOT_CONFIG[nand] = "T1024RDB_NAND_config,,u-boot-with-spl-pbl.bin"
15UBOOT_CONFIG[sdcard] = "T1024RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
16UBOOT_CONFIG[spi] = "T1024RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
17UBOOT_CONFIG[secure-boot] = "T1024RDB_SECURE_BOOT_config"
18
19HV_CFG_M = "t1024rdb"
20
21KERNEL_DEVICETREE ?= "t1024rdb.dtb"
22KERNEL_DEFCONFIG ?= "corenet64_smp_defconfig"
23
24JFFS2_ERASEBLOCK = "0x10000"
25QE_UCODE ?= "iram_Type_A_T1024_r1.0.bin"
26
27EXTRA_IMAGEDEPENDS += "fm-ucode rcw qe-ucode"
28
29USE_VT ?= "0"
diff --git a/conf/machine/t2080rdb-64b.conf b/conf/machine/t2080rdb-64b.conf
new file mode 100644
index 00000000..b9534af3
--- /dev/null
+++ b/conf/machine/t2080rdb-64b.conf
@@ -0,0 +1,29 @@
1#@TYPE: Machine
2#@NAME: NXP T2080RDB
3#@SOC: t2080
4#@DESCRIPTION: Machine configuration for Freescale QorIQ T2080 Reference
5# Design Board with ppce6500 core in 64b mode
6#@MAINTAINER: Chunrong Guo <chunrong.guo@nxp.com>
7
8require conf/machine/include/e6500-64b.inc
9
10MACHINEOVERRIDES =. "t2:t2080:"
11
12UBOOT_CONFIG ??= "sdcard spi nand srio-pcie-boot secure-boot nor"
13UBOOT_CONFIG[nor] = "T2080RDB_config"
14UBOOT_CONFIG[sdcard] = "T2080RDB_SDCARD_config,,u-boot-with-spl-pbl.bin"
15UBOOT_CONFIG[spi] = "T2080RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin"
16UBOOT_CONFIG[nand] = "T2080RDB_NAND_config,,u-boot-with-spl-pbl.bin"
17UBOOT_CONFIG[srio-pcie-boot] = "T2080RDB_SRIO_PCIE_BOOT_config"
18UBOOT_CONFIG[secure-boot] = "T2080RDB_SECURE_BOOT_config"
19
20HV_CFG_M = "t2080rdb"
21
22KERNEL_DEVICETREE ?= "t2080rdb.dtb"
23KERNEL_DEFCONFIG ?= "corenet64_smp_defconfig"
24
25JFFS2_ERASEBLOCK = "0x10000"
26
27EXTRA_IMAGEDEPENDS += "fm-ucode rcw"
28
29USE_VT ?= "0"
diff --git a/conf/machine/t4240rdb-64b.conf b/conf/machine/t4240rdb-64b.conf
new file mode 100644
index 00000000..c0f466b3
--- /dev/null
+++ b/conf/machine/t4240rdb-64b.conf
@@ -0,0 +1,24 @@
1#@TYPE: Machine
2#@NAME: NXP T4240RDB
3#@SOC: t4240
4#@DESCRIPTION: Machine configuration for Freescale QorIQ T4240 Reference
5# Design Board with ppce6500 core in 64b mode
6#@MAINTAINER: Chunrong Guo <chunrong.guo@nxp.com>
7
8require conf/machine/include/e6500-64b.inc
9
10MACHINEOVERRIDES =. "t4:t4240:"
11
12UBOOT_CONFIG ??= "nor"
13UBOOT_CONFIG[nor] = "T4240RDB_config"
14
15HV_CFG_M = "t4240rdb"
16
17KERNEL_DEVICETREE ?= "t4240rdb.dtb"
18KERNEL_DEFCONFIG ?= "corenet64_smp_defconfig"
19
20JFFS2_ERASEBLOCK = "0x10000"
21
22EXTRA_IMAGEDEPENDS += "fm-ucode rcw"
23
24USE_VT ?= "0"
diff --git a/recipes-bsp/ls2-phy/ls2-phy_git.bb b/recipes-bsp/ls2-phy/ls2-phy_git.bb
index c798e883..61ca9b89 100644
--- a/recipes-bsp/ls2-phy/ls2-phy_git.bb
+++ b/recipes-bsp/ls2-phy/ls2-phy_git.bb
@@ -23,6 +23,6 @@ addtask deploy before do_build after do_install
23PACKAGES += "${PN}-image" 23PACKAGES += "${PN}-image"
24FILES_${PN}-image += "/boot" 24FILES_${PN}-image += "/boot"
25 25
26COMPATIBLE_MACHINE = "(ls2080ardb|ls2088ardb)" 26COMPATIBLE_MACHINE = "(ls2080ardb|ls2088ardb|t2080|t4240)"
27PACKAGE_ARCH = "${MACHINE_ARCH}" 27PACKAGE_ARCH = "${MACHINE_ARCH}"
28 28
diff --git a/recipes-security/optee/optee-os-qoriq_git.bb b/recipes-security/optee/optee-os-qoriq_git.bb
index fba81fb0..92c3d289 100644
--- a/recipes-security/optee/optee-os-qoriq_git.bb
+++ b/recipes-security/optee/optee-os-qoriq_git.bb
@@ -38,7 +38,8 @@ do_install() {
38 #install core on boot directory 38 #install core on boot directory
39 install -d ${D}/lib/firmware/ 39 install -d ${D}/lib/firmware/
40 40
41 install -m 644 ${B}/out/arm-plat-ls/core/tee.elf ${D}/lib/firmware/tee_${MACHINE}.bin 41 ${OBJCOPY} -v -O binary ${B}/out/arm-plat-ls/core/tee.elf ${B}/out/arm-plat-ls/core/tee.bin
42 install -m 644 ${B}/out/arm-plat-ls/core/tee.bin ${D}/lib/firmware/tee_${MACHINE}.bin
42 #install TA devkit 43 #install TA devkit
43 install -d ${D}/usr/include/optee/export-user_ta/ 44 install -d ${D}/usr/include/optee/export-user_ta/
44 45