Initial support for J7 (J721e SoC) platform
cover Initial support for J7 (J721e SoC) platform
Add initial J7 (J721e SoC) platform support.
For more details regarding the SoC, please see the first patch in the series, that adds OE machine configuration.
Denys Dmytriyenko (4):
j7-evm: add config for J7 (J721e) machine
arm-trusted-firmware: update to the latest with support for J7
u-boot-ti-staging: update to the latest with support for J7
linux-ti-staging: update to the latest with support for J7
conf/machine/j7-evm.conf | 28 +++++++++++++++++++ .../arm-trusted-firmware_2.0.bb | 4 +-- .../u-boot/u-boot-ti-staging_2019.01.bb | 6 ++-- .../linux/linux-ti-staging-rt_4.19.bb | 2 +- recipes-kernel/linux/linux-ti-staging_4.19.bb | 4 +-- 5 files changed, 36 insertions(+), 8 deletions(-) create mode 100644 conf/machine/j7-evm.conf
Signature · 1 line
2.17.1
PATCH 1/4 j7-evm: add config for J7 (J721e) machine
The J721E SoC belongs to the K3 Multicore SoC architecture platform, providing advanced system integration to enable lower system costs of automotive applications such as infotainment, cluster, premium Audio, Gateway, industrial and a range of broad market applications. This SoC is designed around reducing the system cost by eliminating the need of an external system MCU and is targeted towards ASIL-B/C certification/requirements in addition to allowing complex software and system use-cases.
Some highlights of this SoC are:
* Dual Cortex-A72s in a single cluster, three clusters of lockstep capable dual Cortex-R5F MCUs, Deep-learning Matrix Multiply Accelerator(MMA), C7x floating point Vector DSP, Two C66x floating point DSPs.
* 3D GPU PowerVR Rogue 8XE GE8430
* Vision Processing Accelerator (VPAC) with image signal processor and Depth and Motion Processing Accelerator (DMPAC)
* Two Gigabit Industrial Communication Subsystems (ICSSG), each with dual PRUs and dual RTUs
* Two CSI2.0 4L RX plus one CSI2.0 4L TX, one eDP/DP, One DSI Tx, and up to two DPI interfaces.
* Integrated Ethernet switch supporting up to a total of 8 external ports in addition to legacy Ethernet switch of up to 2 ports.
* System MMU (SMMU) Version 3.0 and advanced virtualisation capabilities.
* Upto 4 PCIe-GEN3 controllers, 2 USB3.0 Dual-role device subsystems, 16 MCANs, 12 McASP, eMMC and SD, UFS, OSPI/HyperBus memory controller, QSPI, I3C and I2C, eCAP/eQEP, eHRPWM, MLB among other peripherals.
* Two hardware accelerator block containing AES/DES/SHA/MD5 called SA2UL management.
* Configurable L3 Cache and IO-coherent architecture with high data throughput capable distributed DMA architecture under NAVSS
* Centralized System Controller for Security, Power, and Resource Management (DMSC)
See J721E Technical Reference Manual (SPRUIL1, May 2019) for further details: http://www.ti.com/lit/pdf/spruil1
--- conf/machine/j7-evm.conf | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 conf/machine/j7-evm.conf
conf/machine/j7-evm.conf new file +28 -0
@@ -0,0 +1,28 @@ +#@TYPE: Machine +#@NAME: J7 EVM +#@DESCRIPTION: Machine configuration for the TI J7 EVM + +require conf/machine/include/k3.inc + +IMAGE_FSTYPES += "tar.xz wic.xz" + +SERIAL_CONSOLES = "115200;ttyS2" +SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" + +KERNEL_DEVICETREE = " \ + ti/k3-j721e-common-proc-board.dtb \ +" + +UBOOT_MACHINE = "j721e_evm_a72_config" + +OPTEEMACHINE = "k3" +OPTEEFLAVOR = "j7" +OPTEEOUTPUTMACHINE = "k3" + +# Please note that booting J7 platform also requires +# tiboot3.bin and sysfw.itb, which are provided by meta-arago +# u-boot-k3-r5 and ti-sci-fw recipes +IMAGE_BOOT_FILES = "tispl.bin u-boot.img" +WKS_FILE = "sdimage-bootpart.wks" + +do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot u-boot:do_deploy"
Signature · 1 line
2.17.1
PATCH 2/4 arm-trusted-firmware: update to the latest with support for J7
In reply to Denys DmytriyenkoLicense checksum changed due to minor formatting.
--- recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.0.bb +2 -2
@@ -7,7 +7,7 @@ Power State Coordination Interface (PSCI), Trusted Board Boot Requirements \ HOMEPAGE = "http://infocenter.arm.com/help/topic/com.arm.doc.dui0928e/CJHIDGJF.html" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://license.rst;md5=c709b197e22b81ede21109dbffd5f363" +LIC_FILES_CHKSUM = "file://license.rst;md5=90153916317c204fade8b8df15739cde" inherit deploy
@@ -22,7 +22,7 @@ PV_append = "+git${SRCPV}" BRANCH = "ti-atf" SRC_URI = "git://git.ti.com/atf/arm-trusted-firmware.git;branch=${BRANCH}" -SRCREV ?= "ee0d515f0577d96ca32278e7cccb6fd768d1b83d" +SRCREV ?= "b81d5871adaa7a35dc33f7450b9dd19183ef9590" # Make ATF "aware" of OPTEE, no build dependency PACKAGECONFIG[optee] = "SPD=opteed"
Signature · 1 line
2.17.1
PATCH 3/4 u-boot-ti-staging: update to the latest with support for J7
In reply to Denys DmytriyenkoAlso switch back to ti-u-boot-2019.01 branch.
--- recipes-bsp/u-boot/u-boot-ti-staging_2019.01.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-bsp/u-boot/u-boot-ti-staging_2019.01.bb +3 -3
@@ -1,7 +1,7 @@ require u-boot-ti.inc -PR = "r13" +PR = "r14" -BRANCH = "ti-2019.01" +BRANCH = "ti-u-boot-2019.01" -SRCREV = "2654d29fd037730ebb154e9eda257acd7175b46b" +SRCREV = "2ab6780838fb878df17d4cf79155320cd1fad9c7"
Signature · 1 line
2.17.1
PATCH 4/4 linux-ti-staging: update to the latest with support for J7
In reply to Denys Dmytriyenko--- recipes-kernel/linux/linux-ti-staging-rt_4.19.bb | 2 +- recipes-kernel/linux/linux-ti-staging_4.19.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
recipes-kernel/linux/linux-ti-staging-rt_4.19.bb +1 -1
@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.19:" BRANCH = "ti-rt-linux-4.19.y" -SRCREV = "b8935c3f161b90a15cec065066d710b216ae5c97" +SRCREV = "1aeb09dbca76a837ae2b721c6dd466aaa3b5f646" PV = "4.19.38+git${SRCPV}"
recipes-kernel/linux/linux-ti-staging_4.19.bb +2 -2
@@ -56,11 +56,11 @@ S = "${WORKDIR}/git" BRANCH = "ti-linux-4.19.y" -SRCREV = "c17c3766610f07dc0549e51694b4149b92f3ce97" +SRCREV = "653ff68fd1cb56a2ce629d8f07f5b3a099485229" PV = "4.19.38+git${SRCPV}" # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild -MACHINE_KERNEL_PR_append = "a" +MACHINE_KERNEL_PR_append = "b" PR = "${MACHINE_KERNEL_PR}" KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
Signature · 1 line
2.17.1