[meta-ti] [PATCH v2 3/3] prusw-fw: Package the firmware images from ti-linux-firmware
Directly take the images from ti-linux-firmware instead of using pdk Signed-off-by: Lokesh Vutla --- recipes-bsp/prusw-fw/prusw-fw_3.0.3.bb | 37 recipes-bsp/prusw-fw/prusw-fw_git.bb | 40 -- 2 files changed, 37 insertions(+), 40 deletions(-) create mode 100644 recipes-bsp/prusw-fw/prusw-fw_3.0.3.bb delete mode 100644 recipes-bsp/prusw-fw/prusw-fw_git.bb diff --git a/recipes-bsp/prusw-fw/prusw-fw_3.0.3.bb b/recipes-bsp/prusw-fw/prusw-fw_3.0.3.bb new file mode 100644 index ..6eac87c5 --- /dev/null +++ b/recipes-bsp/prusw-fw/prusw-fw_3.0.3.bb @@ -0,0 +1,37 @@ +SUMMARY = "PRU Switch firmware for AM57xx, AM437x and AM335x" + +LICENSE = "TI-TFL" +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" + +PR = "r0" + +CLEANBROKEN = "1" + +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRCREV = "7ba9722b74608ad4472790972917e1205eb3c049" +BRANCH ?= "ti-linux-firmware" + +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" + +S = "${WORKDIR}/git" + +TARGET = "" +TARGET_ti33x = "am335x-pru0-prusw-fw.elf am335x-pru1-prusw-fw.elf" +TARGET_ti43x = "am437x-pru0-prusw-fw.elf am437x-pru1-prusw-fw.elf" +TARGET_am57xx-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf" +TARGET_am57xx-hs-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf" + +do_install() { + install -d ${D}${base_libdir}/firmware/ti-pruss + for f in ${TARGET}; do + install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f + done +} + + +FILES_${PN} = "${base_libdir}/firmware" + +INSANE_SKIP_${PN} = "arch" diff --git a/recipes-bsp/prusw-fw/prusw-fw_git.bb b/recipes-bsp/prusw-fw/prusw-fw_git.bb deleted file mode 100644 index 2921fb1d.. --- a/recipes-bsp/prusw-fw/prusw-fw_git.bb +++ /dev/null @@ -1,40 +0,0 @@ -DESCRIPTION = "PRU Switch firmware for AM57xx" - -require recipes-ti/includes/ti-paths.inc -require recipes-bsp/icss-emac-lld/icss-emac-lld.inc - -LICENSE = "TI-TFL" -LIC_FILES_CHKSUM = "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3" - -PR = "${INC_PR}.0" - -TI_PDK_COMP = "ti.drv.icss_emac.firmware" - -B = "${S}/icss_switch" - -COMPATIBLE_MACHINE = "dra7xx" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -DEPENDS = "ti-cgt-pru-native" - -PRU_VERSION = "" -PRU_VERSION_dra7xx = "REV2" - -FW_PREFIX = "" -FW_PREFIX_dra7xx = "am57xx" - - -EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" PRU_VERSION_LIST="${PRU_VERSION}"" - -do_install() { - install -d ${D}${base_libdir}/firmware/ti-pruss - install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU0.elf \ - ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru0-prusw-fw.elf - install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU1.elf \ - ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru1-prusw-fw.elf -} - -FILES_${PN} = "${base_libdir}/firmware" - -INSANE_SKIP_${PN} = "arch" -- 2.23.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13122): https://lists.yoctoproject.org/g/meta-ti/message/13122 Mute This Topic: https://lists.yoctoproject.org/mt/76422672/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti] [PATCH v2 2/3] prueth-fw: Package the firmware images from ti-linux-firmware
Directly take the images from ti-linux-firmware instead of using pdk Aldo drop build for k2g as firmwares are not yet available. Signed-off-by: Lokesh Vutla --- recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb | 37 +++ recipes-bsp/prueth-fw/prueth-fw_git.bb | 47 recipes-kernel/linux/linux-ti-staging_5.4.bb | 1 - 3 files changed, 37 insertions(+), 48 deletions(-) create mode 100644 recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb delete mode 100644 recipes-bsp/prueth-fw/prueth-fw_git.bb diff --git a/recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb b/recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb new file mode 100644 index ..2840b2f1 --- /dev/null +++ b/recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb @@ -0,0 +1,37 @@ +SUMMARY = "PRU Ethernet firmware for AM57xx, AM437x and AM335x" + +LICENSE = "TI-TFL" +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" + +PR = "r0" + +CLEANBROKEN = "1" + +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRCREV = "7ba9722b74608ad4472790972917e1205eb3c049" +BRANCH ?= "ti-linux-firmware" + +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" + +S = "${WORKDIR}/git" + +TARGET = "" +TARGET_ti33x = "am335x-pru0-prueth-fw.elf am335x-pru1-prueth-fw.elf" +TARGET_ti43x = "am437x-pru0-prueth-fw.elf am437x-pru1-prueth-fw.elf" +TARGET_am57xx-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf" +TARGET_am57xx-hs-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf" + +do_install() { + install -d ${D}${base_libdir}/firmware/ti-pruss + for f in ${TARGET}; do + install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f + done +} + + +FILES_${PN} = "${base_libdir}/firmware" + +INSANE_SKIP_${PN} = "arch" diff --git a/recipes-bsp/prueth-fw/prueth-fw_git.bb b/recipes-bsp/prueth-fw/prueth-fw_git.bb deleted file mode 100644 index f7718ad2.. --- a/recipes-bsp/prueth-fw/prueth-fw_git.bb +++ /dev/null @@ -1,47 +0,0 @@ -DESCRIPTION = "PRU Ethernet firmware for AM57xx, AM437x, AM335x and K2G" - -require recipes-ti/includes/ti-paths.inc -require recipes-bsp/icss-emac-lld/icss-emac-lld.inc - -LICENSE = "TI-TFL" -LIC_FILES_CHKSUM = "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3" - -PR = "${INC_PR}.0" - -TI_PDK_COMP = "ti.drv.icss_emac.firmware" - -B = "${S}/icss_dualemac" - -COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm|ti43x|ti33x|k2g" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -DEPENDS = "ti-cgt-pru-native" - -PRU_VERSION = "" -PRU_VERSION_ti33x = "REV1" -PRU_VERSION_ti43x = "REV1" -PRU_VERSION_am57xx-evm = "REV2" -PRU_VERSION_am57xx-hs-evm = "REV2" -PRU_VERSION_k2g = "REV2" - -FW_PREFIX = "" -FW_PREFIX_ti33x = "am335x" -FW_PREFIX_ti43x = "am437x" -FW_PREFIX_am57xx-evm = "am57xx" -FW_PREFIX_am57xx-hs-evm = "am57xx" -FW_PREFIX_k2g = "k2g" - -EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" PRU_VERSION_LIST="${PRU_VERSION}"" - -do_install() { - install -d ${D}${base_libdir}/firmware/ti-pruss - install -m 0644 ./elf/${PRU_VERSION}/icss_dualemac_PRU0.elf \ - ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru0-prueth-fw.elf - install -m 0644 ./elf/${PRU_VERSION}/icss_dualemac_PRU1.elf \ - ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru1-prueth-fw.elf -} - -FILES_${PN} = "${base_libdir}/firmware" - -INSANE_SKIP_${PN} = "arch" diff --git a/recipes-kernel/linux/linux-ti-staging_5.4.bb b/recipes-kernel/linux/linux-ti-staging_5.4.bb index 3a4fdd86..2a35bf1d 100644 --- a/recipes-kernel/linux/linux-ti-staging_5.4.bb +++ b/recipes-kernel/linux/linux-ti-staging_5.4.bb @@ -48,7 +48,6 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am57xx-evm = " prueth-fw prusw-fw pr RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am57xx-hs-evm = " prueth-fw prusw-fw pruhsr-fw pruprp-fw" RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti43x = " prueth-fw pruhsr-fw pruprp-fw" RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_ti33x = " prueth-fw pruhsr-fw pruprp-fw" -RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2g = " prueth-fw" RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx = " prueth-fw-am65x" RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-am65x-sr2" -- 2.23.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13121): https://lists.yoctoproject.org/g/meta-ti/message/13121 Mute This Topic: https://lists.yoctoproject.org/mt/76422671/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti] [PATCH v2 0/3] prueth: Update all prueth firmwares
Update the following firmwares to latest version: - Prueth dual emac - Prueth switch firmware - Prueth HSR firmware - Prueth PRP firmware Also change the recipe to pick the dual emac and swith firmwares from ti-linux-firmware repos. Re-sending this series after subscribing to lists.yoctoproject.org as the previous post was rejected. Changes since v1: - Dropped duplicate PV from hsr/prp recipes - Used SUMMARY instead of DESCRIPTION Lokesh Vutla (3): prueth-hsr/prp: Update hsr/prp firmwares to latest prueth-fw: Package the firmware images from ti-linux-firmware prusw-fw: Package the firmware images from ti-linux-firmware recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb | 37 +++ recipes-bsp/prueth-fw/prueth-fw_git.bb| 47 --- ...{pruhsr-fw_git.bb => pruhsr-fw_2.15.23.bb} | 5 +- ...{pruprp-fw_git.bb => pruprp-fw_2.15.23.bb} | 5 +- recipes-bsp/prusw-fw/prusw-fw_3.0.3.bb| 37 +++ recipes-bsp/prusw-fw/prusw-fw_git.bb | 40 recipes-kernel/linux/linux-ti-staging_5.4.bb | 1 - 7 files changed, 80 insertions(+), 92 deletions(-) create mode 100644 recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb delete mode 100644 recipes-bsp/prueth-fw/prueth-fw_git.bb rename recipes-bsp/pruhsr-fw/{pruhsr-fw_git.bb => pruhsr-fw_2.15.23.bb} (93%) rename recipes-bsp/pruprp-fw/{pruprp-fw_git.bb => pruprp-fw_2.15.23.bb} (93%) create mode 100644 recipes-bsp/prusw-fw/prusw-fw_3.0.3.bb delete mode 100644 recipes-bsp/prusw-fw/prusw-fw_git.bb -- 2.23.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13119): https://lists.yoctoproject.org/g/meta-ti/message/13119 Mute This Topic: https://lists.yoctoproject.org/mt/76422669/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti] [PATCH v2 1/3] prueth-hsr/prp: Update hsr/prp firmwares to latest
Update the hsr/prp firmwares to latest that includes support for timestamping rx packets. Unfortunately version number is not incremented for this update. Also rename the bb file to add PV in it. Signed-off-by: Lokesh Vutla --- .../pruhsr-fw/{pruhsr-fw_git.bb => pruhsr-fw_2.15.23.bb} | 5 +++-- .../pruprp-fw/{pruprp-fw_git.bb => pruprp-fw_2.15.23.bb} | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) rename recipes-bsp/pruhsr-fw/{pruhsr-fw_git.bb => pruhsr-fw_2.15.23.bb} (93%) rename recipes-bsp/pruprp-fw/{pruprp-fw_git.bb => pruprp-fw_2.15.23.bb} (93%) diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_2.15.23.bb similarity index 93% rename from recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb rename to recipes-bsp/pruhsr-fw/pruhsr-fw_2.15.23.bb index 0c7e7148..1434363f 100644 --- a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb +++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_2.15.23.bb @@ -3,15 +3,16 @@ SUMMARY = "PRU HSR firmware for AM335x/AM437x/AM57xx" LICENSE = "TI-TFL" LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" -PV = "2.15.23" PE = "1" PR = "r0" +CLEANBROKEN = "1" + COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm" PACKAGE_ARCH = "${MACHINE_ARCH}" -SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29" +SRCREV = "7ba9722b74608ad4472790972917e1205eb3c049" BRANCH ?= "ti-linux-firmware" SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_2.15.23.bb similarity index 93% rename from recipes-bsp/pruprp-fw/pruprp-fw_git.bb rename to recipes-bsp/pruprp-fw/pruprp-fw_2.15.23.bb index 046e8dad..da381eb0 100644 --- a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb +++ b/recipes-bsp/pruprp-fw/pruprp-fw_2.15.23.bb @@ -3,15 +3,16 @@ SUMMARY = "PRU PRP firmware for AM335x/AM437x/AM57xx" LICENSE = "TI-TFL" LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" -PV = "2.15.23" PE = "1" PR = "r0" +CLEANBROKEN = "1" + COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm" PACKAGE_ARCH = "${MACHINE_ARCH}" -SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29" +SRCREV = "7ba9722b74608ad4472790972917e1205eb3c049" BRANCH ?= "ti-linux-firmware" SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" -- 2.23.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13120): https://lists.yoctoproject.org/g/meta-ti/message/13120 Mute This Topic: https://lists.yoctoproject.org/mt/76422670/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti] [dunfell/master][PATCH 2/2] ti-sci-fw: pick up u-boot-spl.bin from sysroot and simplify dependency
From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) 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 e50e7b3..458b892 100644 --- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb @@ -1,10 +1,7 @@ require recipes-bsp/ti-sci-fw/ti-sci-fw.inc DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" - -UBOOT_DEPENDS = "" -UBOOT_DEPENDS_j7200-evm-k3r5 = "u-boot-ti-staging:do_deploy" -do_compile[depends] += "${UBOOT_DEPENDS}" +DEPENDS_append_j7200-evm-k3r5 = " u-boot-ti-staging" CLEANBROKEN = "1" PR = "r1" @@ -49,7 +46,7 @@ EXTRA_OEMAKE_HS = " \ " EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}" -EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${DEPLOY_DIR_IMAGE}/u-boot-spl.bin"" +EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin"" do_compile() { cd ${WORKDIR}/imggen/ -- 2.7.4 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13118): https://lists.yoctoproject.org/g/meta-ti/message/13118 Mute This Topic: https://lists.yoctoproject.org/mt/76419940/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti] [dunfell/master][PATCH 1/2] u-boot-ti: deploy u-boot-spl.bin for all K3 and add staging into sysroot
From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- recipes-bsp/u-boot/u-boot-ti.inc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc index 4fe8266..f07dcfd 100644 --- a/recipes-bsp/u-boot/u-boot-ti.inc +++ b/recipes-bsp/u-boot/u-boot-ti.inc @@ -53,10 +53,11 @@ S = "${WORKDIR}/git" TI_SECURE_DEV_PKG ?= "" export TI_SECURE_DEV_PKG +SYSROOT_DIRS += "/boot" + # SPL (Second Program Loader) to be loaded over UART SPL_UART_BINARY = "u-boot-spl.bin" SPL_UART_BINARY_keystone = "" -SPL_UART_BINARY_k3 = "" SPL_UART_BINARY_k3r5 = "" SPL_UART_BINARY_lego-ev3 = "" SPL_UART_BINARY_j7200-evm-k3r5 = "u-boot-spl.bin" @@ -384,9 +385,10 @@ do_deploy_append_keystone () { # j7200 uses combined image for tiboot3.bin that includes u-boot-spl.bin and sysfw # along with board PM/RM configs generated by k3-image-gen and comes from ti-sci-fw -# hence move the legacy u-boot's tiboot3.bin out of the way +# hence move the legacy u-boot's tiboot3.bin and u-boot-spl.bin out of the way do_deploy_append_j7200-evm-k3r5 () { mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true + mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true } TOOLCHAIN = "gcc" -- 2.7.4 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13117): https://lists.yoctoproject.org/g/meta-ti/message/13117 Mute This Topic: https://lists.yoctoproject.org/mt/76419939/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [meta-ti] [PATCH 3/3] prusw-fw: Package the firmware images from ti-linux-firmware
On Sun, Aug 23, 2020 at 03:24:29PM +0530, Lokesh Vutla wrote: > > > On 22/08/20 12:24 am, Denys Dmytriyenko wrote: > > On Fri, Aug 21, 2020 at 01:02:38PM +0530, Lokesh Vutla wrote: > >> Directly take the images from ti-linux-firmware instead of using pdk > >> > >> Signed-off-by: Lokesh Vutla > >> --- > >> recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb | 38 > >> recipes-bsp/prusw-fw/prusw-fw_git.bb | 40 -- > >> 2 files changed, 38 insertions(+), 40 deletions(-) > >> create mode 100644 recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb > >> delete mode 100644 recipes-bsp/prusw-fw/prusw-fw_git.bb > >> > >> diff --git a/recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb > >> b/recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb > >> new file mode 100644 > >> index ..514237eb > >> --- /dev/null > >> +++ b/recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb > >> @@ -0,0 +1,38 @@ > >> +DESCRIPTION = "PRU Switch firmware for AM57xx, AM437x and AM335x" > > > > Use SUMMARY here > > Sure > > > > > > >> +LICENSE = "TI-TFL" > >> +LIC_FILES_CHKSUM = > >> "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" > >> + > >> +PV = "3.0.3" > > > > So, the filename sets PV to 3.0.0, but here it's 3.0.3? > > 3.0.3 will fix the file name. > > > > > > >> +PR = "r1" > > > > Drop PR > > If PR is not added, the below error occurs. What could be wrong? Right, you are keeping the same PV as before, so you can't remove PR (or reset it to "r0"). I got confused and thought it was an upgrade (i.e. 3.0.0 vs. 3.0.3 above). > ERROR: prusw-fw-3.0.3-r0 do_packagedata: QA Issue: Package version for > package prusw-fw-src went backwards which would break package feeds (from > 0:3.0.3-r1.0 to 0:3.0.3-r0.1) [version-going-backwards] > ERROR: prusw-fw-3.0.3-r0 do_packagedata: QA Issue: Package version for > package prusw-fw-dbg went backwards which would break package feeds (from > 0:3.0.3-r1.0 to 0:3.0.3-r0.1) [version-going-backwards] > > Thanks and regards, > Lokesh > > > > > > >> +CLEANBROKEN = "1" > >> + > >> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm" > >> + > >> +PACKAGE_ARCH = "${MACHINE_ARCH}" > >> + > >> +SRCREV = "7ba9722b74608ad4472790972917e1205eb3c049" > >> +BRANCH ?= "ti-linux-firmware" > >> + > >> +SRC_URI = > >> "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" > >> + > >> +S = "${WORKDIR}/git" > >> + > >> +TARGET = "" > >> +TARGET_ti33x = "am335x-pru0-prusw-fw.elf am335x-pru1-prusw-fw.elf" > >> +TARGET_ti43x = "am437x-pru0-prusw-fw.elf am437x-pru1-prusw-fw.elf" > >> +TARGET_am57xx-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf" > >> +TARGET_am57xx-hs-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf" > >> + > >> +do_install() { > >> + install -d ${D}${base_libdir}/firmware/ti-pruss > >> + for f in ${TARGET}; do > >> + install -m 0644 ${S}/ti-pruss/$f > >> ${D}${base_libdir}/firmware/ti-pruss/$f > >> + done > >> +} > >> + > >> + > >> +FILES_${PN} = "${base_libdir}/firmware" > >> + > >> +INSANE_SKIP_${PN} = "arch" > >> diff --git a/recipes-bsp/prusw-fw/prusw-fw_git.bb > >> b/recipes-bsp/prusw-fw/prusw-fw_git.bb > >> deleted file mode 100644 > >> index 2921fb1d.. > >> --- a/recipes-bsp/prusw-fw/prusw-fw_git.bb > >> +++ /dev/null > >> @@ -1,40 +0,0 @@ > >> -DESCRIPTION = "PRU Switch firmware for AM57xx" > >> - > >> -require recipes-ti/includes/ti-paths.inc > >> -require recipes-bsp/icss-emac-lld/icss-emac-lld.inc > >> - > >> -LICENSE = "TI-TFL" > >> -LIC_FILES_CHKSUM = > >> "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3" > >> - > >> -PR = "${INC_PR}.0" > >> - > >> -TI_PDK_COMP = "ti.drv.icss_emac.firmware" > >> - > >> -B = "${S}/icss_switch" > >> - > >> -COMPATIBLE_MACHINE = "dra7xx" > >> - > >> -PACKAGE_ARCH = "${MACHINE_ARCH}" > >> - > >> -DEPENDS = "ti-cgt-pru-native" > >> - > >> -PRU_VERSION = "" > >> -PRU_VERSION_dra7xx = "REV2" > >> - > >> -FW_PREFIX = "" > >> -FW_PREFIX_dra7xx = "am57xx" > >> - > >> - > >> -EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" > >> PRU_VERSION_LIST="${PRU_VERSION}"" > >> - > >> -do_install() { > >> - install -d ${D}${base_libdir}/firmware/ti-pruss > >> - install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU0.elf \ > >> - > >> ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru0-prusw-fw.elf > >> - install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU1.elf \ > >> - > >> ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru1-prusw-fw.elf > >> -} > >> - > >> -FILES_${PN} = "${base_libdir}/firmware" > >> - > >> -INSANE_SKIP_${PN} = "arch" > >> -- > >> 2.23.0 > >> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13116): https://lists.yoctoproject.org/g/meta-ti/message/13116 Mute This Topic: https://lists.yoctoproject.org/mt/76324950/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoc
Re: [meta-ti] [PATCH 1/3] prueth-hsr/prp: Update hsr/prp firmwares to latest
On Sun, Aug 23, 2020 at 03:10:20PM +0530, Lokesh Vutla wrote: > Hi Denys, > > On 22/08/20 12:10 am, Denys Dmytriyenko wrote: > > On Fri, Aug 21, 2020 at 01:02:36PM +0530, Lokesh Vutla wrote: > >> Update the hsr/prp firmwares to latest that includes support for > >> timestamping rx packets. Unfortunately version number is not > >> incremented for this update. > >> > >> Also rename the bb file to add PV in it. > > > > This is fine, but you need to choose which one provides the correct PV. > > Currently you have it duplicated: > > > > pruhsr-fw_2.15.23.bb will set PV = "2.15.23" automatically from the > > filename, > > but you also have existing PV = "2.15.23" inside the recipe. Same for other > > recipe. > > > > The recommendation is to set PV in the filename for released tarballs. > > > > When the code is pulled directly from git, it is acceptable (and sometimes > > even preferred) to use _git in the filename and set PV explicitly inside > > the > > recipe. And if you expect these to be updated regularly, you can avoid > > churn > > of renaming the recipe with the new version. Also that's preferred for > > packages (probably not in this case) that need to be AUTOREV-ed to the > > latest > > for any nightly CI atuomation... > > Thanks for the explanation. Will remove the duplicate inside the FILE. Also > what > about PE and PR? PE - Package Epoch, default "0" PV - Package Version, default "0.0", but normally set in filename or recipe PR - Package Revision, default "r0" Normally PV comes from the component version. When there are any changes to the recipe, but PV stays the same, you want to bump the PR, though PR server does that function now and in most cases there's no need to do that manually. And when the PV version goes backwards for some reason (re-version, downgrade or revert), then it is necessary to bump PE. > Thanks and regards, > Lokesh > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13115): https://lists.yoctoproject.org/g/meta-ti/message/13115 Mute This Topic: https://lists.yoctoproject.org/mt/76324948/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [meta-ti] [PATCH 2/3] prueth-fw: Package the firmware images from ti-linux-firmware
On Mon, Aug 24, 2020 at 10:29:40AM -0500, Suman Anna wrote: > Hi Denys, > > On 8/21/20 1:53 PM, Denys Dmytriyenko wrote: > > On Fri, Aug 21, 2020 at 01:02:37PM +0530, Lokesh Vutla wrote: > >> Directly take the images from ti-linux-firmware instead of using pdk > >> Aldo drop build for k2g as firmwares are not yet available. > > > > Same comment for the version/PV use. > > > > Also, are there any alternatives that need to be setup with symlinks for > > these > > firmware images and PRU in general? E.g. pru-icss sets symlinks > > am335x-pru0-fw > > and am57xx-pru1_0-fw to point to Halt vs. Echo images. Is this needed for > > prueth, pruhsr, pruprp or prusw images? Suman? > > PRU firmwares follow a mixed-style. The PRU remoteproc drivers do not support > remoteproc auto-boot and can let the PRU client drivers set the firmware name > (either through DT or coded up in the driver) before booting the corresponding > remoteprocs. PRU Ethernet follows the latter option, and chooses the right > firmware depending on the protocol it is configured for. The firmware names > used > by the PRU remoteproc driver is therefore less relevant when compared to the > other remoteproc drivers. Thanks, Suman, sounds good. > regards > Suman > > > > > > >> Signed-off-by: Lokesh Vutla > >> --- > >> recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb | 38 > >> recipes-bsp/prueth-fw/prueth-fw_git.bb | 47 > >> recipes-kernel/linux/linux-ti-staging_5.4.bb | 1 - > >> 3 files changed, 38 insertions(+), 48 deletions(-) > >> create mode 100644 recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb > >> delete mode 100644 recipes-bsp/prueth-fw/prueth-fw_git.bb > >> > >> diff --git a/recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb > >> b/recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb > >> new file mode 100644 > >> index ..1847c221 > >> --- /dev/null > >> +++ b/recipes-bsp/prueth-fw/prueth-fw_5.2.7.bb > >> @@ -0,0 +1,38 @@ > >> +DESCRIPTION = "PRU Ethernet firmware for AM57xx, AM437x and AM335x" > > > > Use SUMMARY instead. > > > > > >> +LICENSE = "TI-TFL" > >> +LIC_FILES_CHKSUM = > >> "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" > >> + > >> +PV = "5.2.7" > >> +PR = "r1" > > > > Please drop PR for the new recipe. > > > > > >> +CLEANBROKEN = "1" > >> + > >> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm" > >> + > >> +PACKAGE_ARCH = "${MACHINE_ARCH}" > >> + > >> +SRCREV = "7ba9722b74608ad4472790972917e1205eb3c049" > >> +BRANCH ?= "ti-linux-firmware" > >> + > >> +SRC_URI = > >> "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" > >> + > >> +S = "${WORKDIR}/git" > >> + > >> +TARGET = "" > >> +TARGET_ti33x = "am335x-pru0-prueth-fw.elf am335x-pru1-prueth-fw.elf" > >> +TARGET_ti43x = "am437x-pru0-prueth-fw.elf am437x-pru1-prueth-fw.elf" > >> +TARGET_am57xx-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf" > >> +TARGET_am57xx-hs-evm = "am57xx-pru0-prueth-fw.elf > >> am57xx-pru1-prueth-fw.elf" > >> + > >> +do_install() { > >> + install -d ${D}${base_libdir}/firmware/ti-pruss > >> + for f in ${TARGET}; do > >> + install -m 0644 ${S}/ti-pruss/$f > >> ${D}${base_libdir}/firmware/ti-pruss/$f > >> + done > >> +} > >> + > >> + > >> +FILES_${PN} = "${base_libdir}/firmware" > >> + > >> +INSANE_SKIP_${PN} = "arch" > >> diff --git a/recipes-bsp/prueth-fw/prueth-fw_git.bb > >> b/recipes-bsp/prueth-fw/prueth-fw_git.bb > >> deleted file mode 100644 > >> index f7718ad2.. > >> --- a/recipes-bsp/prueth-fw/prueth-fw_git.bb > >> +++ /dev/null > >> @@ -1,47 +0,0 @@ > >> -DESCRIPTION = "PRU Ethernet firmware for AM57xx, AM437x, AM335x and K2G" > >> - > >> -require recipes-ti/includes/ti-paths.inc > >> -require recipes-bsp/icss-emac-lld/icss-emac-lld.inc > >> - > >> -LICENSE = "TI-TFL" > >> -LIC_FILES_CHKSUM = > >> "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3" > >> - > >> -PR = "${INC_PR}.0" > >> - > >> -TI_PDK_COMP = "ti.drv.icss_emac.firmware" > >> - > >> -B = "${S}/icss_dualemac" > >> - > >> -COMPATIBLE_MACHINE = "am57xx-evm|am57xx-hs-evm|ti43x|ti33x|k2g" > >> - > >> -PACKAGE_ARCH = "${MACHINE_ARCH}" > >> - > >> -DEPENDS = "ti-cgt-pru-native" > >> - > >> -PRU_VERSION = "" > >> -PRU_VERSION_ti33x = "REV1" > >> -PRU_VERSION_ti43x = "REV1" > >> -PRU_VERSION_am57xx-evm = "REV2" > >> -PRU_VERSION_am57xx-hs-evm = "REV2" > >> -PRU_VERSION_k2g = "REV2" > >> - > >> -FW_PREFIX = "" > >> -FW_PREFIX_ti33x = "am335x" > >> -FW_PREFIX_ti43x = "am437x" > >> -FW_PREFIX_am57xx-evm = "am57xx" > >> -FW_PREFIX_am57xx-hs-evm = "am57xx" > >> -FW_PREFIX_k2g = "k2g" > >> - > >> -EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" > >> PRU_VERSION_LIST="${PRU_VERSION}"" > >> - > >> -do_install() { > >> - install -d ${D}${base_libdir}/firmware/ti-pruss > >> - install -m 0644 ./elf/${PRU_VERSION}/icss_dualemac_PRU0.elf \ > >> - > >> ${D}${base_libdir}/firmware/ti-pru
Re: [meta-ti] [PATCH 3/3] prusw-fw: Package the firmware images from ti-linux-firmware
Hi Denys, On 23/08/20 3:24 pm, Lokesh Vutla wrote: > > > On 22/08/20 12:24 am, Denys Dmytriyenko wrote: >> On Fri, Aug 21, 2020 at 01:02:38PM +0530, Lokesh Vutla wrote: >>> Directly take the images from ti-linux-firmware instead of using pdk >>> >>> Signed-off-by: Lokesh Vutla >>> --- >>> recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb | 38 >>> recipes-bsp/prusw-fw/prusw-fw_git.bb | 40 -- >>> 2 files changed, 38 insertions(+), 40 deletions(-) >>> create mode 100644 recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb >>> delete mode 100644 recipes-bsp/prusw-fw/prusw-fw_git.bb >>> >>> diff --git a/recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb >>> b/recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb >>> new file mode 100644 >>> index ..514237eb >>> --- /dev/null >>> +++ b/recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb >>> @@ -0,0 +1,38 @@ >>> +DESCRIPTION = "PRU Switch firmware for AM57xx, AM437x and AM335x" >> >> Use SUMMARY here > > Sure > >> >> >>> +LICENSE = "TI-TFL" >>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" >>> + >>> +PV = "3.0.3" >> >> So, the filename sets PV to 3.0.0, but here it's 3.0.3? > > 3.0.3 will fix the file name. > >> >> >>> +PR = "r1" >> >> Drop PR > > If PR is not added, the below error occurs. What could be wrong? > > ERROR: prusw-fw-3.0.3-r0 do_packagedata: QA Issue: Package version for > package prusw-fw-src went backwards which would break package feeds (from > 0:3.0.3-r1.0 to 0:3.0.3-r0.1) [version-going-backwards] > ERROR: prusw-fw-3.0.3-r0 do_packagedata: QA Issue: Package version for > package prusw-fw-dbg went backwards which would break package feeds (from > 0:3.0.3-r1.0 to 0:3.0.3-r0.1) [version-going-backwards Any idea why this could happen? Thanks and regards, Lokesh > > Thanks and regards, > Lokesh > >> >> >>> +CLEANBROKEN = "1" >>> + >>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm" >>> + >>> +PACKAGE_ARCH = "${MACHINE_ARCH}" >>> + >>> +SRCREV = "7ba9722b74608ad4472790972917e1205eb3c049" >>> +BRANCH ?= "ti-linux-firmware" >>> + >>> +SRC_URI = >>> "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" >>> + >>> +S = "${WORKDIR}/git" >>> + >>> +TARGET = "" >>> +TARGET_ti33x = "am335x-pru0-prusw-fw.elf am335x-pru1-prusw-fw.elf" >>> +TARGET_ti43x = "am437x-pru0-prusw-fw.elf am437x-pru1-prusw-fw.elf" >>> +TARGET_am57xx-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf" >>> +TARGET_am57xx-hs-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf" >>> + >>> +do_install() { >>> + install -d ${D}${base_libdir}/firmware/ti-pruss >>> + for f in ${TARGET}; do >>> + install -m 0644 ${S}/ti-pruss/$f >>> ${D}${base_libdir}/firmware/ti-pruss/$f >>> + done >>> +} >>> + >>> + >>> +FILES_${PN} = "${base_libdir}/firmware" >>> + >>> +INSANE_SKIP_${PN} = "arch" >>> diff --git a/recipes-bsp/prusw-fw/prusw-fw_git.bb >>> b/recipes-bsp/prusw-fw/prusw-fw_git.bb >>> deleted file mode 100644 >>> index 2921fb1d.. >>> --- a/recipes-bsp/prusw-fw/prusw-fw_git.bb >>> +++ /dev/null >>> @@ -1,40 +0,0 @@ >>> -DESCRIPTION = "PRU Switch firmware for AM57xx" >>> - >>> -require recipes-ti/includes/ti-paths.inc >>> -require recipes-bsp/icss-emac-lld/icss-emac-lld.inc >>> - >>> -LICENSE = "TI-TFL" >>> -LIC_FILES_CHKSUM = >>> "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3" >>> - >>> -PR = "${INC_PR}.0" >>> - >>> -TI_PDK_COMP = "ti.drv.icss_emac.firmware" >>> - >>> -B = "${S}/icss_switch" >>> - >>> -COMPATIBLE_MACHINE = "dra7xx" >>> - >>> -PACKAGE_ARCH = "${MACHINE_ARCH}" >>> - >>> -DEPENDS = "ti-cgt-pru-native" >>> - >>> -PRU_VERSION = "" >>> -PRU_VERSION_dra7xx = "REV2" >>> - >>> -FW_PREFIX = "" >>> -FW_PREFIX_dra7xx = "am57xx" >>> - >>> - >>> -EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" >>> PRU_VERSION_LIST="${PRU_VERSION}"" >>> - >>> -do_install() { >>> - install -d ${D}${base_libdir}/firmware/ti-pruss >>> - install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU0.elf \ >>> - >>> ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru0-prusw-fw.elf >>> - install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU1.elf \ >>> - >>> ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru1-prusw-fw.elf >>> -} >>> - >>> -FILES_${PN} = "${base_libdir}/firmware" >>> - >>> -INSANE_SKIP_${PN} = "arch" >>> -- >>> 2.23.0 >>> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13113): https://lists.yoctoproject.org/g/meta-ti/message/13113 Mute This Topic: https://lists.yoctoproject.org/mt/76324950/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[meta-ti] technical issue on beagle bone black application
Dear Meta-ti members I have a technical issue working with beagle bone black and work with meta ti layer, I got a wifi dongle USB using mt7601u chipset and I wanted to integrate the driver and the firmware on core image minimal but the board cannot detect the dongle. I made the necessary kernel configurations but I got no result -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13112): https://lists.yoctoproject.org/g/meta-ti/message/13112 Mute This Topic: https://lists.yoctoproject.org/mt/76409772/21656 Group Owner: meta-ti+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-