Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0B370E0056A; Thu, 26 Jun 2014 12:33:25 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.216.180 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-qc0-f180.google.com (mail-qc0-f180.google.com [209.85.216.180]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3AAF6E0043B for ; Thu, 26 Jun 2014 12:33:20 -0700 (PDT) Received: by mail-qc0-f180.google.com with SMTP id r5so3635576qcx.11 for ; Thu, 26 Jun 2014 12:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:organization :user-agent; bh=3xuTWzQVu79B7nnR6/KJOV9Sp6Tg0Nj2V8tV/OtW+4g=; b=IX2JF2s1euOYAJBlvx7nkhMW4l37hmMOKJqLzfisGIl+E/vUwj42eDcOTO1sZZbz1G NEpR+zuDYL+o+BMxsvupQwf3756ahk4PZr/foXy+dabJz8s7QslpqSoFCe+whICOiQe6 D1HoTW7Rx/Rf+p/5se2dGuJ20gWQBLIOjnTRrAiZBObeHx5oMN5BRSicmqdNE89+YC95 R4b2EmyXJeYI7lVywzDaKetSAdZ/7WBNhO22u8GkFJoJYxr0rx6F8IGdynsiXYOp53PY 6vnQtBsUDmtpGQP2vFVkYmjJ5S9ubQiNPVbiZbfdji20G1D9Yi926Uc7PVWTgchjyjkp th+w== X-Received: by 10.140.30.73 with SMTP id c67mr24439141qgc.16.1403811199598; Thu, 26 Jun 2014 12:33:19 -0700 (PDT) Received: from bill-the-cat (cpe-098-121-186-226.ec.res.rr.com. [98.121.186.226]) by mx.google.com with ESMTPSA id q12sm12626828qad.40.2014.06.26.12.33.18 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 26 Jun 2014 12:33:18 -0700 (PDT) Sender: Tom Rini Date: Thu, 26 Jun 2014 15:33:20 -0400 From: Tom Rini To: Denys Dmytriyenko Message-ID: <20140626193101.GQ9006@bill-the-cat> References: <1403806695-6302-1-git-send-email-denis@denix.org> MIME-Version: 1.0 In-Reply-To: <1403806695-6302-1-git-send-email-denis@denix.org> Organization: Texas Instruments User-Agent: Mutt/1.5.21 (2010-09-15) Cc: meta-ti@yoctoproject.org Subject: Re: [PATCH v2] u-boot: switch from SPL/MLO to "ais" image for omapl138 SOCs X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2014 19:33:25 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 26, 2014 at 02:18:15PM -0400, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > Signed-off-by: Denys Dmytriyenko > Cc: Tom Rini > --- > conf/machine/am180x-evm.conf | 4 +++- > recipes-bsp/u-boot/u-boot-ti.inc | 4 ++-- > recipes-bsp/u-boot/u-boot_2014.07.bb | 3 +++ > 3 files changed, 8 insertions(+), 3 deletions(-) > > diff --git a/conf/machine/am180x-evm.conf b/conf/machine/am180x-evm.conf > index 3182e8a..f83814e 100644 > --- a/conf/machine/am180x-evm.conf > +++ b/conf/machine/am180x-evm.conf > @@ -5,7 +5,9 @@ > require conf/machine/include/davinci.inc > require conf/machine/include/omapl138.inc > > -UBOOT_MACHINE = "da850evm_config" > +UBOOT_MACHINE = "da850_am18xxevm_config" > +UBOOT_SUFFIX = "ais" > + > UBOOT_ENTRYPOINT = "0xc0008000" > UBOOT_LOADADDRESS = "0xc0008000" Since we've got ENTRYPOINT/LOADADDRESS in here which also are omapl138 rather than am180x specific, that's OK with me. > diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc > index c024e96..0cb53ea 100644 > --- a/recipes-bsp/u-boot/u-boot-ti.inc > +++ b/recipes-bsp/u-boot/u-boot-ti.inc > @@ -1,3 +1,5 @@ > +UBOOT_SUFFIX ?= "img" > + > require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc This isn't completely safe, is it? The COREBASE version also has ?= for UBOOT_SUFFIX too. We need to either convince oe-core to use ??= or just populate our machine.conf/soc.inc files with UBOOT_SUFFIX. -- Tom