From patchwork Tue May 7 18:52:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 372 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A63753F381 for ; Tue, 7 May 2019 20:53:14 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id q73sf10771015pfi.17 for ; Tue, 07 May 2019 11:53:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557255193; cv=pass; d=google.com; s=arc-20160816; b=hyQeMpDMYR4dFIgWvT+olKgUl5ATYdJMT281av7jazgSvH+dv2MywuEJH74n1pDu91 hzbz7Oo4ocjlI3DTtGPaaQEyJsbPZpJljCv9UCtyyo9qdRv8y4dEuBFHwKFQWEZFmsoz J0cnHd9Vgo1/X170IRAzISH6Uqz4PfsL0ijZMhWYVdBYvxJdPYfyzGqHA1mG1E/4is8Z biza04yyd/0rg1y58oBqY647gy8WUkre9gnN705ybsKd6ALf7omdHt2m7zDng4yaDkEL d/vOKTlfUzo/iG2NpqxTGHWAiLglz05065o97NHk2fT9KwROJbOhoUaOS/PDPI7wIIAD 2D8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=wp1nZ+ixoSujFPfh/OcnTRxAE7+b1ERUbz9avPpqMHI=; b=J9C9PKAKYAHFpRabGKj98uuCkZK8MxOuDx+mHepOr6kYOtcLN2+RZZ7sj9MFnfRNG+ WqhafQPMk8GuvnBv58P3Nitlp7PFeizFO+L/gSZfGrRKHdpb1P1QEjKyUtl/4N9KxvqP ndKocqtvxj/v8H8Pr4STUm8gf5h49BxoYOb2BBjd1vOx2qL41OT99hDr74vMDUzN7bg9 LsqfY1WUMQ3VcltW2EwOLyi3I5vZPoyagbFZ7+x7Xvf3Hy1INIxFOBfUhWTchZxe4WDZ 62DsYemQecTYPanlh0heGUUuxjs7QM5TWOxIt63LrmmNEYA1JAAQ+WKW3fS8BU4Z0NLl UvVw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cpyAIKIo; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=wp1nZ+ixoSujFPfh/OcnTRxAE7+b1ERUbz9avPpqMHI=; b=XNwK+SK3hMrT3fZDD6XHp2dddCn0T+1pfrfMasQofvYpToyimJlliGHUxhZlysWWVh s9O1cSybPbZgCTmnJcqZiOfi78rSlFMRCgMRnC60Cyh2gftadjXsyIun7q4j2tdHw/6S ZHkzaDwXsdUCyAG0DSMsHZK1eNuk3ok+urtrg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=wp1nZ+ixoSujFPfh/OcnTRxAE7+b1ERUbz9avPpqMHI=; b=dz7kR6LpP0rAXz5us+ZuXEu7nSCtsOCMrCSSUpWCu7YXsL2215M3RH0fbbbeRJewPx 0H4+Ooc9KVO9Hz+7HBiKfK/8iBWKjHaScziIuvhM0pb09lC7vVGDkosPVmvtPU2ySLQU ODmltyNgtMA8+xEPn9ooBsGFFo1fh1m/+REelE5vX3syIAP2+VokoAM4NuqJ9p9g35le TWuQhH35gQ11xeaJh855taYeCICVnhF1EuP5cs4oNV9ELUU6J0WClLoeZJMzLNPIqX/X waEocFqwkBTvpek48NEfcRtMq1T2y+szntZDy9DiHp5NYQxbzN7tP7GyWdjBbHpuOO5m 1Quw== X-Gm-Message-State: APjAAAVXUepyAqrBnVgOLf45HM0meffc6FmZ15bVIBWkm49Qw1Wauoxa teAJ+EQ2vivevxfN/uT1s5eXhkkd X-Google-Smtp-Source: APXvYqy0RMlYhRfCzmJjNDzdHEde4KBg+2NRHSRZtPpFdFQgAra2ysMscg/g3mFoMdTN/9nXWF7pQg== X-Received: by 2002:a17:902:6bc5:: with SMTP id m5mr42677131plt.180.1557255193157; Tue, 07 May 2019 11:53:13 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:b611:: with SMTP id j17ls204696pff.13.gmail; Tue, 07 May 2019 11:53:13 -0700 (PDT) X-Received: by 2002:a65:44c7:: with SMTP id g7mr36943000pgs.399.1557255192864; Tue, 07 May 2019 11:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557255192; cv=none; d=google.com; s=arc-20160816; b=dofDnsxVq6Dswtk/A03oi10iqnrN67muWmRs3XdgSAtnVxRKUDbdDhzkQSGnhBWAyR LAzD2yL8BUAhOoTTys9tI6SGQGkliv0UlICGMhoKa64ajUR6XY2zTSnhCdneDnzp3GKF K0sGRQgpY7Xn8pXnu0qN5VIME4lH32fkIiIgE9E7ys9J4CNHwoUWhMNk6M7Ya2o63Qu6 tkm3xIQqoO1JigXZoI2Wgs5jq5YWVSJYRCS7kuYIYXnpZCbGJLvMIPe9ReHzTIjQAZtL S8lBj32jjixFcPfb0g7YdoTHIpzf0dfEDFtf9e7jpb3Tg9XBLncZSI79BUttvfOBqXvp Xg7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=2T/g02vSdhzKLNB1+UB5bfvHoCpXVenojxqrwIbyhYc=; b=i2ghdPLoqeBKbGeW5J0WUMgpskYaNr/MXBB3TYOxCGhCn1mnKZxg47QdSCKIoW7riY BsKuuu3mfUe50+r5z/91q+eW6E1WrN2gkP2lFnlhkMFSXYgypIgxJRnqYcAwprtfhUeH PJ0rxSWXL4MCsOBXFptwXrI7+y6EnjiktgnDpA1J/ZC4B5Ysp4HOVBlcMb2BIHhrhWk2 puwQLoPSDv8lmaTiBzFSzHxQoBx90LI7WTpITAu0aXOLT87t3zk7ulGjJwB6NNRlNAfr pr8ND85yud/kVHW0XycXWgYlq+p7hATDUxrcBfA0koT6Gkrz5H02HYr+atsP0ZOkK3Sq xYxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cpyAIKIo; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id f12sor14805392pgp.66.2019.05.07.11.53.12 for (Google Transport Security); Tue, 07 May 2019 11:53:12 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:1c6:: with SMTP id 189mr39955860pgb.22.1557255192569; Tue, 07 May 2019 11:53:12 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id l83sm14668086pfi.150.2019.05.07.11.53.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:53:12 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v3 1/6] Makefile: clean image.map Date: Wed, 8 May 2019 00:22:10 +0530 Message-Id: <20190507185215.15441-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190507185215.15441-1-jagan@amarulasolutions.com> References: <20190507185215.15441-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cpyAIKIo; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , binman tools for creating single image build will create image.map at the end, which has information about binman image node details. current u-boot, is unable to clean this image.map so add a command entry in clean target in Makefile. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d6a6ef19ab..de11446ed3 100644 --- a/Makefile +++ b/Makefile @@ -1813,7 +1813,8 @@ clean: $(clean-dirs) -o -name modules.builtin -o -name '.tmp_*.o.*' \ -o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \ -o -name '*.efi' -o -name '*.gcno' -o -name '*.so' \) \ - -type f -print | xargs rm -f + -type f -print | xargs rm -f \ + image.map # mrproper - Delete all generated files, including .config # From patchwork Tue May 7 18:52:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 373 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 955043F085 for ; Tue, 7 May 2019 20:53:17 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id t1sf10799092pfa.10 for ; Tue, 07 May 2019 11:53:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557255196; cv=pass; d=google.com; s=arc-20160816; b=W3qvsoyzV930RjCaZ4Bpvak98RqRyVa9LLBOwknc3cyrM4VyIjehJHfjCcesvy0FGI 655Ea0p8lqReSL+OPphajrX4WL66JyUAyinyyRL3pgQaweB9oK2Hv5ZMHVnun7UDQhQs yyS9b3I+WyiivB1ke/2cbNwQ4pi6J2RJakthJ1u4WT5XeZQeyz94QVYSlxUtE3NTL/CL XqUEtr5Z2qJcLbtQsZD5W9CtZlAG+Ds6gFy6Mu6ZDF2EzqZxyT7kROnHJlDtXQ9Kazqo QJpmyeiV0W/zRbsxdqgf5q+03iu3sWey6ZvUIi44l28XsP/dsXySmwtaYEGIXLVp2BvH AmlQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=iCpUmWFXQJbbPBIEWndyC/sOSphmGtwIl6QRH/74UZQ=; b=HInQJ3jhhRq4V1T7qH9fS+KdeTJh0ctun+Dzw23gVmPGNAe+fYQcgkJ0klCuac/q66 wSAfnk5huUU/IoNIlBPbktHbbcN/TOOvXw/O6SGyCyTC1ZAihivJEJVP+by6w9Y8bQVq 6RfaTNqknj4cZIjcmS7DJHFTT0eae2ua2rMupGP9aYGTzQ68ki68Eabsyv+RQQhrFR+I 5osTzKRXaU7e8BWIWNNsfM9sb6cN7LKgVkaOsq0A0anRbWsOIT+GwZ8EsV4+IrLeFX5q tKT/Z71PMrJ9iOeudP1PIXyYLzlO9RsJ/5eDl3eBUlVXnMjJh77MVctk+2Hwiaf7/2at ZGVw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LgTavitK; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=iCpUmWFXQJbbPBIEWndyC/sOSphmGtwIl6QRH/74UZQ=; b=FF0x4RoMWzyBK02Dwc/8St7Off3gLJVGqZPL4kgWuIwQmnxh5o1vuMAihIiCdbabdS SVc35kxzGuemi6dqyJP3Neeg4JtBS4pR4xh013V/Y0bHPH7BGhQ6BsEu6Im4254DDbrZ zMd5PUhj77p1SioxjdUCZv97gu6pOp4qPYTiM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=iCpUmWFXQJbbPBIEWndyC/sOSphmGtwIl6QRH/74UZQ=; b=t9ZgKvQyj9SW1cHIzvBHGYPCUD1ujIOP1X71d0V2sg+LppP/9TO/hBer09qpfZzrWC LeKkduW3i8VHpPBKzA8+yx9NTuEX4+wNvVMATwNSYB6X/ZvuBIj+kH9PURnmxH+58Eqy lPjMqszPH72ZhW89SkJ3+xIZP1oCNCkfMasGtiGGqyv+TrsuA9BPNuvCIMpzTkgstoGL rNywqQZqYWyS1SyzuYi9gB9RVLayv74Xgfns/gkummNSBubEcASlCAEP44EM9FONSo+w A3tUhH+ysWZM7/KAYNt5menGjmY2duwvY4RIA3Hmc+7s/CyLy3P9+TInvKgtJzpYJ//8 kVFg== X-Gm-Message-State: APjAAAUO7Xcvfk1b7lF7hb0hpiSU13/J34YpRHqY4lQPeDlvRaRJ6CLZ FF9ZKSJhuxcvk2+KXghqoTtdkBjY X-Google-Smtp-Source: APXvYqxYFDyLxwKQK5I5pzszAtD5gCk1aIMgt+6U2BvNr1bHlgKGtGa2QVECLA1lHtrdEaFb+Oqivg== X-Received: by 2002:a17:902:f24:: with SMTP id 33mr41598062ply.33.1557255196393; Tue, 07 May 2019 11:53:16 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:130a:: with SMTP id b10ls1132278pfj.14.gmail; Tue, 07 May 2019 11:53:16 -0700 (PDT) X-Received: by 2002:a63:2ace:: with SMTP id q197mr40763928pgq.371.1557255195997; Tue, 07 May 2019 11:53:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557255195; cv=none; d=google.com; s=arc-20160816; b=1EqMg864se9oVDadD2iBubizyhm4JEl5ENBI08T1zg32IzMBGIL7YU7wxRrJGovRd8 6XhTg3NCQVMY+lcvgvy74Ip9eUP1Ifeb4T3Nf13LxS2fsrW+vtH8eFAqducd7xiWYFde Ol+Ca7nIcN4i+J4SiRQjjQhI8W3dZ7EKOm8f9itHONpVDhI0/7g3u8vKVpeE7XStLvwW OrcTeR5l4FMl0x3rvSKEQ0rfDnX9ie/ZzBRtrh9jjTnNoj67+q8PtFY3JEkWkyMVxr1t Uj3YoWnr9GANyRu1+biDBEsl6C6Y+SmWDz9yAmRusF/M1hjhNW7qkWB8/FNxQJsxKwnz +QDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=5NdEw/MFl+V1N8bCDji05Xp8skxj9vixXwwnqbrnruo=; b=0nn02QgYUE9mjP0Czo5imXmSIRszCksNTrak1mw+eQmRdH8W6pGjEE5yWKLHsLE2lh xL9Qmj3EfVqNWgJSIpFmjs+mP/mZuX5j9Q+DTV2i8i/QEVfKDPZg/CO732b62+RQyTbc oCmIaZDwx+WMifty5u9LsC+kXPcAtWFI0zt0A1KMi2z9qUf0bsj6Ao91sSXt9oVUfodK 4f0RP9i5DV/t5AAP4iJrQ7zCxlEYiHKsSpLVphLQZ9sTVQ+Hj62LKR5g6gTGeY9gx+RE SEqTDCQMY27gp762fUMb7rxvRXT2Kxoctz0yX69WLhvTjkXnkfJBnKc3PLuvpbrnc6aY 1uVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LgTavitK; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id i36sor16523805plb.39.2019.05.07.11.53.15 for (Google Transport Security); Tue, 07 May 2019 11:53:15 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:fa2:: with SMTP id 31mr42827839plz.128.1557255195730; Tue, 07 May 2019 11:53:15 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id l83sm14668086pfi.150.2019.05.07.11.53.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:53:14 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v3 2/6] Makefile: clean bl31_*.bin Date: Wed, 8 May 2019 00:22:11 +0530 Message-Id: <20190507185215.15441-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190507185215.15441-1-jagan@amarulasolutions.com> References: <20190507185215.15441-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LgTavitK; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Rockchip platform has its python script that would generate various bl31_*bin for creating u-boot.itb file by taking bl31.elf as input. These bl31_*.bin files are generated in u-boot root directory and have no rule to clean it up. so add support for it by adding in command entry of clean target in Makefile. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de11446ed3..64c7976f7e 100644 --- a/Makefile +++ b/Makefile @@ -1814,7 +1814,7 @@ clean: $(clean-dirs) -o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \ -o -name '*.efi' -o -name '*.gcno' -o -name '*.so' \) \ -type f -print | xargs rm -f \ - image.map + bl31_*.bin image.map # mrproper - Delete all generated files, including .config # From patchwork Tue May 7 18:52:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 374 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B44843F085 for ; Tue, 7 May 2019 20:53:20 +0200 (CEST) Received: by mail-pl1-f200.google.com with SMTP id u1sf5430291plk.10 for ; Tue, 07 May 2019 11:53:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557255199; cv=pass; d=google.com; s=arc-20160816; b=Yqq1siDdqXFnaJ4KrXyNtRmOW29t4HZj0zXIBTEyd4GdfwdNGG8JKGYhVamh/cpU53 8lgemlZ+1kcIWONwOCKNqZdvJLV1fN/ODhiJ+MhGjN+xjDy9nrdYAoXHKWzRNV+KT6WM Pj31cjVkekyfvWpUV2zPww81fTBPzbPhkI+jvl50JlFJyAKpoiXUikGOD+c3SKy8UGX8 VkhfA5jxU8pyHj59apgnCbRfdm+pdb29hUjMX4+r0w5JLd4kil/elRGsJROw29bPu66k RMbFk1MeXejI4dFtz3zHt3Zmo0iCUA6NUyaj66cbj5OnEXk5HH93epxtw+4pzphVj7Ql ns3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=9fjLGT0vXXr/69TTWsmuIwWXReMICODUjGjWg2RPTkM=; b=lrc2MO3oDkilxljbkbG1apwBfpQnAD8m9SP1DCLsGlyFoDx+CTbpcpvBL+zMkIWXty 8jlZHSfmDbDGeQNInpDHFKawfVPlT0Hae0n6Wf2lHZKX5gP3kGegpVsKVP6U90iIJb1z CT3B4WTEjq1hzlTXkQwIgzNOPwuTzxQ9ytcIiUtcywJuhjyG45i8IGPLrQOHs6IUkveS ZFh0yM5/aOlh3mrSc9x+Q3H+XIo/ER+AVnIkpkz/VfFfJ/OUFeJbHCMkgT6Y0d6DKdqd dL0asn0s9/SbmM40FiTOI+4YJiKD+OhYrH+l+7dpWQXdiMIShPgqJocKVJyuwGFUjBrA gm+Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=k0PPTrpC; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=9fjLGT0vXXr/69TTWsmuIwWXReMICODUjGjWg2RPTkM=; b=Y9K6OxD0FGOZgvDD2KDrFpA524jb1RrdGmOo4uzLcUM62RUKTSRQPwa1vddYq0kO1m 2G+DYwWI2Iry9E1wwRkaXujcFBMl/qxO4E2dCktTNouYQ4hdbXkkD6xQjaH7ch2qnI7E 0Nl40m6zd963OkUXrha0rsffi/vkaBnImBsn0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=9fjLGT0vXXr/69TTWsmuIwWXReMICODUjGjWg2RPTkM=; b=Mbex7jF9xiGdcCREQuNs10uqKWm/unzdP+0XzXul76QEPcEFkFDKXWCJ0BdPVUyKkS aHPRsS/pMALqdWCAmtwexRt8KmeHS+V2eZ/LLyiyR7jsx46BJT/v276BUO2aYOHKfD7I Q40ksNPNCMqitG4/qcQK4lel2n5Nac1ofdboza215Zi4VIC2hQvnnPcwf48PoTRaXQjK mfHsa1+0vvoD7DWSU5hLPRjJDSB59d4HQRLKulW+VPsEbAPGfWsFx8CUPqr2ihX3PLbz WopB2GHKepWSBdPa/dT4jWLA2ri0e4f9bepOIfz+Nas4sv9Jw4uTFQUKRnlv62EBw3l9 QzEA== X-Gm-Message-State: APjAAAXTmOlSrWVMFgHD0gsPl/Tvlpc8lpFiTsfqhY3OYR1aVcKK6FaD 0y2weLnynauKPL5b6EZN+98kQYBo X-Google-Smtp-Source: APXvYqxD44151+BEvig3sFoP573HozI46yolIkTeqLaUa0mArTO5zf+2AYeiLxZ1ptorybff4ys82A== X-Received: by 2002:a17:902:9a48:: with SMTP id x8mr42256473plv.133.1557255199497; Tue, 07 May 2019 11:53:19 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:450d:: with SMTP id n13ls4124734pgq.5.gmail; Tue, 07 May 2019 11:53:19 -0700 (PDT) X-Received: by 2002:a63:e550:: with SMTP id z16mr41791634pgj.329.1557255199196; Tue, 07 May 2019 11:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557255199; cv=none; d=google.com; s=arc-20160816; b=LKYomaDPJF6icvRzAzW11Xikmda98k3WCxbIpXt/SERvZ1DdQtdvCJVtVVrXwXp1VN Hi3zsu+VHo6r6aLERUnEXfVKoa97v3Uyzl+1Pqd70MBAgczWuXLlBSQHYywmK2BeNNGK 50E8il5NMb/WSZYXSIxyv/+qvLZS9Ng6sjkf3HI/Lbjm5hdMastA+Xhn7M5viDGe684E ibzT5UJBsE78sZn3hEUalxNFsrJlIE3397X+hLOPTlQAj4mzeKjMC3ugJXtH6UYmdc3W S+dvH5MHxehqy2y8QVvVNx8AtJFG8Xl268SVXaSdQKVUVoXNl2sisKUorJSS5wSekEw1 RS/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=rqIb7elc/qRzjIW8DetaTB8B+9VR8vBHJgOxmRWjXRg=; b=H9+qnACTZwIHVY1Z1yTEBkA3edFCta66QeMamRAhPxNuxCbpbEMmHSeU69V0vLT+HS w4z2HOV6wJ8iEbLYPQUR+Zhu7KRZGFlAJBsGw9GrqAq2QMNSi1M7oRV6or7nDLPBk+ep t8aG1tnfwqU1m4Q6/4dqu8DzyAdXgaVTzNF0TFwHFvRK/MiPSnf6qWea3CHFjstdWE+y esnyNsCNPws6q2PRitYqqbT19UEXbZFHQj0BeyolzS4v+tmOK1fBPOWZj2lxzF70N1pb XZyKzJFiis0a/OWcQ+T3blPgzrwkYzwUy+t7F+0EuWal8nnL7eNC4y/kMrDz1pU5CcVE hXpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=k0PPTrpC; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id f3sor14869776pgv.57.2019.05.07.11.53.19 for (Google Transport Security); Tue, 07 May 2019 11:53:19 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:9d8d:: with SMTP id i135mr24820457pgd.245.1557255198884; Tue, 07 May 2019 11:53:18 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id l83sm14668086pfi.150.2019.05.07.11.53.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:53:17 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v3 3/6] travis.yml: Add pyelftools install entry Date: Wed, 8 May 2019 00:22:12 +0530 Message-Id: <20190507185215.15441-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190507185215.15441-1-jagan@amarulasolutions.com> References: <20190507185215.15441-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=k0PPTrpC; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Currently rockchip platform is using explicit 'make u-boot.itb' for building u-boot.itb but if we enable CONFIG_BUILD_TARGET as 'u-boot.itb' then the resulting u-boot.itb directly will create by make. But, that indeed make travis build fail since it require python-pyelftools host package. So add pyelftools install entry as 'pip install pyelftools', this would create pyelftools on travis host which are required to build rk3399 itb. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 8bd49ef1a5..94b795ef21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,6 +50,7 @@ install: - . /tmp/venv/bin/activate - pip install pytest==2.8.7 - pip install python-subunit + - pip install pyelftools - grub-mkimage -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd - grub-mkimage -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd - mkdir ~/grub2-arm From patchwork Tue May 7 18:52:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 375 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8BF533F085 for ; Tue, 7 May 2019 20:53:23 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id 93sf7983959plf.14 for ; Tue, 07 May 2019 11:53:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557255202; cv=pass; d=google.com; s=arc-20160816; b=ffqWJWagJrtDTgM0bxpFNie9CCS5/MLhVCNaP+DYD7fF+NGemakLisP8QHAYFehNOU 5J5A7sqtLGydvDRg5elB2CJ+ieB0MklFCUV87Ow75c30hO0LDKWo4kAK9htsPSjTZ03I 6+EhzyWds/OOHvT8RayZVqC9N0cUvzki085BvQnbTkYZTORAYODSjVRSFx2gbqbpjWC6 L52llfKsZYrQ3rJg9Uh/MFFabpPIlpf6AQVgbb5x/6GxKllbmplZ2Yi953oFevTdy4Bj 3v+bRMzSjxmOSdPQK6kHxQcZ0mhm9fr6dk0vvhbW8RrLXWV/f4iDTNku5r0smSlvOepe LwjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=RwB7xc8BrkumiUKIlQlfvtx3+v+1/zIvqxfD2RQpiJ4=; b=da3w6pD63jHBCwq1vP0Jf1LcVy1h+/s7HmZOtV5HxkhqBrSStK+Vel25s7RNSEuOw3 iYNXH/mjALRT7bkJ0FjE1BvYueTxDmO0lC+yUi1E66Ed3jmeOGiSQ9Bhue8y+oH8AHGe Vt1fNn5p984d3G3dF/XwZJM4wiIt3dBbxnTWk6t2F2MUtAoFo/2vpDw6dQ4Nj/shbkXD Uss9P0JyhrcrJYAtGKUS4BUxHNHVjBzG4VTMto1RlPnO6n55N8aARdj0VUaV9T26Gfmy 3ZOczA/bYwKC1HAGRrDpoM2OVFQ6GnpjZLRuQAoxTXNrbvt1XUSJ4cvgZLtptW1eRx6Q ddhg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=i6eOFKkZ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=RwB7xc8BrkumiUKIlQlfvtx3+v+1/zIvqxfD2RQpiJ4=; b=j8b41fHWsona7FjG6LQag9igdvmzfAklwJrLfQ1F8tinDUAb/4fVjzR4Qo4e7dc5y4 u6CusmWJDtNQjxheGzRqvSp2hW37CF66KlhCJmxxp+WXONM5TXxVgVusGa8XBoz6zwRq lZcCVNtezCoZc3H8jYWWo7qqQNNarQ8MGyaW8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=RwB7xc8BrkumiUKIlQlfvtx3+v+1/zIvqxfD2RQpiJ4=; b=VDfxIITrxpS7RZgVOwJkCG4SSFtFSBXGfISitdgQNOEw2KKBHk+1VjSHBsZggSc7+e GOM0+8IoVvSL0kYPKq5Rvk7Y2eiEpQHGIoji2xGjZSNeVqG0bOFZpUaOX8t8uiDrpumL b46Pj/Y6CHvUU6Tfean/PlROkyFokC64AuxGNS8YHrOHtijaL9kwLiB9UEMCo+3LYvOv E8l/9LZGyggXVjD/BvaWVxVdlpAEQ5hA3KLZrYrkXRBH9qg2DNhmrEg1cuji5f+bToaZ Jjszv7T+VayCIQ+kB/syUtCUUpsdftebEO9N+Nzs54WlQBKE6QyOFxoBa2r5CwjfOqBZ 1Hxw== X-Gm-Message-State: APjAAAUZrWgNjIURP7QNC94btG1l5WUw8uHmhJMz7Bl8yyX4Kyg9rvBj 6ard1oIu4pGAdHmKIn6bQ/jkGzbn X-Google-Smtp-Source: APXvYqyQGENrvEIFcCCDw8foclbAJAAE2Gccg+jUk3oEaBIIDhD1iQzCKpr3OrOBmJya8/ETxPeLHA== X-Received: by 2002:a17:902:f20a:: with SMTP id gn10mr41559148plb.90.1557255202383; Tue, 07 May 2019 11:53:22 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:8085:: with SMTP id v5ls4705271pff.5.gmail; Tue, 07 May 2019 11:53:22 -0700 (PDT) X-Received: by 2002:aa7:8212:: with SMTP id k18mr42487144pfi.50.1557255202019; Tue, 07 May 2019 11:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557255202; cv=none; d=google.com; s=arc-20160816; b=zyzRCPiZOzTEOu/+7bJBQrP8vl6O0D327UChb6qrR6NVFXQGrBQ/8ETN1G8rO3JSh7 mWKyVWXiSQjrCwXiCbxTWSVf84XAPKT6jIDIckbPBFGFAyZRf79VWViLtdTlqTu7BeMR 0LB/TFCXQTTxQRsJj08ojNJ+RvQx79w8rSxIQUYMRYuEgIBRnkZ4sXXUrDC1SLcTNTCv D1OEkWx1vR6AgCy8AGqWKbueZucDi9x2CwAJP5cZlwL7i3bXP7NuBuvJDTR/barGTGGE 0z8ZIgIutB07VRtLPEg2U1VgkSwx3an9bCZFW0DwevvZREOw7Qc3k5qwCPZkC9ItSmdO eckQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ImNKcjJPl5FDOV/JNbJNwcLPUBrNQElhulqr/rR/aLM=; b=kDJdbmO8+cniofZLbQq1IhZSAa5GSX+ZzsIZzHbTdvaOd38w58L+yfuHIVahew0OZE KRDX6PKXH44DxTT0M4o35tatr+sIObt3e77uD65QVm2uXcCCT691jMKU8JYizlAuiHmy JJ9fmnxuIqWfULD/3HdrpylDB1akFlwWbxu6mpqA3a/mNgtlkMHKZCPhkYyUZXqCquWH rWHCquVD2aezUecO9Mrb4udrC6bvQCb1IQfSL14iafAqq19/i3LYltkW1q4C5rP4cAC1 QqVPWkjBR/RdXFnhl7P/ruaIpZSkKTspERgCzAaKgAN0bMDLwYSafpdH/ffPAFswzQq6 wJEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=i6eOFKkZ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id o5sor5400501pgo.4.2019.05.07.11.53.22 for (Google Transport Security); Tue, 07 May 2019 11:53:22 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:1d1d:: with SMTP id d29mr13318423pgd.63.1557255201725; Tue, 07 May 2019 11:53:21 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id l83sm14668086pfi.150.2019.05.07.11.53.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:53:21 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v3 4/6] rockchip: rk3399: Get bl31.elf via BL31 Date: Wed, 8 May 2019 00:22:13 +0530 Message-Id: <20190507185215.15441-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190507185215.15441-1-jagan@amarulasolutions.com> References: <20190507185215.15441-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=i6eOFKkZ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Right now rockchip platform need to copy bl31.elf into u-boot source directory to make use of building u-boot.itb. So, add environment variable BL31 like Allwinner SoC so-that the bl31.elf would available via BL31. If the builds are not exporting BL31 env, the make_fit_atf.py explicitly create dummy bl31.elf in u-boot root directory to satisfy travis builds and it will show the warning on console as WARNING: BL31 file bl31.elf NOT found, resulting binary is non-functional WARNING: Please read Building section in doc/README.rockchip Note, that the dummy bl31 files were created during not exporting BL31 case would be removed via clean target in Makefile. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Makefile | 2 +- arch/arm/mach-rockchip/make_fit_atf.py | 11 ++++++++++- doc/README.rockchip | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 64c7976f7e..c5078b95b7 100644 --- a/Makefile +++ b/Makefile @@ -1814,7 +1814,7 @@ clean: $(clean-dirs) -o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \ -o -name '*.efi' -o -name '*.gcno' -o -name '*.so' \) \ -type f -print | xargs rm -f \ - bl31_*.bin image.map + bl31.c bl31.elf bl31_*.bin image.map # mrproper - Delete all generated files, including .config # diff --git a/arch/arm/mach-rockchip/make_fit_atf.py b/arch/arm/mach-rockchip/make_fit_atf.py index d1faff1957..327875d87b 100755 --- a/arch/arm/mach-rockchip/make_fit_atf.py +++ b/arch/arm/mach-rockchip/make_fit_atf.py @@ -10,6 +10,7 @@ usage: $0 [ [ bl31.c") + os.system("${CROSS_COMPILE}gcc -c bl31.c -o bl31.elf") + bl31_elf="./bl31.elf" + logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG) + logging.warning(' BL31 file bl31.elf NOT found, resulting binary is non-functional') + logging.warning(' Please read Building section in doc/README.rockchip') opts, args = getopt.getopt(sys.argv[1:], "o:u:b:h") for opt, val in opts: diff --git a/doc/README.rockchip b/doc/README.rockchip index ca4d6473b0..98a3824e2c 100644 --- a/doc/README.rockchip +++ b/doc/README.rockchip @@ -149,8 +149,8 @@ For example: => make realclean => make CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399 - (copy bl31.elf into U-Boot root dir) - => cp build/rk3399/release/bl31/bl31.elf /path/to/u-boot + (export bl31.elf) + => export BL31=/path/to/arm-trusted-firmware/build/rk3399/release/bl31/bl31.elf - Compile PMU M0 firmware From patchwork Tue May 7 18:52:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 376 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 182CC3F085 for ; Tue, 7 May 2019 20:53:27 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id f8sf10425058pgp.9 for ; Tue, 07 May 2019 11:53:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557255205; cv=pass; d=google.com; s=arc-20160816; b=siYiGq6qZ/qsqt9cDjlbLaLPxPyZT1imAZzxOKBat+mKYO/vH6DkxAxHYSjw/s/e4p YwhbG5vgetOKvnHniIrGe2hj2oqNeIB2Z9vwC/265tiTTRpPMzpB8Mus7J/n7vJnZR4H 4m3jsAAN1Apzv4MjD063GLi2epdMa2S/w/6I/+ArP6rydph5E4iuUUz1ZE/Vo3tP04hh 5CGujB06v+cGkHNnMQhFSD9SvXStCnfm7qj/rT4LdxPmx5w/573o4RYr+dS4xTX5tXiu H+GJRKc9tbeSHtd3SjbHGLAxgIZw5yM952AYseClOBu3sS9NguTadEn+KrrhN+Fkg5Xc L4FQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=RGnu4JHnK5DAzvvjZ0LLUBEKbi3ycGwZCzA9lfUmWLk=; b=EsS2gR4tBM5fUryopBRkkKdjts4niRN2ZHMPGZj2b6ttBv9uPkbemb4xBHgXeOyFti xGvT3LsLIk3a8fRZhLblibUaa5GqGntca59LnGVT9mIClmETkhmonrvyXOkwzP2stTy0 A0VQUkrepp4tAP+hMm8Ngpq3Mq+8r9YAFP4XU8UkiYefo0mT9YxrLw7vty546HNLTx4I o2E/PikU2/UnY9WanfdEd5gTIF0Bp3HPodXuacBe/QXdm0Edf22I9d3n6fIjDKLyNE1N XgUX/2ojJbHkZZqavO5+ptQPmihe44m+j8Q/M72YPUCZghcEXFZZP6QQE6IqsDEzorQd aoeg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JtxEDEWP; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=RGnu4JHnK5DAzvvjZ0LLUBEKbi3ycGwZCzA9lfUmWLk=; b=hNrQuWom4bj4J90cZp+S8s8HC3k9c1w0USDEIWCsU0MVXSl4dJV34JS05KLU5lz1gD 6XVYHZBBGXDO3a12geaqMGi/LFpW/Ek7Z/7K34agK/WxB3DvtykBCzbcm9NOUCUPm0qQ FERXxrlk0cn/zh/v5LAGknar3XMWzJZdR32TM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=RGnu4JHnK5DAzvvjZ0LLUBEKbi3ycGwZCzA9lfUmWLk=; b=FMRtAVNgKL+eq63SQAkT5bjb9LkeTws4/DRkPW7o/iRxcBT0oLOYJna9e48HwQiPzR 74XgJIG7eczHOBE3yLz35+iEzOwsCMqqrBzzxUs2qDEJNKqRSiVh0N0mfnJ/WnqCR9zR I4mItafr3oaMzgG++2YMpTmx+NmrWrCfoLK1vK2pdB6neVnlhcFTQSOgoH82Rv4pyzuN Xv6JlRqwo+Dnr1pdnSkBZioAD+y+nxeATeaF/OhXl4eMtiFjZ3xjE/pBknUSB+hAeNO/ nHuZeaoJl8CgzAEPNSPjKY0uYl3YudwvihJZ47RnILLZE7M4b+K3ij55+tvs1NGJo0er I6ZQ== X-Gm-Message-State: APjAAAWo2ehbGs9Mutat/P6j95ZP/wcyImC7LNHJj0j3zMet9D4Pi5y7 PQ6NpeUcs0/Xz/vB9ZK4X8Dk44DX X-Google-Smtp-Source: APXvYqw0dvC200V36lOEMsBkUFnF66DuNIID6KbOuVT25ggy/PofWfiU61PqLCv+e8KxrNFu1kjmEA== X-Received: by 2002:aa7:8b88:: with SMTP id r8mr42559803pfd.174.1557255205683; Tue, 07 May 2019 11:53:25 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:9ae3:: with SMTP id y3ls502851pfp.6.gmail; Tue, 07 May 2019 11:53:25 -0700 (PDT) X-Received: by 2002:a63:cf:: with SMTP id 198mr40001097pga.228.1557255205306; Tue, 07 May 2019 11:53:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557255205; cv=none; d=google.com; s=arc-20160816; b=cLFZ6rVYv5QOzBReCTCFeiB9GI1QC1VnvLSeNVrGvhV2k8cnJqpjjXiqf77m30ha3A /5kxogJO/StOr6FLVYXDtb0+UGgukOfM8pr73xA/Tm3JnXmKnTYB9WJozZ9XmoJCmGPb IlJcngI0Hd9hMbfQm1NLqxYw9ipX0A7rncWc64mFhE4lsHf1Pk3byP4wckzeoJHlRU4+ z+tj4fCJYHepCYyTzSDf6v0lWZzL53i/pRqPjq5oexlXjMWTDX4wYttQix4mR/WbZ2UT S6XZrU2mxMgTElwNWyULKqhKT4nHUlQjKlFeKEFSXQssrkK5uyaOtaILvMp1bIfFOIVW TQKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=a8TL1A8mko6vB61txBIgdGp5GFnZlWXk1NU1ryfITfM=; b=BDhW+kslIjFm69JNlo6yEPRwUWrcBhFHO4MeMYIs4nw0oalppygkPqo+lUlYbVR8WZ FP6w7r0d09RJUkJISNo+tI9lykRutcxxrojuTEEJ36JI2yAn8GmcV2RG6U9jmIXFCKyB i+G2nuFkxbVgCwhgPjsgeFGgYH0YyNQATX/mAybggqqBqAXtGsBImMjfM46WxLUYUbt6 1v3T+iBH4Klz12MykIDOSDwdBCm4Zo3vWA6Z+9J0gs3yt3wfFdXIEP0+/K8wVIX8PX1g adHNsaCweLD7G1Lox/1/h2ncnkODY9aD9B9Krbc+jDf3lwF5ssJIKH9u7VdsX9ZTVG7X A2XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JtxEDEWP; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id f123sor16314546pfg.13.2019.05.07.11.53.25 for (Google Transport Security); Tue, 07 May 2019 11:53:25 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:aa7:8384:: with SMTP id u4mr42134083pfm.214.1557255204939; Tue, 07 May 2019 11:53:24 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id l83sm14668086pfi.150.2019.05.07.11.53.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:53:23 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v3 5/6] board: puma: Get bl31.bin via BL31 and rk3399m0.bin via PMUM0 Date: Wed, 8 May 2019 00:22:14 +0530 Message-Id: <20190507185215.15441-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190507185215.15441-1-jagan@amarulasolutions.com> References: <20190507185215.15441-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JtxEDEWP; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Right now puma rk3399 board need to copy bl31-rk3399.bin and rk3399m0.bin into u-boot source directory to make use of building u-boot.itb. So, add environment variable - BL31 for bl31.bin (instead of bl31-rk3399.bin to compatible with other platform BL31 env) - PMUM0 for rk3399m0.bin If the builds are not exporting BL31, PMUM0 env, the fit_spl_atf.sh will notify with warning about which document to refer for more information like this: WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional Please read Building section in doc/README.rockchip WARNING: PMUM0 file rk3399m0.bin NOT found, resulting binary is non-functional Please read Building section in doc/README.rockchip Signed-off-by: Jagan Teki --- .../puma_rk3399/fit_spl_atf.its | 58 ------------ .../puma_rk3399/fit_spl_atf.sh | 94 +++++++++++++++++++ configs/puma-rk3399_defconfig | 2 +- doc/README.rockchip | 8 +- 4 files changed, 99 insertions(+), 63 deletions(-) delete mode 100644 board/theobroma-systems/puma_rk3399/fit_spl_atf.its create mode 100755 board/theobroma-systems/puma_rk3399/fit_spl_atf.sh diff --git a/board/theobroma-systems/puma_rk3399/fit_spl_atf.its b/board/theobroma-systems/puma_rk3399/fit_spl_atf.its deleted file mode 100644 index 530f059f3d..0000000000 --- a/board/theobroma-systems/puma_rk3399/fit_spl_atf.its +++ /dev/null @@ -1,58 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ OR X11 */ -/* - * Copyright (C) 2017 Theobroma Systems Design und Consulting GmbH - * - * Minimal dts for a SPL FIT image payload. - */ - -/dts-v1/; - -/ { - description = "FIT image with U-Boot proper, ATF bl31, M0 Firmware, DTB"; - #address-cells = <1>; - - images { - uboot { - description = "U-Boot (64-bit)"; - data = /incbin/("../../../u-boot-nodtb.bin"); - type = "standalone"; - os = "U-Boot"; - arch = "arm64"; - compression = "none"; - load = <0x00200000>; - }; - atf { - description = "ARM Trusted Firmware"; - data = /incbin/("../../../bl31-rk3399.bin"); - type = "firmware"; - arch = "arm64"; - os = "arm-trusted-firmware"; - compression = "none"; - load = <0x1000>; - entry = <0x1000>; - }; - pmu { - description = "Cortex-M0 firmware"; - data = /incbin/("../../../rk3399m0.bin"); - type = "pmu-firmware"; - compression = "none"; - load = <0x180000>; - }; - fdt { - description = "RK3399-Q7 (Puma) flat device-tree"; - data = /incbin/("../../../u-boot.dtb"); - type = "flat_dt"; - compression = "none"; - }; - }; - - configurations { - default = "conf"; - conf { - description = "Theobroma Systems RK3399-Q7 (Puma) SoM"; - firmware = "atf"; - loadables = "uboot", "pmu"; - fdt = "fdt"; - }; - }; -}; diff --git a/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh b/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh new file mode 100755 index 0000000000..420e7daf4c --- /dev/null +++ b/board/theobroma-systems/puma_rk3399/fit_spl_atf.sh @@ -0,0 +1,94 @@ +#!/bin/sh +# +# SPDX-License-Identifier: GPL-2.0+ +# +# Copyright (C) 2019 Jagan Teki +# +# Based on the board/sunxi/mksunxi_fit_atf.sh +# +# Script to generate FIT image source for 64-bit puma boards with +# U-Boot proper, ATF, PMU firmware and devicetree. +# +# usage: $0 [ [&2 + echo "Please read Building section in doc/README.rockchip" >&2 + BL31=/dev/null +fi + +[ -z "$PMUM0" ] && PMUM0="rk3399m0.bin" + +if [ ! -f $PMUM0 ]; then + echo "WARNING: PMUM0 file $PMUM0 NOT found, resulting binary is non-functional" >&2 + echo "Please read Building section in doc/README.rockchip" >&2 + PMUM0=/dev/null +fi + +cat << __HEADER_EOF +/* SPDX-License-Identifier: GPL-2.0+ OR X11 */ +/* + * Copyright (C) 2017 Theobroma Systems Design und Consulting GmbH + * + * Minimal dts for a SPL FIT image payload. + */ + +/dts-v1/; + +/ { + description = "FIT image with U-Boot proper, ATF bl31, M0 Firmware, DTB"; + #address-cells = <1>; + + images { + uboot { + description = "U-Boot (64-bit)"; + data = /incbin/("u-boot-nodtb.bin"); + type = "standalone"; + arch = "arm64"; + compression = "none"; + load = <0x4a000000>; + }; + atf { + description = "ARM Trusted Firmware"; + data = /incbin/("$BL31"); + type = "firmware"; + arch = "arm64"; + os = "arm-trusted-firmware"; + compression = "none"; + load = <0x1000>; + entry = <0x1000>; + }; + pmu { + description = "Cortex-M0 firmware"; + data = /incbin/("$PMUM0"); + type = "pmu-firmware"; + compression = "none"; + load = <0x180000>; + }; + fdt { + description = "RK3399-Q7 (Puma) flat device-tree"; + data = /incbin/("u-boot.dtb"); + type = "flat_dt"; + compression = "none"; + }; +__HEADER_EOF + +cat << __CONF_HEADER_EOF + }; + + configurations { + default = "conf"; + conf { + description = "Theobroma Systems RK3399-Q7 (Puma) SoM"; + firmware = "atf"; + loadables = "uboot", "pmu"; + fdt = "fdt"; + }; +__CONF_HEADER_EOF + +cat << __ITS_EOF + }; +}; +__ITS_EOF diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index 03f0bfdb59..ebc78fb216 100644 --- a/configs/puma-rk3399_defconfig +++ b/configs/puma-rk3399_defconfig @@ -15,7 +15,7 @@ CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_DEBUG_UART=y -CONFIG_SPL_FIT_SOURCE="board/theobroma-systems/puma_rk3399/fit_spl_atf.its" +CONFIG_SPL_FIT_GENERATOR="board/theobroma-systems/puma_rk3399/fit_spl_atf.sh" CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-puma-haikou.dtb" CONFIG_MISC_INIT_R=y # CONFIG_DISPLAY_CPUINFO is not set diff --git a/doc/README.rockchip b/doc/README.rockchip index 98a3824e2c..88a4593392 100644 --- a/doc/README.rockchip +++ b/doc/README.rockchip @@ -137,8 +137,8 @@ For example: => cd arm-trusted-firmware => make CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399 bl31 - (copy bl31.bin into U-Boot root dir) - => cp build/rk3399/release/bl31/bl31.bin /path/to/u-boot/bl31-rk3399.bin + (export bl31.bin) + => export BL31=/path/to/arm-trusted-firmware/build/rk3399/release/bl31/bl31.bin For rest of rk3399 boards. @@ -162,8 +162,8 @@ For example: (export cross compiler path for Cortex-M0 PMU) => make CROSS_COMPILE=arm-cortex_m0-eabi- - (copy rk3399m0.bin into U-Boot root dir) - => cp rk3399m0.bin /path/to/u-boot + (export rk3399m0.bin) + => export PMUM0=/path/to/rk3399-cortex-m0/rk3399m0.bin - Compile U-Boot From patchwork Tue May 7 18:52:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 377 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 7A9773F085 for ; Tue, 7 May 2019 20:53:30 +0200 (CEST) Received: by mail-pl1-f199.google.com with SMTP id y9sf107307plt.11 for ; Tue, 07 May 2019 11:53:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1557255209; cv=pass; d=google.com; s=arc-20160816; b=kyjS0InA5EuOALQl+0cQNQ2hbxGJZi/SKnCDwefcO39Y506QqEK6IsFrv4xv8OpkDi EAIYPHxCL9jvuuob3AfEafVg/+c8WXEylrNQY/ZTDB2fZHQH+Ar/1qlHtW7i+hGswpTe xzGmloo+qB/Ko5n+vJH5G3GsFxTREfEE1+iCHYmUhV3xFeGKTl1KQdcdwIYDY7axR8Ri Fw9x9OgZYYLhN8R5OU3elaGY3zHcWaWynsgLNCvl08bxOXbhk5ewF52Gpe/GQFyvBhpN ewn43H2Uacja0qXPYXNvUi+VRL4WQXA+iH4pGlnLU+ts//Rzv4etRx4pmfCX8XxoAy6E tihQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=FXZRT6daQMcvOZmCLMat6GmeQ12undToGSTvErIBegM=; b=WDN6WTIy56VriK0auYqTVQvuZ2FF6/xyn2oO9t75NMtnmQR0wy5eTMKsp1eLXvyg38 uUAeDZrrtNCI37ULUY46ia0oVyDP7QhY+XD/yXfxhlqqplz58Rw0/cywu98veNmzA1sz 3D/cZg5mGBqXrcxFEfC4sviI3xZuN+DrUIMLfWkMaYpSImKqYLBocj6OWTGL8wbv6TlQ HkgXXcASb2wKEHxNWl405/PPlicSDIy8RiKzcbYWj5bIforYCMacSSvGMcHsQ276t8SL JkNkRz3cU5q34avdjs1wJyRjQBlyOGHQhPsc9OaPthIhNj9YsPHsGihGfidEWbzE93AL pL/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VIvPc4nP; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=FXZRT6daQMcvOZmCLMat6GmeQ12undToGSTvErIBegM=; b=N5GxfUHHf+zfmUWLzmAcW+kTymAgsvDcafTJnotSckPU6JGXWGq0oEkW6mYtIPX3qS I06JvF7SjjFYeFbhbFbT6jjrcllDzOlOTQSYJVx4z12792xkhr81P3KKriwzO2SBGYcg yvMHi6nYNVr9V3Aq8+qXvwWS7M+YouWFbLjQQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=FXZRT6daQMcvOZmCLMat6GmeQ12undToGSTvErIBegM=; b=g6DU8tZHSffKtHn2JiMjx1EvpnyZQvQOkIuHUPt+kz4VOvXZl8iivmtb/S2va0LvmE LbHF9q1bss7lUKSTk/HpDin7WpY7GrY80YXJmx1xmKQA5OLje33HNd14CI+lK+rd2hYw gxKF6gULY5ebvG2AlOPxIKX6k1bQU2lCGHORqjZLizUT26oe+Nnp8As4VLwIk/bv5k3e VH8iL+qnHys078nxjpuaKzEvH58AfAburQwOj/JfVuctxakZNA3J/ybise0aOJM0uSUq 2+p7VK/DbNJJipXdEW0xUgHb2Xa1jMPOf8HyyxPLV/YjUetd6s4my+6y7C2bVewesAt0 7g0A== X-Gm-Message-State: APjAAAUJJLA/zSVqiULhTr2lGvTXs+X+miZLQIvxkOQ7wCBim0kShfPf +WuKD9uECYgsGlVh0pYO9ArXpVcI X-Google-Smtp-Source: APXvYqxLnHNAFOclzdOMNoujZpxzVb0Uz1xc6lEwO475xO2r/9G+0JIc2piS/TmMPdelM9aLR5ar8w== X-Received: by 2002:a63:b48:: with SMTP id a8mr39225037pgl.368.1557255209313; Tue, 07 May 2019 11:53:29 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:683:: with SMTP id 3ls4319806plh.1.gmail; Tue, 07 May 2019 11:53:28 -0700 (PDT) X-Received: by 2002:a17:902:8ecc:: with SMTP id x12mr42120591plo.0.1557255208875; Tue, 07 May 2019 11:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557255208; cv=none; d=google.com; s=arc-20160816; b=KphdkPVNiveAgOOvO0+j4mE85Q8ipjO2uyQ7FQ7Xbs8nix9FXQywYyHG2ldsztKUyP yS6t+lerQRsneJKlzPvq9iU8ADdqik50JUHsNPvhUR5yL+hYeLxGqotbt3gOiIfHhMjm +blD3+4IEtYyume/dH+Y5rtMCJYkJvrFdPFwPreg7agUKg+DYouIeXkeIJsNnw2AMqjB WJkmx21M8x/r6bwsnAkEfs3+O8G6+5MGMdVP+VFK+RdD9wVn9diw6X++O/wPMYrmRJd3 rzh8J7U/4IHmiDMpd4ZBZWiNcZxFC4BbeBC5GW+YpUhNjovcldE3O8LbZPHndMhYDBhd udYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=3YaCBa1O0k1RP1Yy3LgAZQbXlYI99ssAvRO6LMhpi34=; b=Iy7YxIcNS+0bWN/yRP0XAix5KOeJ/fMgw5ao8r+C0tU9uJvQVB75voc/81NXq5WQF+ 4H7KDPB9Ril9OJifQGP7dQdHS2EdBlihe1HCyMsRtUpbggMx6ONs5ZyuIA6JDjsWzyUk 0Ch7bpqxo0hCOs6TXU0aUmm+02HhNzI+lhrejuIpNT0yhMyXClMHfQ5AZ47Mb3yHqukO rGOduxbJEf7sWDWt5h45whuJlof5NKw2xLy5mzLp8boQAXPYAIaiFSgefCEJtncuDRbs mjy07XDiblUzZpU/Hde3ZqIKfDJ5sfUiP/sudbJ31KS1zZXCjPQZ7yhN0AcIOPbpQ9La JrHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VIvPc4nP; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id r10sor16321937pfd.10.2019.05.07.11.53.28 for (Google Transport Security); Tue, 07 May 2019 11:53:28 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:2687:: with SMTP id m129mr44306913pfm.204.1557255208558; Tue, 07 May 2019 11:53:28 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id l83sm14668086pfi.150.2019.05.07.11.53.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 11:53:28 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v3 6/6] Kconfig: Add u-boot.itb BUILD_TARGET for Rockchip Date: Wed, 8 May 2019 00:22:15 +0530 Message-Id: <20190507185215.15441-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190507185215.15441-1-jagan@amarulasolutions.com> References: <20190507185215.15441-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VIvPc4nP; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add u-boot.itb BUILD_TARGET for Rockchip platform when SPL_LOAD_FIT is being used. This can get rid of building itb explicitly with 'make u-boot.itb' so, from now all required images will build just by make. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Kconfig | 2 +- doc/README.rockchip | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Kconfig b/Kconfig index 91c1082ace..6bcff29659 100644 --- a/Kconfig +++ b/Kconfig @@ -240,7 +240,7 @@ config BUILD_TARGET default "u-boot-with-spl.sfp" if TARGET_SOCFPGA_GEN5 default "u-boot-spl.kwb" if ARCH_MVEBU && SPL default "u-boot-elf.srec" if RCAR_GEN3 - default "u-boot.itb" if SPL_LOAD_FIT && ARCH_SUNXI + default "u-boot.itb" if SPL_LOAD_FIT && (ROCKCHIP_RK3399 || ARCH_SUNXI) default "u-boot.kwb" if KIRKWOOD default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT help diff --git a/doc/README.rockchip b/doc/README.rockchip index 88a4593392..c4e5f83da7 100644 --- a/doc/README.rockchip +++ b/doc/README.rockchip @@ -103,7 +103,6 @@ For example: => cd /path/to/u-boot => make nanopi-neo4-rk3399_defconfig => make - => make u-boot.itb - Get the rkbin @@ -170,7 +169,6 @@ For example: => cd /path/to/u-boot => make orangepi-rk3399_defconfig => make - => make u-boot.itb (Get spl/u-boot-spl-dtb.bin, u-boot.itb images and some boards would get spl/u-boot-spl.bin since it doesn't enable CONFIG_SPL_OF_CONTROL)