Return-Path: Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe002.messaging.microsoft.com [207.46.163.25]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 05FCCE01472 for ; Wed, 20 Mar 2013 20:49:25 -0700 (PDT) Received: from mail205-co9-R.bigfish.com (10.236.132.225) by CO9EHSOBE025.bigfish.com (10.236.130.88) with Microsoft SMTP Server id 14.1.225.23; Thu, 21 Mar 2013 03:49:24 +0000 Received: from mail205-co9 (localhost [127.0.0.1]) by mail205-co9-R.bigfish.com (Postfix) with ESMTP id 59A7F4400E6 for ; Thu, 21 Mar 2013 03:49:24 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1f42h1ee6h1de0h1202h1e76h1d1ah1d2ahzz8275bhz2dh2a8h668h839he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1155h) Received: from mail205-co9 (localhost.localdomain [127.0.0.1]) by mail205-co9 (MessageSwitch) id 1363837762657171_26382; Thu, 21 Mar 2013 03:49:22 +0000 (UTC) Received: from CO9EHSMHS021.bigfish.com (unknown [10.236.132.225]) by mail205-co9.bigfish.com (Postfix) with ESMTP id 93E22A00052 for ; Thu, 21 Mar 2013 03:49:22 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO9EHSMHS021.bigfish.com (10.236.130.31) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 21 Mar 2013 03:49:22 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.2.328.11; Thu, 21 Mar 2013 03:49:21 +0000 Received: from sbuilder136.ap.freescale.net (sun.ap.freescale.net [10.192.208.136]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r2L3nHOh008700; Wed, 20 Mar 2013 20:49:18 -0700 From: Chunrong Guo To: Date: Thu, 21 Mar 2013 11:49:13 +0800 Message-ID: <1363837753-651-1-git-send-email-B40290@freescale.com> X-Mailer: git-send-email 1.7.5.4 MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [meta-fsl-ppc][PATCH] u-boot: update to the commit for sdk 1.3.2 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: Thu, 21 Mar 2013 03:49:25 -0000 Content-Type: text/plain Signed-off-by: Chunrong Guo --- recipes-kernel/u-boot/u-boot_git.bb | 29 ++++++++++++++++------------- 1 files changed, 16 insertions(+), 13 deletions(-) diff --git a/recipes-kernel/u-boot/u-boot_git.bb b/recipes-kernel/u-boot/u-boot_git.bb index bc19bb4..e322ab7 100644 --- a/recipes-kernel/u-boot/u-boot_git.bb +++ b/recipes-kernel/u-boot/u-boot_git.bb @@ -5,16 +5,15 @@ PROVIDES = "virtual/bootloader" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" -PR = "r29" +PR = "r30" INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc" inherit deploy -SRCREV = "c6d9d502924ade8877f53eecdd5cf37e05d6d6b4" -SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git" -SRCREV_e6500 = "9040d1ee41fc29fc7e9796bdfb59612f80bc1ee4" -SRCREV_e6500-64b = "9040d1ee41fc29fc7e9796bdfb59612f80bc1ee4" +SRCREV = "7bcd7f45c8974978f8eb73ae4d32e71cb6a49b77" +SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git \ + " python () { ml = d.getVar("MULTILIB_VARIANTS", True) arch = d.getVar("OVERRIDES", True) @@ -68,17 +67,21 @@ do_compile () { if [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin elif [ "${UBOOT_TARGET}" == "u-boot-nand" ];then - if [ "${DEFAULTTUNE}" != "ppce500v2" ];then + if [ "${DEFAULTTUNE}" = "ppce500v2" ];then + if echo $board |egrep "(P1020RDB|P1021RDB|P1024RDB|P2020RDB|P1022DS|P1025RDB)" 2>&1 >/dev/null;then + cp ${S}/${board}/u-boot-with-spl.bin ${S}/${board}/${UBOOT_TARGET}.bin + fi + else cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin fi else if [ -n "${BOOTFORMAT_CONFIG}" ];then - ${STAGING_BINDIR_NATIVE}/boot_format \ - ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ - ${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin - else - cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin - fi + ${STAGING_BINDIR_NATIVE}/boot_format \ + ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ + ${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin + else + cp ${S}/${board}/u-boot.bin ${S}/${board}/${UBOOT_TARGET}.bin + fi fi fi done @@ -133,4 +136,4 @@ addtask deploy after do_install PACKAGES += "${PN}-images" FILES_${PN}-images += "/boot" -ALLOW_EMPTY = "1" +ALLOW_EMPTY_${PN} = "1" -- 1.7.5.4