From patchwork Thu Jun 20 10:07:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 677 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 7987E3F086 for ; Thu, 20 Jun 2019 12:08:18 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id b10sf1446669pgb.22 for ; Thu, 20 Jun 2019 03:08:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1561025297; cv=pass; d=google.com; s=arc-20160816; b=kv0HjToq5pMlYmPhBFB36FwINUZPN4QuFuQd5L0fdwR3LdXMMKqwYQqXUZR5CooUe6 85DDMpCPEjWUb5w0u6aP2Ipf50gy22V/K1a8awQ6hqE2rh9+472yIapTLm3KytOUW08f l19Stn7kuA4uyN3jQNqXJcM21q77QhBB0cuhXZL8bsWw0MMXfwLmIVsSXIdyIR8X/C6T u8b0V5oAWlj8kYIWagfb/snbkYsy5sLD7vLIbyj55eHtcQx8ZgTZLlxYqwQUaxrucj8w YZztHiKS2bljTjDTs1koVVSoox7ZtkE/VRqlJTjbA6CY8WAedZaInYQl3ZzHFkxq8TZt sSgw== 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=4ijjCteDZs/Y96Wt02+aLl8/A0zmxZtccDn1ax/CUoQ=; b=xd6MXdAIv+3MhfLw4hX/+AbHp5yhZ2Qk3qb45XM9cC9Ty/lyx4AT2tktJtAPaCnIhp oiUd5SOr9nVoRLtlIyY7a/OeX84ojawavos3jOoImoxd8osSPjRITN7bRrPb96sISF1d ibLRYk6iFtabqFsmK7F+ph0d+a39aWBUsX3EyL4AEqBZGg+unU4uRq8KLXANerNd3d3G vZu6xhboHFn40rpItUIy902q07SUTeaejDd0Uz7dgbG+w0Vle56yCHD2perAizZCSF7X NtI6OLz1oS6WLW4SzZqb4J43ecBD+fAV+tOiV1c9QqO+a31PjVjcll5mClbagHfBpDww w8kQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RURLjpaY; 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=4ijjCteDZs/Y96Wt02+aLl8/A0zmxZtccDn1ax/CUoQ=; b=Eo7ryxLbDu/FJ1GdbSluMhpiahsPmIR4Avu1kDeFF2Ilu6UxZINjgzVSdufmxU/9wq U99rUJ7Y9ZC4ux1pesTZHmzP1lLTKuhDpSf5tuc7bOI5HoHzJW7NFgJOVriViGP75OKG mmraGmxeRaLTyLaa6+YGA5xg1mzSIvngttBL4= 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=4ijjCteDZs/Y96Wt02+aLl8/A0zmxZtccDn1ax/CUoQ=; b=cKYJ5VoWkcxIyVBh4H/S31/9rMtOj9owsuqcA4zlx05o5qHp9DTsY5/7fB97XN+sjx mNgSq4y89RFsY/eF5EDejI//GmAYoZmslebbOFQN6ncC5mG/Dl+UYehC2jY/tvwZcjmX SI5g+29G7ylpG++VlgeHL15tdIuKpZk5ZPnwL+2KFTeBFYzK6Q0wDa+2VyA8HYkKxT5t P0bGIEAL3pweXqMRREU58rEe0Ikdq7PTydH7bDKhvX1DXPz70WU5Po3Nxr0KQjag+PeZ VEB+HSomMAlXmTV/XmTf2x5hEprU+21LDbl5avGuYQydsMYnD3hQW1SP3+9xZGlrC6Pp 0Z0A== X-Gm-Message-State: APjAAAW7zhqMtSr7ibUiRgnD2j86Bk7AEXYtc9zDoOIgo61+oV/GDsNN +hDVdHLh3ikAqrbeXPd6PdKjFvTl X-Google-Smtp-Source: APXvYqzn3K/olB0Kwc628R1Wa8nV0r5hAXS7Pt60gOs8sRVWcoJAYCisX7YebRiAZzi57CPuWYZO0Q== X-Received: by 2002:a65:5889:: with SMTP id d9mr11983205pgu.39.1561025297222; Thu, 20 Jun 2019 03:08:17 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:75ce:: with SMTP id q197ls1228680pfc.3.gmail; Thu, 20 Jun 2019 03:08:16 -0700 (PDT) X-Received: by 2002:a65:514a:: with SMTP id g10mr12114008pgq.328.1561025296744; Thu, 20 Jun 2019 03:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561025296; cv=none; d=google.com; s=arc-20160816; b=pGoZ9p17hxHB/SBM70QWlQPCS1THE6/XKdlFZr+mynu1gFAJq0+e5gCawQtM01Ooif 9iNbGT1/Uyg8XrpNi4Z3OuAe5ikduo/d4clXgdCR/++Erqk4/usAzPBKGGauP3qYf65v 46lXPO0qv2BPfhxmHuURqW/kxSVhLiSwJ+iZZMl2+BGPSAKYSmQWQ2+x9PtWbIgku3vc mBI7T+UXrqZEropP35k3zCmJxMNQZtA6AepcXDG35x7Nth2UHL4TPWVAQ5r//7bY2bee 9VXTBbqXLRhHgl8TD1dH1FiX/TzbqWatwVHG/mvCzATqaJm+0lqaaK6jo9DC/HbEUIgX 62kg== 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=wVJfdIxX3AOWESls8BSNG7FiUmX2vaUpDqCE9rqexDM=; b=xeLHbEXfiEJqSOzWXzoy277gTxQrDJZ+L8bPOIi8eAWkBehHsZvG1u/kFcWsY+1RPs cHDLsdlgoOW/r/pBNFIhAMfCCvgiQOoPgJKdVhFRwIEMunj0NgBoY29Lq9peqLzrSekk 1K2XpL2fSsVscGbysmnxapHAMjyUnRIDsBwZw3vqfRJxXsF7tQikSuqNbkzWl+GoTkcE 5qDNNtjqI2E+bJbToT5laAzWeqjnc5zT61x75mCVytXNYkOnSOq5luI+MvlLFzkNO33i QKq2EIxdXpWFtWjo38Q+10kitI1Xgl1vC6b620TZcHPwU7awcCrjzC+UkAhDITEWfhRA GmnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RURLjpaY; 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 r3sor18521282pgv.46.2019.06.20.03.08.16 for (Google Transport Security); Thu, 20 Jun 2019 03:08:16 -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:1723:: with SMTP id x35mr7776901pgl.233.1561025296366; Thu, 20 Jun 2019 03:08:16 -0700 (PDT) Received: from localhost.localdomain ([183.82.229.140]) by smtp.gmail.com with ESMTPSA id x129sm21731387pfb.29.2019.06.20.03.08.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2019 03:08:15 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , u-boot@lists.denx.de Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v4 6/6] Kconfig: Add u-boot.itb BUILD_TARGET for Rockchip Date: Thu, 20 Jun 2019 15:37:40 +0530 Message-Id: <20190620100740.6560-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190620100740.6560-1-jagan@amarulasolutions.com> References: <20190620100740.6560-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=RURLjpaY; 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 +- board/theobroma-systems/puma_rk3399/README | 2 +- board/vamrs/rock960_rk3399/README | 1 - doc/README.rockchip | 2 -- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Kconfig b/Kconfig index 6b44256538..df8f2946c5 100644 --- a/Kconfig +++ b/Kconfig @@ -250,7 +250,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/board/theobroma-systems/puma_rk3399/README b/board/theobroma-systems/puma_rk3399/README index f67dfb451f..9b31b0b379 100644 --- a/board/theobroma-systems/puma_rk3399/README +++ b/board/theobroma-systems/puma_rk3399/README @@ -60,7 +60,7 @@ Creating a SPL image for SD-Card/eMMC Creating a SPL image for SPI-NOR > tools/mkimage -n rk3399 -T rkspi -d spl/u-boot-spl.bin spl_nor.img Create the FIT image containing U-Boot proper, ATF, M0 Firmware, devicetree - > make CROSS_COMPILE=aarch64-linux-gnu- u-boot.itb + > make CROSS_COMPILE=aarch64-linux-gnu- Flash the image =============== diff --git a/board/vamrs/rock960_rk3399/README b/board/vamrs/rock960_rk3399/README index d14399090e..c5c675c4ea 100644 --- a/board/vamrs/rock960_rk3399/README +++ b/board/vamrs/rock960_rk3399/README @@ -61,7 +61,6 @@ Compile the U-Boot > export CROSS_COMPILE=aarch64-linux-gnu- > make rock960-rk3399_defconfig > make - > make u-boot.itb Compile the rkdeveloptool ========================= diff --git a/doc/README.rockchip b/doc/README.rockchip index 0ee54cd00e..fac87ade2c 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