Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7BD8EE00BC3; Fri, 19 Dec 2014 00:04:46 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.169.134 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0134.outbound.protection.outlook.com [65.55.169.134]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F2427E00BB9 for ; Fri, 19 Dec 2014 00:04:44 -0800 (PST) Received: from CO2PR03CA0033.namprd03.prod.outlook.com (10.141.194.160) by BL2PR03MB433.namprd03.prod.outlook.com (10.141.92.19) with Microsoft SMTP Server (TLS) id 15.1.49.12; Fri, 19 Dec 2014 07:49:38 +0000 Received: from BN1BFFO11FD032.protection.gbl (2a01:111:f400:7c10::1:100) by CO2PR03CA0033.outlook.office365.com (2a01:111:e400:1414::32) with Microsoft SMTP Server (TLS) id 15.1.36.23 via Frontend Transport; Fri, 19 Dec 2014 07:49:38 +0000 Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD032.mail.protection.outlook.com (10.58.144.95) with Microsoft SMTP Server (TLS) id 15.1.26.17 via Frontend Transport; Fri, 19 Dec 2014 07:49:37 +0000 Received: from sun.ap.freescale.net (sun.ap.freescale.net [10.192.208.75]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id sBJ7nY5W022540; Fri, 19 Dec 2014 00:49:35 -0700 From: To: Date: Fri, 19 Dec 2014 15:49:31 +0800 Message-ID: <1418975371-1256-1-git-send-email-b40290@freescale.com> X-Mailer: git-send-email 1.9.2 X-EOPAttributedMessage: 0 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=B40290@freescale.com; X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(979002)(6009001)(339900001)(189002)(199003)(99396003)(120916001)(230783001)(2351001)(86152002)(106466001)(110136001)(81156004)(105606002)(31966008)(36756003)(89996001)(21056001)(92566001)(86362001)(19580395003)(87936001)(6806004)(19580405001)(69596002)(50466002)(47776003)(64706001)(20776003)(48376002)(85426001)(84676001)(50986999)(450100001)(62966003)(33646002)(68736005)(46102003)(77156002)(229853001)(107046002)(104016003)(77096005)(4396001)(50226001)(97736003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB433; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB433; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:BL2PR03MB433; X-Forefront-PRVS: 0430FA5CB7 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB433; X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Dec 2014 07:49:37.2925 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB433 Subject: [meta-fsl-arm][PATCH ] qe-ucode :add recipes for Layerscape1 support X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2014 08:04:46 -0000 Content-Type: text/plain From: Chunrong Guo 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 --- 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..6e4d9f4 --- /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" + +do_install () { + case ${MACHINE} in + ls1021atwr|ls1021aqds) QE_UCODE="iram_Type_A_LS1021a_r1.0.bin";; + *) QE_UCODE="";; + esac + install -d ${D}/ + install -m 644 ${QE_UCODE} ${D}/ +} + +do_deploy () { + case ${MACHINE} in + ls1021atwr|ls1021aqds) QE_UCODE="iram_Type_A_LS1021a_r1.0.bin";; + *) QE_UCODE="";; + esac + 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 = "(ls1021atwr|ls1021aqds)" + -- 1.9.2