[meta-freescale] [meta-fsl-arm][PATCH v6 2/7] qe-ucode: add recipes for Layerscape1 support

B40290 at freescale.com B40290 at freescale.com
Mon Jan 12 17:36:31 PST 2015


Ping.


-----Original Message-----
From: b40290 at freescale.com [mailto:b40290 at freescale.com] 
Sent: Thursday, January 08, 2015 3:07 PM
To: meta-freescale at yoctoproject.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
Subject: [meta-fsl-arm][PATCH v6 2/7] qe-ucode: add recipes for Layerscape1 support

From: Chunrong Guo <B40290 at freescale.com>

   *qe-ucode are the microcode binaries for the QUICC Engine hardware block in QorIQ
  products.

Signed-off-by: Chunrong Guo <B40290 at freescale.com>
---
 recipes-bsp/qe-ucode/qe-ucode_git.bb | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 recipes-bsp/qe-ucode/qe-ucode_git.bb

diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb
new file mode 100644
index 0000000..28af4b6
--- /dev/null
+++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "qe microcode binary"
+SECTION = "qe-ucode"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=60037ccba533a5995e8d1a838d85799c"
+
+inherit deploy
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/qe-ucode.git;nobranch=1"
+SRCREV= "49efc94b553de5c2a9bd28093592eff0068e161c"
+
+S = "${WORKDIR}/git"
+
+python () {
+	if not d.getVar("QE_UCODE", True):
+		PN = d.getVar("PN", True)
+		FILE = os.path.basename(d.getVar("FILE", True))
+		bb.debug(1, "To build %s, see %s for instructions on \
+			     setting up your qe-ucode" % (PN, FILE))
+		raise bb.parse.SkipPackage("because QE_UCODE is not set") }
+
+do_install () {
+       install -d ${D}/boot
+       install -m 644 ${QE_UCODE} ${D}/boot }
+
+do_deploy () {
+       install -d ${DEPLOYDIR}/boot
+       install -m 644 ${QE_UCODE} ${DEPLOYDIR}/boot } addtask deploy 
+before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot/*"
+ALLOW_EMPTY_${PN} = "1"
+COMPATIBLE_MACHINE = "(ls102xa)"
--
1.9.2



More information about the meta-freescale mailing list