optee-os: update upstream recipe with local patches and support for TI platforms
PATCH 2/2 k2-initramfs: update to 0.0.6 with new serdes FW images
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
License changed due to year update
Signed-off-by Denys Dmytriyenko <[email protected]>
--- meta-arago-distro/recipes-bsp/k2-initramfs/k2-initramfs_git.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta-arago-distro/recipes-bsp/k2-initramfs/k2-initramfs_git.bb +4 -4
@@ -1,9 +1,9 @@ DESCRIPTION = "Prebuilt Keystone2 initramfs with SerDes, QMSS and NETCP PA firmware" LICENSE = "TI-TFL" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3a86335d32864b0bef996bee26cc0f2c" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c5e02be633f1499c109d1652514d85ec" -PV = "0.0.5" +PV = "0.0.6" PR = "r0" CLEANBROKEN = "1"
@@ -14,8 +14,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" SRC_URI = "http://arago-project.org/files/releases/k2-fw/${P}.tar.gz" -SRC_URI[md5sum] = "7c1ffa2ef565532aee07c28ea56b748f" -SRC_URI[sha256sum] = "7816722c319fd83f5538649003158616481ded5f6a8361f66d38f738f93c0022" +SRC_URI[md5sum] = "1a4052bdb659de4180c7e71271fe0451" +SRC_URI[sha256sum] = "0af426ec1bdbf59f9ad4a84d6df123300f0d921feb74d4f1de701b9a0fa1ca76" S = "${WORKDIR}" TARGET = "k2-fw-initrd.cpio.gz"
Signature · 1 line
2.7.4
PATCH 1/2 optee-os: update upstream recipe with local patches and support for TI platforms
From: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
--- ...001-plat-ti-Fixed-issues-with-MMU-mapping.patch | 41 ++++ ...nitor-update-to-support-platform-services.patch | 232 +++++++++++++++++++++ ...e-load-address-to-the-end-of-DRAM-and-inc.patch | 56 +++++ ...2-0004-plat-ti-Add-DRA72x-platform-flavor.patch | 82 ++++++++ ...05-plat-ti-Add-AM572x-EVM-platform-flavor.patch | 50 +++++ .../recipes-security/optee/optee-os_git.bbappend | 54 +++++ 6 files changed, 515 insertions(+) create mode 100644 meta-arago-distro/recipes-security/optee/optee-os/optee2-0001-plat-ti-Fixed-issues-with-MMU-mapping.patch create mode 100644 meta-arago-distro/recipes-security/optee/optee-os/optee2-0002-monitor-update-to-support-platform-services.patch create mode 100644 meta-arago-distro/recipes-security/optee/optee-os/optee2-0003-plat-ti-Move-load-address-to-the-end-of-DRAM-and-inc.patch create mode 100644 meta-arago-distro/recipes-security/optee/optee-os/optee2-0004-plat-ti-Add-DRA72x-platform-flavor.patch create mode 100644 meta-arago-distro/recipes-security/optee/optee-os/optee2-0005-plat-ti-Add-AM572x-EVM-platform-flavor.patch create mode 100644 meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
meta-arago-distro/recipes-security/optee/optee-os/optee2-0001-plat-ti-Fixed-issues-with-MMU-mapping.patch new file +41 -0
@@ -0,0 +1,41 @@ +From b5bd9af7136d8ffefc732cf5602eb7927a947f2b Mon Sep 17 00:00:00 2001 +From: Harinarayan Bhatta <[email protected]> +Date: Wed, 10 Aug 2016 11:13:53 +0530 +Subject: [PATCH 1/5] plat-ti: Fixed issues with MMU mapping + +Signed-off-by: Harinarayan Bhatta <[email protected]> +--- + core/arch/arm/plat-ti/main.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/core/arch/arm/plat-ti/main.c b/core/arch/arm/plat-ti/main.c +index fe2a1d2..0935b1c 100644 +--- a/core/arch/arm/plat-ti/main.c ++++ b/core/arch/arm/plat-ti/main.c +@@ -77,7 +77,7 @@ static vaddr_t console_base(void) + + if (cpu_mmu_enabled()) { + if (!va) +- va = phys_to_virt(CONSOLE_UART_BASE, MEM_AREA_IO_SEC); ++ va = phys_to_virt(CONSOLE_UART_BASE, MEM_AREA_IO_NSEC); + return (vaddr_t)va; + } + return CONSOLE_UART_BASE; +@@ -130,11 +130,12 @@ struct plat_nsec_ctx { + + void init_sec_mon(unsigned long nsec_entry) + { +- struct plat_nsec_ctx *plat_ctx = (struct plat_nsec_ctx *)nsec_entry; ++ struct plat_nsec_ctx *plat_ctx = (struct plat_nsec_ctx *) ++ (phys_to_virt(nsec_entry,MEM_AREA_IO_SEC)); + struct sm_nsec_ctx *nsec_ctx; + + /* Invalidate cache to fetch data from external memory */ +- cache_maintenance_l1(DCACHE_AREA_INVALIDATE, (void *)nsec_entry, ++ cache_maintenance_l1(DCACHE_AREA_INVALIDATE, (void *)plat_ctx, + sizeof(struct plat_nsec_ctx)); + + /* Initialize secure monitor */ +-- +2.9.3 +
meta-arago-distro/recipes-security/optee/optee-os/optee2-0002-monitor-update-to-support-platform-services.patch new file +232 -0
232 lines not on this page · raw message
meta-arago-distro/recipes-security/optee/optee-os/optee2-0003-plat-ti-Move-load-address-to-the-end-of-DRAM-and-inc.patch new file +56 -0
56 lines not on this page · raw message
meta-arago-distro/recipes-security/optee/optee-os/optee2-0004-plat-ti-Add-DRA72x-platform-flavor.patch new file +82 -0
82 lines not on this page · raw message
meta-arago-distro/recipes-security/optee/optee-os/optee2-0005-plat-ti-Add-AM572x-EVM-platform-flavor.patch new file +50 -0
50 lines not on this page · raw message
meta-arago-distro/recipes-security/optee/optee-os_git.bbappend new file +54 -0
54 lines not on this page · raw message
Signature · 1 line
2.7.4