From patchwork Mon Mar 3 18:20:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 25628 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A1F3B20540 for ; Mon, 3 Mar 2014 18:20:37 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id g12sf22275650oah.3 for ; Mon, 03 Mar 2014 10:20:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:references:in-reply-to:cc:subject:precedence :list-id:list-unsubscribe:list-archive:list-post:list-help :list-subscribe:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list :content-transfer-encoding:content-type; bh=6m437zp2PzObJYSI8+KHSUurEn1ZmpP4lxvk/igffas=; b=eHBjfm7kyR+2kq1rvyuJXLj5qNHjnM0Co7wrrf8Z4QnIeiOVsMov7z0PweU6LeQxCk 3SlcNjNuOM7yOL/MW7jEqt96ZKWFpCC7qqHZv7aFagkumL+dWQw/cJI3+2znq1WUNnqP Y6nlIuB+ohjBdumRT/+R3BcQE2K60sBdJ3DMuRi+uNQTmbuiNf/UMdGjJoX5O33Fz0OU 3H7gLUR0VaqoE+i1wXlZF9R/gAEHa1hgHyBq0LncRYLd78LQ9/QtPmCE3/TDKF+2tZo4 KusTsWwJvOcm5PSHnYqv37gq4mVDje3ZpEPR5M72FrffTVq1yZ30+4O9Qxwn34pwAoV9 PKVw== X-Gm-Message-State: ALoCoQnQYftsAe1xEvjArI8dei/l9zrNg85MQ5JQKIWvhkATOEGJWjc8LTQiZL7uJejNAmntoSUX X-Received: by 10.182.24.5 with SMTP id q5mr14417378obf.23.1393870837007; Mon, 03 Mar 2014 10:20:37 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.117 with SMTP id 108ls2331749qgw.77.gmail; Mon, 03 Mar 2014 10:20:36 -0800 (PST) X-Received: by 10.220.200.6 with SMTP id eu6mr65869vcb.35.1393870836840; Mon, 03 Mar 2014 10:20:36 -0800 (PST) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id gq1si3414124vec.99.2014.03.03.10.20.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Mar 2014 10:20:36 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id cz12so4010864veb.35 for ; Mon, 03 Mar 2014 10:20:36 -0800 (PST) X-Received: by 10.58.231.169 with SMTP id th9mr42380vec.49.1393870836678; Mon, 03 Mar 2014 10:20:36 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.130.193 with SMTP id u1csp72519vcs; Mon, 3 Mar 2014 10:20:30 -0800 (PST) X-Received: by 10.194.143.40 with SMTP id sb8mr20424650wjb.15.1393870829978; Mon, 03 Mar 2014 10:20:29 -0800 (PST) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id wi6si11530528wjb.168.2014.03.03.10.20.29 for ; Mon, 03 Mar 2014 10:20:29 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3B0474B58F; Mon, 3 Mar 2014 19:20:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xs3i-WEFy3LP; Mon, 3 Mar 2014 19:20:28 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C69ED4B174; Mon, 3 Mar 2014 19:20:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 70C3D4B174 for ; Mon, 3 Mar 2014 19:20:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id buV-DA3Z7lES for ; Mon, 3 Mar 2014 19:20:19 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by theia.denx.de (Postfix) with ESMTPS id 7BD524B164 for ; Mon, 3 Mar 2014 19:20:15 +0100 (CET) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s23IKDrZ015630 for ; Mon, 3 Mar 2014 12:20:13 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s23IKDba006398 for ; Mon, 3 Mar 2014 12:20:13 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Mon, 3 Mar 2014 12:20:13 -0600 Received: from [158.218.101.126] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s23IKDiV019094; Mon, 3 Mar 2014 12:20:13 -0600 Message-ID: <5314C7DD.4090406@ti.com> Date: Mon, 3 Mar 2014 13:20:13 -0500 From: Murali Karicheri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: "Rini, Tom" References: <1392918914-15564-1-git-send-email-m-karicheri2@ti.com> <1392918914-15564-9-git-send-email-m-karicheri2@ti.com> <20140225221143.GK16805@bill-the-cat> In-Reply-To: <20140225221143.GK16805@bill-the-cat> Cc: "Kwok, WingMan" , "u-boot@lists.denx.de" , "Nair, Sandeep" Subject: Re: [U-Boot] [U-Boot PATCH v2 08/12] k2hk: add support for k2hk SOC and EVM X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m-karicheri2@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Will remove remove u-boot-nand.gph for time being as we didn't verify nand boot in this series. What you mean by re-writing for kbuild. The u-boot-spi.gph target is added similar to existing u-boot-spr (see just above this target). Could you provide an example? Murali diff --git a/Makefile b/Makefile index 47a03e3..ea2a387 100644 --- a/Makefile +++ b/Makefile @@ -491,6 +491,23 @@ $(obj)u-boot.spr: $(obj)u-boot.img $(obj)spl/u-boot-spl.bin --pad-to=$(CONFIG_SPL_PAD_TO) --gap-fill=0xff $@ cat $(obj)u-boot.img >> $@ +$(obj)u-boot-spi.gph: $(obj)u-boot.img $(obj)spl/u-boot-spl.bin + $(obj)tools/mkimage -A $(ARCH) -T gpimage -C none \ + -a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE) \ + -n SPL -d $(obj)spl/u-boot-spl.bin $(obj)spl/u-boot-spl.gph + $(OBJCOPY) ${OBJCFLAGS} -I binary \ + --pad-to=$(CONFIG_SPL_PAD_TO) --gap-fill=0 -O binary \ + $(obj)spl/u-boot-spl.gph $(obj)spl/u-boot-spl-pad.gph + cat $(obj)spl/u-boot-spl-pad.gph $(obj)u-boot.img > $@ + +$(obj)u-boot-nand.gph: $(obj)u-boot.bin + $(obj)tools/mkimage -A $(ARCH) -T gpimage -C none \ + -a $(CONFIG_SYS_TEXT_BASE) -e $(CONFIG_SYS_TEXT_BASE) \ + -n U-Boot -d $(obj)u-boot.bin $(obj)gph-u-boot.bin + @dd if=/dev/zero of=$(obj)zero.bin bs=8 count=1 2>/dev/null + @cat $(obj)gph-u-boot.bin $(obj)zero.bin > $@ + @rm $(obj)zero.bin > First, these need re-writing for Kbuild. Second, we don't ever use > u-boot-nand.gph or talk about it in the README, do we? Tom,