* [meta-fsl-arm][PATCH V3] qe-ucode :add recipes for Layerscape1 support
@ 2014-12-23 3:00 b40290
2014-12-24 17:19 ` Otavio Salvador
2015-01-05 22:21 ` Bob Cochran
0 siblings, 2 replies; 3+ messages in thread
From: b40290 @ 2014-12-23 3:00 UTC (permalink / raw)
To: meta-freescale
From: Chunrong Guo <B40290@freescale.com>
QE microcode from Freescale is typically provided as a header file.
This header file contains macros that define the microcode binary itself as well as
some other data used in uploading that microcode
Signed-off-by: Chunrong Guo <B40290@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 d659196..60df6c0 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 = "ls1021aqds.dtb"
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0"
diff --git a/conf/machine/ls1021atwr.conf b/conf/machine/ls1021atwr.conf
index e549ac3..73f222d 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 ?= "ls1021atwr.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..02c3119
--- /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"
+
--
1.9.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-fsl-arm][PATCH V3] qe-ucode :add recipes for Layerscape1 support
2014-12-23 3:00 [meta-fsl-arm][PATCH V3] qe-ucode :add recipes for Layerscape1 support b40290
@ 2014-12-24 17:19 ` Otavio Salvador
2015-01-05 22:21 ` Bob Cochran
1 sibling, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2014-12-24 17:19 UTC (permalink / raw)
To: chun guo; +Cc: meta-freescale
On Tue, Dec 23, 2014 at 1:00 AM, <b40290@freescale.com> wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
> QE microcode from Freescale is typically provided as a header file.
> This header file contains macros that define the microcode binary itself as well as
> some other data used in uploading that microcode
>
> Signed-off-by: Chunrong Guo <B40290@freescale.com>
Gary's remark was right. However your fix is wrong.
You should use the SoC Family for the compatible machine matching.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-fsl-arm][PATCH V3] qe-ucode :add recipes for Layerscape1 support
2014-12-23 3:00 [meta-fsl-arm][PATCH V3] qe-ucode :add recipes for Layerscape1 support b40290
2014-12-24 17:19 ` Otavio Salvador
@ 2015-01-05 22:21 ` Bob Cochran
1 sibling, 0 replies; 3+ messages in thread
From: Bob Cochran @ 2015-01-05 22:21 UTC (permalink / raw)
To: b40290, meta-freescale
On 12/22/2014 10:00 PM, b40290@freescale.com wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
> QE microcode from Freescale is typically provided as a header file.
> This header file contains macros that define the microcode binary itself as well as
> some other data used in uploading that microcode
If you're generating a V4 patch, perhaps you'll update these comments,
too. I think the text about a header file is stale or at least misleading.
>
> Signed-off-by: Chunrong Guo <B40290@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 d659196..60df6c0 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 = "ls1021aqds.dtb"
>
> SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0"
> diff --git a/conf/machine/ls1021atwr.conf b/conf/machine/ls1021atwr.conf
> index e549ac3..73f222d 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 ?= "ls1021atwr.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..02c3119
> --- /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"
> +
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-05 22:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-23 3:00 [meta-fsl-arm][PATCH V3] qe-ucode :add recipes for Layerscape1 support b40290
2014-12-24 17:19 ` Otavio Salvador
2015-01-05 22:21 ` Bob Cochran
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.