Re: [dunfell][PATCH] machine: Add j721s2 evm configuration
Yogesh Siraswar
This needs to be a series with linux, u-boot, firmware and k3-image-gen recipes updated with the platform support. Unless the support is already present.
toggle quoted messageShow quoted text
On 1/24/2022 5:47 PM, Nishanth Menon wrote:
On 12:24-20220124, Denys Dmytriyenko wrote:On Mon, Jan 24, 2022 at 09:14:13AM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:Needs a commit message please.From: Nishanth Menon <nm@ti.com>See https://lore.kernel.org/all/20211223121650.26868-3-vigneshr@ti.com/Signed-off-by: Nishanth Menon <nm@ti.com>
|
|
Re: [dunfell][PATCH] machine: Add j721s2 evm configuration
On 12:24-20220124, Denys Dmytriyenko wrote:
On Mon, Jan 24, 2022 at 09:14:13AM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:Needs a commit message please.From: Nishanth Menon <nm@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> See https://lore.kernel.org/all/20211223121650.26868-3-vigneshr@ti.com/ The intent is to go with ttyS2 using aliases, however, will use main_usart8 (traditionally ttyS10). Correct, there are patches before this that needs to be included as well.+SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"+TFA_K3_USART = "0x8"Are these new variables? Where are they coming from? A single patch does'nt suffice the needs to j721s2. https://gist.github.com/nmenon/5e0d1125bb71f1575123ec9869f8693c are probably the preceding patches - they need to be reviewed to make sure this is the correct way to do things. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
|
|
Re: [dunfell][PATCH] machine: Add j721s2 evm configuration
Denys Dmytriyenko
On Mon, Jan 24, 2022 at 09:14:13AM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
From: Nishanth Menon <nm@ti.com> +TFA_K3_USART = "0x8"Are these new variables? Where are they coming from? +
|
|
[dunfell][PATCH] machine: Add j721s2 evm configuration
Ryan Eatmon
From: Nishanth Menon <nm@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- conf/machine/j721s2-evm-k3r5.conf | 11 +++++++++++ conf/machine/j721s2-evm.conf | 22 ++++++++++++++++++++++ recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 23 +++++++++++++++++++++-- recipes-bsp/u-boot/u-boot-ti.inc | 6 ++++++ 4 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 conf/machine/j721s2-evm-k3r5.conf create mode 100644 conf/machine/j721s2-evm.conf diff --git a/conf/machine/j721s2-evm-k3r5.conf b/conf/machine/j721s2-evm-k3r5.conf new file mode 100644 index 00000000..508e96e5 --- /dev/null +++ b/conf/machine/j721s2-evm-k3r5.conf @@ -0,0 +1,11 @@ +#@TYPE: Machine +#@NAME: J721S2 EVM (R5F) +#@DESCRIPTION: Machine configuration for the TI J721S2 EVM (R5F core) + +require conf/machine/include/k3r5.inc + +SYSFW_SOC = "j721s2" +SYSFW_CONFIG = "evm" +SYSFW_SUFFIX = "gp" + +UBOOT_MACHINE = "j721s2_evm_r5_defconfig" diff --git a/conf/machine/j721s2-evm.conf b/conf/machine/j721s2-evm.conf new file mode 100644 index 00000000..82fd33da --- /dev/null +++ b/conf/machine/j721s2-evm.conf @@ -0,0 +1,22 @@ +#@TYPE: Machine +#@NAME: J721S2 EVM +#@DESCRIPTION: Machine configuration for the TI J721S2 EVM + +require conf/machine/include/j7.inc + +SERIAL_CONSOLES = "115200;ttyS10" +SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" +TFA_K3_USART = "0x8" +OPTEE_K3_USART = "0x8" + +KERNEL_DEVICETREE = " \ + ti/k3-j721s2-common-proc-board.dtb \ +" + +UBOOT_MACHINE = "j721s2_evm_a72_defconfig" + +# J721S2 supports multi-certificate images, use the same +IMAGE_BOOT_FILES = "${IMAGE_BOOT_FILES_MULTI_CERT}" + +do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" +do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb index 13ae1f6b..d70d664c 100644 --- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb @@ -3,11 +3,12 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" DEPENDS_append_j7200-evm-k3r5 = " virtual/bootloader" DEPENDS_append_j7200-hs-evm-k3r5 = " virtual/bootloader" +DEPENDS_append_j721s2-evm-k3r5 = " virtual/bootloader" DEPENDS_append_am64xx-evm-k3r5 = " virtual/bootloader" DEPENDS_append_am64xx-hs-evm-k3r5 = " virtual/bootloader" CLEANBROKEN = "1" -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" # Loaded by R5F core COMPATIBLE_MACHINE = "k3r5" @@ -23,10 +24,11 @@ SYSFW_CONFIG ?= "unknown" SYSFW_PREFIX = "ti-sci-firmware" SYSFW_PREFIX_j7-evm-k3r5 = "ti-fs-firmware" -SYSFW_PREFIX_j7200-evm-k3r5 = "ti-fs-firmware" SYSFW_PREFIX_j7-hs-evm-k3r5 = "ti-fs-firmware" SYSFW_PREFIX_j7-hs-evm-k3r5-sr1-1 = "ti-fs-firmware" +SYSFW_PREFIX_j7200-evm-k3r5 = "ti-fs-firmware" SYSFW_PREFIX_j7200-hs-evm-k3r5 = "ti-fs-firmware" +SYSFW_PREFIX_j721s2-evm-k3r5 = "ti-fs-firmware" SYSFW_SUFFIX ?= "unknown" @@ -63,6 +65,7 @@ EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']} EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" EXTRA_OEMAKE_append_j7200-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" +EXTRA_OEMAKE_append_j721s2-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" EXTRA_OEMAKE_append_am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" EXTRA_OEMAKE_append_am64xx-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" @@ -127,6 +130,21 @@ do_deploy_j7200-hs-evm-k3r5() { install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ } +do_install_j721s2-evm-k3r5() { + install -d ${D}/boot + install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} +} + +do_deploy_j721s2-evm-k3r5() { + install -d ${DEPLOYDIR} + install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} + ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK} + ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} + install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ +} + do_install_am64xx-evm-k3r5() { install -d ${D}/boot install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} @@ -156,4 +174,5 @@ do_deploy_am64xx-hs-evm-k3r5() { ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ } + addtask deploy before do_build after do_compile diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc index f9cbb074..aceabe86 100644 --- a/recipes-bsp/u-boot/u-boot-ti.inc +++ b/recipes-bsp/u-boot/u-boot-ti.inc @@ -66,6 +66,7 @@ SPL_UART_BINARY_k3r5 = "" SPL_UART_BINARY_lego-ev3 = "" SPL_UART_BINARY_j7200-evm-k3r5 = "u-boot-spl.bin" SPL_UART_BINARY_j7200-hs-evm-k3r5 = "u-boot-spl.bin" +SPL_UART_BINARY_j721s2-evm-k3r5 = "u-boot-spl.bin" SPL_UART_BINARY_am64xx-evm-k3r5 = "u-boot-spl.bin" SPL_UART_BINARY_am64xx-hs-evm-k3r5 = "u-boot-spl.bin" @@ -403,6 +404,11 @@ do_deploy_append_j7200-hs-evm-k3r5 () { mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true } +do_deploy_append_j721s2-evm-k3r5 () { + mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true + mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true +} + do_deploy_append_am64xx-evm-k3r5 () { mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true -- 2.17.1
|
|
Re: [PATCH] ti-sgx-ddk-um: avoid unnecessary dependency on -dev package
Denys Dmytriyenko
On Fri, Jan 14, 2022 at 01:52:18PM +0100, Matthias Schiffer wrote:
ti-sgx-ddk-um's do_install creates a symlink libGLESv2.so.1 toMakes sense, thanks! Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> ----- Regards, Denys Dmytriyenko <denis@denix.org> PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964 Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
|
|
[PATCH] ti-sgx-ddk-um: avoid unnecessary dependency on -dev package
Matthias Schiffer
ti-sgx-ddk-um's do_install creates a symlink libGLESv2.so.1 to
libGLESv2.so. As this symlink will be installed to ti-sgx-ddk-um, but its target libGLESv2.so is in ti-sgx-ddk-um-dev, the automated dependency analysis will add ti-sgx-ddk-um-dev to ti-sgx-ddk-um's RDEPENDS. This will pull in a large number of other -dev packages through RDEPENDS and RRECOMMENDS in turn. Avoid this by having libGLESv2.so.1 point to libGLESv2.so.2 instead of libGLESv2.so, so the symlink's target is in ti-sgx-ddk-um as well. Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> --- recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb index 9d55122c..e4243a2b 100644 --- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb @@ -56,7 +56,7 @@ S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} - ln -sf libGLESv2.so ${D}${libdir}/libGLESv2.so.1 + ln -sf libGLESv2.so.2 ${D}${libdir}/libGLESv2.so.1 chown -R root:root ${D} } -- 2.25.1
|
|
Re: [dunfell PATCH] ti-sgx-ddk-km: update srcrev to pick latest
praneeth
On 1/8/2022 12:57 PM, Denys Dmytriyenko wrote:
Is this a duplicate?Its a similar patch for dunfell branch. dunfell had only *OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch instead of 2 patches on master. hence made a updated one for dunfell. On Fri, Jan 07, 2022 at 05:56:08PM -0600, praneeth@ti.com wrote:From: Praneeth Bajjuri <praneeth@ti.com>
|
|
[PATCH] ti33x: move screen feature to machine configs
Vivien Didelot
The AM335x SoC has a built-in 16bit/24bit RGB LCD controller, and
the BeagleBone Black uses an external chip to convert this to HDMI. But the SoC does not have a video output port per-se, thus the "screen" machine feature does not belong to its configuration but rather to the machine configurations. Move the feature (and the MACHINE_GUI_CLASS definition) out of ti33x.inc into am335x-evm.conf and beaglebone.conf respectively. At the same time, drop the irrelevant comments regarding the external screen, since MACHINE_GUI_CLASS is unlikely used and the BeagleBone Black has a micro HDMI port, not a DVI port. Signed-off-by: Vivien Didelot <vdidelot@pbsc.com> --- conf/machine/am335x-evm.conf | 2 +- conf/machine/beaglebone.conf | 2 +- conf/machine/include/ti33x.inc | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/conf/machine/am335x-evm.conf b/conf/machine/am335x-evm.conf index 469c4d37..09bd3934 100644 --- a/conf/machine/am335x-evm.conf +++ b/conf/machine/am335x-evm.conf @@ -5,7 +5,7 @@ require conf/machine/include/ti33x.inc MACHINE_GUI_CLASS = "smallscreen" -MACHINE_FEATURES += "touchscreen" +MACHINE_FEATURES += "screen touchscreen" IMAGE_FSTYPES += "ubifs ubi" diff --git a/conf/machine/beaglebone.conf b/conf/machine/beaglebone.conf index dcb14cc9..76cac5b9 100644 --- a/conf/machine/beaglebone.conf +++ b/conf/machine/beaglebone.conf @@ -8,8 +8,8 @@ KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblue.dtb \ am335x-boneblack.dtb am335x-boneblack-wireless.dtb \ am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb" -# Only has DVI connector for external screen MACHINE_GUI_CLASS = "bigscreen" +MACHINE_FEATURES += "screen" SERIAL_CONSOLES = "115200;ttyS0" diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc index 197cac19..c0e925f9 100644 --- a/conf/machine/include/ti33x.inc +++ b/conf/machine/include/ti33x.inc @@ -13,9 +13,6 @@ XSERVER = "xserver-xorg \ xf86-video-fbdev \ xf86-input-keyboard" -# Default to external video, change to smallscreen for built-in LCD -MACHINE_GUI_CLASS = "bigscreen" - # Increase this everytime you change something in the kernel MACHINE_KERNEL_PR = "r22" @@ -62,7 +59,7 @@ UBI_VOLNAME = "rootfs" EXTRA_IMAGEDEPENDS += "virtual/bootloader" # List common SoC features, may need to add touchscreen for specific machines -MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu" +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 alsa ethernet gpu" # Set the list of device targets for ti-pdk class recipes TI_PDK_LIMIT_SOCS = "am335x" -- 2.34.1
|
|
Re: [dunfell PATCH] ti-sgx-ddk-km: update srcrev to pick latest
Denys Dmytriyenko
Is this a duplicate?
toggle quoted messageShow quoted text
https://lists.yoctoproject.org/g/meta-ti/topic/master_patch/87869018
On Fri, Jan 07, 2022 at 05:56:08PM -0600, praneeth@ti.com wrote:
From: Praneeth Bajjuri <praneeth@ti.com> --
Regards, Denys Dmytriyenko <denis@denix.org> PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964 Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
|
|
[dunfell PATCH] ti-sgx-ddk-km: update srcrev to pick latest
praneeth
From: Praneeth Bajjuri <praneeth@ti.com>
Update the srcrev to pick the latest of ti-img-sgx/1.17.4948957/k5.10. commit eaa9fcd3acff ("km: support OpenEmbedded hardfp toolchain w/o -gnueabihf suffix") is not picked up on the sdk-ddk-km repo already, hence removing the patch from here. commit eda7780bfd52 ("Fix driver config for 5.10 kernel") fixes graphics init failures on sgx platforms Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> --- ...mbedded-hardfp-toolchain-w-o-gnueabi.patch | 34 ------------------- .../ti-sgx-ddk-km_1.17.4948957.bb | 8 ++--- 2 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch deleted file mode 100644 index 15105eac..00000000 --- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 755632b4f3a40996a12bc7816a9839af7112040a Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko <denys@ti.com> -Date: Mon, 9 Sep 2019 17:05:48 -0400 -Subject: [PATCH] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf - suffix - -Signed-off-by: Denys Dmytriyenko <denys@ti.com> ---- - eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk -index dead2f9..2ba3e5e 100644 ---- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk -+++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk -@@ -68,12 +68,12 @@ define calculate-compiler-preferred-target - ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),) - $(1)_compiler_preferred_target := aarch64-linux-gnu - endif -+ ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi arm-poky-linux-gnueabi,$$($(1)_compiler_preferred_target)),) -+ $(1)_compiler_preferred_target := arm-linux-gnueabihf -+ endif - ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),) - $(1)_compiler_preferred_target := arm-linux-gnueabi - endif -- ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),) -- $(1)_compiler_preferred_target := arm-linux-gnueabihf -- endif - endif - endef - --- -2.7.4 - diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb index e21ccc7f..a1b0765c 100644 --- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +++ b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb @@ -9,7 +9,7 @@ REQUIRED_MACHINE_FEATURES = "gpu" COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3" -MACHINE_KERNEL_PR_append = "x" +MACHINE_KERNEL_PR_append = "y" PR = "${MACHINE_KERNEL_PR}" PACKAGE_ARCH = "${MACHINE_ARCH}" @@ -20,13 +20,11 @@ PROVIDES = "virtual/gpudriver" BRANCH = "ti-img-sgx/${PV}/k5.10" -SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \ - file://0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch \ -" +SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" -SRCREV = "62f31de3ceed156bff32abb3dd03693a02df117e" +SRCREV = "eda7780bfd5277e16913c9bc0b0e6892b4e79063" TARGET_PRODUCT_omap-a15 = "jacinto6evm" TARGET_PRODUCT_ti33x = "ti335x" -- 2.17.1
|
|
[dunfell/master][PATCH] conf: Enable bmap file for wic images on legacy platforms
Jonathan Humphreys
To allow a consistent experience across current devices, enable wic.bmap file
generation for AM3/4/5 images. Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com> --- conf/machine/include/omap-a15.inc | 2 +- conf/machine/include/ti33x.inc | 2 +- conf/machine/include/ti43x.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc index 923a19d3..02225a4e 100644 --- a/conf/machine/include/omap-a15.inc +++ b/conf/machine/include/omap-a15.inc @@ -49,7 +49,7 @@ UBI_VOLNAME = "rootfs" # List common SoC features, may need to add touchscreen for specific machines MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320" -IMAGE_FSTYPES += "tar.xz wic.xz" +IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "u-boot:do_deploy" diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc index 35e057d5..eae46c71 100644 --- a/conf/machine/include/ti33x.inc +++ b/conf/machine/include/ti33x.inc @@ -68,7 +68,7 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa etherne TI_PDK_LIMIT_SOCS = "am335x" TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x" -IMAGE_FSTYPES += "tar.xz wic.xz" +IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "virtual/bootloader:do_deploy" diff --git a/conf/machine/include/ti43x.inc b/conf/machine/include/ti43x.inc index 6376a278..fc9af949 100644 --- a/conf/machine/include/ti43x.inc +++ b/conf/machine/include/ti43x.inc @@ -65,7 +65,7 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa etherne TI_PDK_LIMIT_SOCS = "am437x" TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x" -IMAGE_FSTYPES += "tar.xz wic.xz" +IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" do_image_wic[depends] += "u-boot:do_deploy" -- 2.17.1
|
|
[dunfell/master PATCH] ti-uboot-staging: Update to the latest ti-u-boot-2021.01
praneeth
From: Praneeth Bajjuri <praneeth@ti.com>
Update to the latest commit of ti-u-boot-2021.01 picked the following K3 device fixes from upstream to ti-u-boot. a63ade175d arm: mach-k3: common: Add a release_resources_for_core_shutdown() stub 74f85260c9 firmware: ti_sci: Include linux/err.h in ti_sci_protocol.h 4cfd609f8d spl: fit: Skip attempting to load 0 length image 816bdfe256 arm: mach-k3: common: Make sure firmware sections are loaded prior to armv8 startup Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> --- recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb index d304df87..164bf6c1 100644 --- a/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +++ b/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb @@ -2,8 +2,8 @@ require u-boot-ti.inc LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" -PR = "r16" +PR = "r17" BRANCH = "ti-u-boot-2021.01" -SRCREV = "15769936a559b1840f50b83f94ee0c636b245001" +SRCREV = "a63ade175db712490633255f72aee8cbdb4845a0" -- 2.17.1
|
|
Re: [External] RE: Upgrading the components with latest version
Jagade, Nachiket
Hi Shiv,
We are working on TI am335x sitara based platform. We have adopted Yocto build as per your suggestion and created custom distro which is a mix of arago and poky. Reason is that when we last checked, arago distro did not had latest version of open source packages. Also some layers were not available in arago and we had to resolve many dependencies while compiling. We created this custom distro long ago using Dunfell 3.1.2 branch.
Now we want to make a new distro with latest versions of all required packages. So shall we go with 3.4 Honister or with latest dunfell release 3.1.13? Which release has full ti support for chipset and other drivers ? What will you suggest to achieve this?
Thanks, Nachiket
From: Nagalikar, Shivasharan <shivasharan.nagalikar@...>
Sent: Friday, June 19, 2020 6:19 PM To: Sridhara Murthy, Vinay <Vinay.SridharaMurthy@...>; Ankam, Ravindra <Ravindra.Ankam@...> Cc: Shanmugam, Dhinesh Kumar <s-dhinesh@...> Subject: RE: [External] RE: Upgrading the components with latest version
Hi Ravi/Sridhara,
In that case I suggest adopt to the Yacto build and have your custom components selected as per your requirements. Note that the SDK is provided to cater to larger set of customers for their quick usage. If there are any specific requirements then its suggested to use the Yacto. Please see if it’s very much required to migrate then only upgrade as some packages may not be stable that are available in opensource.
Please refer:
https://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Getting_Started_with_Openembedded
Best Regards, Shiv
From: Sridhara Murthy, Vinay [mailto:Vinay.SridharaMurthy@...]
Hi Shiv,
If we provide a list of components, would it be possible for you to provide the updated SDK packages. Please let us know as this would accelerate for us.
Regards Vinay
From: Ankam, Ravindra <Ravindra.Ankam@...>
Hi Shiv, Thank you for quick response. Unfortunately compiling each individually is complex and also we need to compile updated dependent packages as well. As I mentioned earlier, we are using TI SDK.
Thanks and regards, Ravi
From: Nagalikar, Shivasharan <shivasharan.nagalikar@...>
Hi Ravi,
There are two options.
Best Regards, Shiv
From: Ankam, Ravindra [mailto:Ravindra.Ankam@...]
Hi Shiv, We had used the TI SDK 06.01.00.08 version. This SDK has many components not updated with latest version. We want to update these components to address vulnerabilities in the components by using the latest version. I have checked with latest TI SDK 06.03.00.106 version but both SDKs have same version for most of the components. E.g. perl (5.24.4), zlib (3.23.1) etc.
Is there any other way to update these components?
Thanks and regards, Ravi
|
|
Re: [master][PATCH] ti-sgx-ddk-km: patches got merged upstream, update recipe accordingly
praneeth
On 12/20/2021 6:39 PM, Denys Dmytriyenko wrote:
From: Denys Dmytriyenko <denys@konsulko.com>Reviewed-by: Praneeth Bajjuri <praneeth@ti.com> ---
|
|
[master][PATCH] ti-sgx-ddk-km: patches got merged upstream, update recipe accordingly
Denys Dmytriyenko
From: Denys Dmytriyenko <denys@konsulko.com>
Both of the local patches were merged upstream, so update the reecipe to pull the latest SRCREV and drop those patches from the OE metadata. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Cc: Khem Raj <raj.khem@gmail.com> --- ...OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch | 44 ---------------------- .../0002-Fix-driver-config-for-5.10-kernel.patch | 29 -------------- .../powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb | 7 +--- 3 files changed, 2 insertions(+), 78 deletions(-) delete mode 100644 recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch delete mode 100644 recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch deleted file mode 100644 index 4f71ea9..0000000 --- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch +++ /dev/null @@ -1,44 +0,0 @@ -From a1c191a020f6eebc9a94b641be1fca7885fc9dd2 Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko <denys@ti.com> -Date: Mon, 9 Sep 2019 17:05:48 -0400 -Subject: [PATCH 1/2] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf - suffix - -OE toolchains are not having armhf in its name but they still are armhf -ABI, teach this to sgx module build system - -recognize musleabi in tuples as well - -Add yoe distro support - -Upstream-Status: Pending - -Signed-off-by: Denys Dmytriyenko <denys@ti.com> -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk -index dead2f9..1b5f090 100644 ---- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk -+++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk -@@ -68,12 +68,12 @@ define calculate-compiler-preferred-target - ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),) - $(1)_compiler_preferred_target := aarch64-linux-gnu - endif -+ ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi arm-poky-linux-gnueabi arm-yoe-linux-gnueabi arm-oe-linux-musleabi arm-poky-linux-musleabi arm-yoe-linux-musleabi,$$($(1)_compiler_preferred_target)),) -+ $(1)_compiler_preferred_target := arm-linux-gnueabihf -+ endif - ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),) - $(1)_compiler_preferred_target := arm-linux-gnueabi - endif -- ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),) -- $(1)_compiler_preferred_target := arm-linux-gnueabihf -- endif - endif - endef - --- -2.34.1 - diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch deleted file mode 100644 index 1f09790..0000000 --- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0002-Fix-driver-config-for-5.10-kernel.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 57c3aafacde126786077afa7bfc07ec261acffaf Mon Sep 17 00:00:00 2001 -From: Paul Barker <paul.barker@sancloud.com> -Date: Wed, 27 Oct 2021 10:34:32 +0100 -Subject: [PATCH 2/2] Fix driver config for 5.10 kernel - -See https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/issues/3. - -Upstream-Status: Pending -Ref: BSP-66 -Signed-off-by: Paul Barker <paul.barker@sancloud.com> ---- - eurasia_km/eurasiacon/build/linux2/config/core.mk | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/eurasia_km/eurasiacon/build/linux2/config/core.mk b/eurasia_km/eurasiacon/build/linux2/config/core.mk -index 3f27926..18d515a 100644 ---- a/eurasia_km/eurasiacon/build/linux2/config/core.mk -+++ b/eurasia_km/eurasiacon/build/linux2/config/core.mk -@@ -590,6 +590,7 @@ ifneq ($(BUFFERCLASS_MODULE),) - $(eval $(call BothConfigMake,BUFFERCLASS_MODULE,$(BUFFERCLASS_MODULE))) - endif - -+PVR_LINUX_MEM_AREA_USE_VMAP = 1 - ifneq ($(strip $(KERNELDIR)),) - PVR_LINUX_MEM_AREA_POOL_MAX_PAGES ?= 0 - ifneq ($(PVR_LINUX_MEM_AREA_POOL_MAX_PAGES),0) --- -2.34.1 - diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb index e6247e0..5657408 100644 --- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb +++ b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb @@ -20,14 +20,11 @@ PROVIDES = "virtual/gpudriver" BRANCH = "ti-img-sgx/${PV}/k5.10" -SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \ - file://0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch \ - file://0002-Fix-driver-config-for-5.10-kernel.patch \ -" +SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" -SRCREV = "62f31de3ceed156bff32abb3dd03693a02df117e" +SRCREV = "eda7780bfd5277e16913c9bc0b0e6892b4e79063" TARGET_PRODUCT:omap-a15 = "jacinto6evm" TARGET_PRODUCT:ti33x = "ti335x" -- 2.7.4
|
|
Re: [PATCH v2] ti-sgx-ddk-km: Fix build with kernel 5.10 and musl support
praneeth
On 12/9/2021 6:51 PM, Denys Dmytriyenko wrote:
On Thu, Dec 09, 2021 at 04:25:22PM -0800, Khem Raj wrote:this fix is now present here:This adds a patch to fix runtime problems loading the kernel module withReviewed-by: Denys Dmytriyenko <denys@konsulko.com> https://git.ti.com/cgit/graphics/omap5-sgx-ddk-linux/commit/?h=ti-img-sgx/1.17.4948957/k5.10&id=eda7780bfd5277e16913c9bc0b0e6892b4e79063 ---Thanks! Although I wonder if the first patch should be treated as
|
|
[dunfell/master][PATCH] ti-img-encode-decode: constrain ti-img-encode-decode test apps to J7
Denys Dmytriyenko
From: Denys Dmytriyenko <denys@konsulko.com>
Since corresponding functionality and FW only available on J7. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> --- recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb | 2 ++ recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb b/recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb index 48a1753..9fb473b 100644 --- a/recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb +++ b/recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb @@ -6,6 +6,8 @@ DEPENDS = "libdrm ffmpeg" inherit autotools pkgconfig +COMPATIBLE_MACHINE = "j7" + PR = "r1" SRCREV = "94a80c8c090dbfdc7fafd4e5bb78c2091e715af2" diff --git a/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb b/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb index 3bb5d74..3a128b9 100644 --- a/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb +++ b/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb @@ -6,6 +6,8 @@ DEPENDS = "libdrm" inherit autotools pkgconfig +COMPATIBLE_MACHINE = "j7" + PR = "r0" SRCREV = "a5e7d820bea1be24f25a8369d4d4521c784f869a" -- 2.7.4
|
|
[master][PATCH 08/11] conf: j7200-hs: fix the wrong machine configuration included
Denys Dmytriyenko
From: Yogesh Siraswar <yogeshs@ti.com>
j7-evm instead of j7200-evm was included causing boot failure Signed-off-by: Yogesh Siraswar <yogeshs@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> --- conf/machine/j7200-hs-evm.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/j7200-hs-evm.conf b/conf/machine/j7200-hs-evm.conf index c55be00..a5bd637 100644 --- a/conf/machine/j7200-hs-evm.conf +++ b/conf/machine/j7200-hs-evm.conf @@ -2,7 +2,7 @@ #@NAME: J7200 HS EVM #@DESCRIPTION: Machine configuration for the TI J7200 HS EVM -require conf/machine/j7-evm.conf +require conf/machine/j7200-evm.conf UBOOT_MACHINE = "j7200_hs_evm_a72_defconfig" -- 2.7.4
|
|
[master][PATCH 04/11] videnc-test-app: Add the videnc-test-app recipe
Denys Dmytriyenko
From: Sidraya <sidraya.bj@pathpartnertech.com>
The videnc-test-app provides the video encoder test app (tienc_encode) for j7-evm. Signed-off-by: David Huang <d-huang@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> --- .../ti-img-encode-decode/videnc-test-app_1.0.0.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb diff --git a/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb b/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb new file mode 100644 index 0000000..3bb5d74 --- /dev/null +++ b/recipes-bsp/ti-img-encode-decode/videnc-test-app_1.0.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "Test applications for TI ENC (v4l2 encoder for IMG VXE384)" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=14;md5=3545dd5bdf513840937d38c10b866605" + +DEPENDS = "libdrm" + +inherit autotools pkgconfig + +PR = "r0" +SRCREV = "a5e7d820bea1be24f25a8369d4d4521c784f869a" + +EXTRA_OEMAKE = "CC="${CC}"" +TARGET_CC_ARCH += "${LDFLAGS}" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/jacinto7_multimedia/videnc-test-app.git;protocol=git;branch=${BRANCH}" + +S = "${WORKDIR}/git" -- 2.7.4
|
|
[master][PATCH 06/11] u-boot-ti-staging: Bump u-boot version for 08.01.00.006
Denys Dmytriyenko
From: Praneeth Bajjuri <praneeth@ti.com>
u-boot bump for 08.01.00.006 release Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> --- recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb index f65d4fb..d304df8 100644 --- a/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +++ b/recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb @@ -2,8 +2,8 @@ require u-boot-ti.inc LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" -PR = "r15" +PR = "r16" BRANCH = "ti-u-boot-2021.01" -SRCREV = "d79399bcd770191618bfeb3840506a286a6498df" +SRCREV = "15769936a559b1840f50b83f94ee0c636b245001" -- 2.7.4
|
|