Skip to contentSkip to conversation

pmmc-fw: add initial PMMC firmware binary

PATCH Superseded Denys Dmytriyenko 3 participants 4 messages Nov 24, 2015

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pmmc-fw: add initial PMMC firmware binary

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/pmmc-fw/pmmc-fw_git.bb | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 recipes-bsp/pmmc-fw/pmmc-fw_git.bb
recipes-bsp/pmmc-fw/pmmc-fw_git.bb new file +27 -0
new file mode 100644
index 0000000..0363bf6
@@ -0,0 +1,27 @@
+DESCRIPTION = "PMMC firmware"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
+
+PR = "r0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "k2g-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "474abaf61ef4778df84b74c4a50f740149b38115"
+BRANCH ?= "master"
+
+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+TARGET = "pmmc-firmware.bin"
+
+do_install() {
+	mkdir -p ${D}/boot
+	cp ${S}/ti-keystone/${TARGET} ${D}/boot/${TARGET}
+}
+
+FILES_${PN} = "/boot"
Signature · 1 line
2.2.0
#1 lore raw

Will this firmware be placed in the DEPLOY_DIR_IMAGES?

Quoted 41 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
  recipes-bsp/pmmc-fw/pmmc-fw_git.bb | 27 +++++++++++++++++++++++++++
  1 file changed, 27 insertions(+)

create mode 100644 recipes-bsp/pmmc-fw/pmmc-fw_git.bb

recipes-bsp/pmmc-fw/pmmc-fw_git.bb new file +27 -0
new file mode 100644
index 0000000..0363bf6
@@ -0,0 +1,27 @@
+DESCRIPTION = "PMMC firmware"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
+
+PR = "r0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "k2g-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "474abaf61ef4778df84b74c4a50f740149b38115"
+BRANCH ?= "master"
+
+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+TARGET = "pmmc-firmware.bin"
+
+do_install() {
+	mkdir -p ${D}/boot
+	cp ${S}/ti-keystone/${TARGET} ${D}/boot/${TARGET}
+}
+
+FILES_${PN} = "/boot"
#2 lore raw

I had the same question, but I don't have an answer yet. Right now I'm running with the assumption it's not required, as we don't place any other FW images in deploy.

Quoted 50 lines · Jacob Stiffler

Will this firmware be placed in the DEPLOY_DIR_IMAGES?

Quoted 41 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/pmmc-fw/pmmc-fw_git.bb | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 recipes-bsp/pmmc-fw/pmmc-fw_git.bb
recipes-bsp/pmmc-fw/pmmc-fw_git.bb new file +27 -0
new file mode 100644
index 0000000..0363bf6
@@ -0,0 +1,27 @@
+DESCRIPTION = "PMMC firmware"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
+
+PR = "r0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "k2g-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "474abaf61ef4778df84b74c4a50f740149b38115"
+BRANCH ?= "master"
+
+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+TARGET = "pmmc-firmware.bin"
+
+do_install() {
+	mkdir -p ${D}/boot
+	cp ${S}/ti-keystone/${TARGET} ${D}/boot/${TARGET}
+}
+
+FILES_${PN} = "/boot"
Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#3 lore raw
Quoted 3 lines · Denys Dmytriyenko

I had the same question, but I don't have an answer yet. Right now I'm running with the assumption it's not required, as we don't place any other FW images in deploy.

Since this image is needed to boot linux (along with dtb and zImage), this will need to be in the SDK's "prebuilt-images". I'm not sure how to get images there other than through DEPLOY_DIR_IMAGE.

Quoted 51 lines · Jacob Stiffler
Quoted 49 lines

Will this firmware be placed in the DEPLOY_DIR_IMAGES?

Quoted 41 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
  recipes-bsp/pmmc-fw/pmmc-fw_git.bb | 27 +++++++++++++++++++++++++++
  1 file changed, 27 insertions(+)

create mode 100644 recipes-bsp/pmmc-fw/pmmc-fw_git.bb

recipes-bsp/pmmc-fw/pmmc-fw_git.bb new file +27 -0
new file mode 100644
index 0000000..0363bf6
@@ -0,0 +1,27 @@
+DESCRIPTION = "PMMC firmware"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
+
+PR = "r0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "k2g-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "474abaf61ef4778df84b74c4a50f740149b38115"
+BRANCH ?= "master"
+
+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+TARGET = "pmmc-firmware.bin"
+
+do_install() {
+	mkdir -p ${D}/boot
+	cp ${S}/ti-keystone/${TARGET} ${D}/boot/${TARGET}
+}
+
+FILES_${PN} = "/boot"
Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti