[meta-freescale] [meta-fsl-arm][PATCH v4 0/6] qe-ucode :add recipes for Layerscape1 support
b40290 at freescale.com
b40290 at freescale.com
Mon Jan 5 22:42:11 PST 2015
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>
---
conf/machine/ls1021aqds.conf | 2 ++
conf/machine/ls1021atwr.conf | 1 +
recipes-bsp/qe-ucode/qe-ucode_git.bb | 27 +++++++++++++++++++++++++++
3 files changed, 30 insertions(+)
create mode 100644 recipes-bsp/qe-ucode/qe-ucode_git.bb
diff --git a/conf/machine/ls1021aqds.conf b/conf/machine/ls1021aqds.conf
index f3bc1b4..6281538 100644
--- a/conf/machine/ls1021aqds.conf
+++ b/conf/machine/ls1021aqds.conf
@@ -15,6 +15,8 @@ UBOOT_CONFIG[qspi] = "ls1021aqds_qspi_config"
UBOOT_CONFIG[nor-secboot] = "ls1021aqds_nor_secboot_config"
UBOOT_CONFIG[lpuart] = "ls1021aqds_lpuart_config"
+QE_UCODE="iram_Type_A_LS1021a_r1.0.bin"
+
KERNEL_DEVICETREE = "ls1021a-qds.dtb"
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0 115200;ttyAMA0"
diff --git a/conf/machine/ls1021atwr.conf b/conf/machine/ls1021atwr.conf
index 4dfbe57..6c302d5 100644
--- a/conf/machine/ls1021atwr.conf
+++ b/conf/machine/ls1021atwr.conf
@@ -14,6 +14,7 @@ UBOOT_CONFIG[nor] = "ls1021atwr_nor_config"
UBOOT_CONFIG[sdcard] = "ls1021atwr_sdcard_config,sdcard"
UBOOT_CONFIG[lpuart] = "ls1021atwr_lpuart_config"
+QE_UCODE="iram_Type_A_LS1021a_r1.0.bin"
KERNEL_DEVICETREE ?= "ls1021a-twr.dtb"
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..af17312
--- /dev/null
+++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb
@@ -0,0 +1,27 @@
+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"
+
+do_install () {
+ install -d ${D}/
+ install -m 644 ${QE_UCODE} ${D}/
+}
+
+do_deploy () {
+ install -d ${DEPLOYDIR}/
+ install -m 644 ${QE_UCODE} ${DEPLOYDIR}/
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/*"
+ALLOW_EMPTY_${PN} = "1"
+COMPATIBLE_MACHINE = "(ls102xa)"
--
1.9.2
More information about the meta-freescale
mailing list