From patchwork Wed Apr 25 21:03:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bajjuri, Praneeth" X-Patchwork-Id: 134378 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1355487lji; Wed, 25 Apr 2018 14:04:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx48KRp5rMFQOJdGxVcrLUH4k6Izxja+HZ0J2hitD/ovf0PdbAai7FLfsFFgDSsmJan0Idzv+ X-Received: by 10.167.194.208 with SMTP id m16mr22816852edp.171.1524690285312; Wed, 25 Apr 2018 14:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524690285; cv=none; d=google.com; s=arc-20160816; b=c89kwrtPojLw5GeYiiyEh8ydEDQ2zz/PRrA6x9uW6sHD1swQbbb6xIEC98Xaj9wPyV pKEW9ywc+rGjgvsY7oPy9djoNzq2EHlQJqpEmy9sdKp37caMz+jD6AvZvtNjX0l370u5 /McSWl56xmxSp1djfAUmiuixRlJ8QBcU5syN82ReoufIQ6VKVTnewwnNBvxk/PrIHMqC olQkOqZkiX69HPR8CmBrLSgRm+17tTXtmWEcC/J3o8RUlXOU01zf21MrPLDJ/Vr/uS74 4JuoDPsNKFvdWmfDugZlutmeolHY2HtFzum0/isRRpDJaeBBnKHSP3gOrlD08fFDwadH nBiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=DaUU8qfC4WVJfTIP5VoJh9muhGu7DspfZKBhMrdvSyE=; b=TdLM3XBOqf20RIWwMJ3/6tKfielXEmEDJlSTxXa8LzHhtiXAx/WxKDzfCuX/pWIr7O N1jfMgNfdAALxpcEMr6Ugej0bQt6/OVr5GWf9pppWIwJdpqg2qnFW7mLtAHRUR8U9PfX FWplfav2wLambADldY2a0/UIOYiu2rbiIbmLP2EimLlMMw9sqs3K1F/4Ox6g2T9cw8eN /3iImPqYGfUIPgSFJzafAC9wS33oVh7FNdpocxrwojFnUs6IA12M1KI9vVehszNdXeKZ W00me20lMA+xllKDCT43Yh2wbNU8I5ukhf6hEz4lZAh/csNV2axwNihM1n+nW+gWG/UB 9DIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=sB944k5F; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id a5si1416448eda.293.2018.04.25.14.04.45; Wed, 25 Apr 2018 14:04:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=sB944k5F; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: by lists.denx.de (Postfix, from userid 105) id D9EA5C21FF5; Wed, 25 Apr 2018 21:03:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0D242C21FBE; Wed, 25 Apr 2018 21:03:31 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7FDA3C21F16; Wed, 25 Apr 2018 21:03:28 +0000 (UTC) Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by lists.denx.de (Postfix) with ESMTPS id E4FFCC21F8F for ; Wed, 25 Apr 2018 21:03:27 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PL3PTa007713; Wed, 25 Apr 2018 16:03:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524690205; bh=veOopXWS43s5IhP6l95j1gtgPrREqCC58r6FjgpgqMc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=sB944k5Fz4GBM3PlJAUiyLVvXIVjId5hBSOmm6pBqVI6MkNyGGJZpcuLOUYEtfQOD GQaqCvsUhvtMcXMWhqtHm0EU2WXiAESpG0BKuofjo7DKidrM7qUo1mwEmGH+3bMhHP Qs3RNntFcztBSUExbeCEtIqmw1jgFSub8v3VBncU= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PL3PtN005440; Wed, 25 Apr 2018 16:03:25 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 16:03:25 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 16:03:24 -0500 Received: from droidlinux (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PL3OjL020993; Wed, 25 Apr 2018 16:03:24 -0500 Received: from praneeth by droidlinux with local (Exim 4.82) (envelope-from ) id 1fBRZU-0001SK-R5; Wed, 25 Apr 2018 16:03:24 -0500 From: Praneeth Bajjuri To: Praneeth Bajjuri , Date: Wed, 25 Apr 2018 16:03:23 -0500 Message-ID: <1524690204-5560-2-git-send-email-praneeth@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1524690204-5560-1-git-send-email-praneeth@ti.com> References: <1524690204-5560-1-git-send-email-praneeth@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: Tom Rini Subject: [U-Boot] [PATCH 1/2] configs: TI: Enable FIT Library overlay support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Enable the FDT library overlay support for all TI SOC family. Without this option, when Loading fdt from FIT image, the following warning is seen. "config with overlays but CONFIG_OF_LIBFDT_OVERLAY not set". Signed-off-by: Praneeth Bajjuri Suggested-by: Andrew F.Davis Reviewed-by: Tom Rini Reviewed-by: Sam Protsenko --- lib/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Kconfig b/lib/Kconfig index 436b90f..6d5306a 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -252,6 +252,7 @@ config OF_LIBFDT config OF_LIBFDT_OVERLAY bool "Enable the FDT library overlay support" + default y if ARCH_OMAP2PLUS || ARCH_KEYSTONE help This enables the FDT library (libfdt) overlay support. From patchwork Wed Apr 25 21:03:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bajjuri, Praneeth" X-Patchwork-Id: 134377 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1354244lji; Wed, 25 Apr 2018 14:03:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZozcDvuhtzRpGTO6jmIw01MMw2gUrG6riTAdA9E1zv0CSi10/M+LdfpAxTzTToB9fxsx65p X-Received: by 10.80.163.101 with SMTP id 92mr7179738edn.46.1524690215056; Wed, 25 Apr 2018 14:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524690215; cv=none; d=google.com; s=arc-20160816; b=uIUeTa3Dhb4Q0FtfvWutQp7ceUPiBxAz4rSJGSAC6Ait9JKz7V6+ttafeWWJVA9s1C vQUUR6D0La4qeYpV9l6Kx8MplX9LmU4wHB9kiwwm/v/mhkBQ4BlyeFtzkpaPHvoQKCXa A/0NKW8CNWqwdj5WhLuAcVdJQ+eevtR5uSuDVv3mTSiHqUrHdeDZxD77jmxA3tCh6VAj yhpZHFBFUWGBoZ6htnl6BHoHS6E1/h5BQWKO4CElfyBwo5qGa6FZVQF6MQdDeA5oruqp g6OM6VB0VF3zuYYBqmPzUEyPOCbqaym1xomI5tKwWBj1UfjVsfXro12OqRPR7k0NTvWs j8GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=RzDPuSBLyIw/hwb/aUfX25zwKGD6F3NkzZElYxxXuHM=; b=hmx0VRrYlWm9PIg6DmtSB5h1bWXr4HhhN0Mpl1dfeABW7F4zh7tWywZHYVl16ppUpn +J5qqQbhBpfBcqmKMW8ay1+f1SnXYsOHqDgr5xtmj7VIbPABZAeTPxIQMF2ow/oT4JoS pu4/Ggxdf3xV81zBdfVPg0l08P0s1cUj6zgm2MSiqt7Yay/nc6ZUWMQTJWpY0t7FXapg uNkCJNxiesHUlLXFukErZkLloV/c0kmGd5t9CzbIvYCRC5Xmt5jVCxv37VL6WhhOJorO ROexNkv1BS4tFt/maDvoRVET1g5I04xr5Q4H9Cjl227iAjw0F1cO3AbJMNG0HaG1x/XP cGlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=AQ6HY1UY; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id g53si1487450edb.149.2018.04.25.14.03.34; Wed, 25 Apr 2018 14:03:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=AQ6HY1UY; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: by lists.denx.de (Postfix, from userid 105) id 90A37C21FD6; Wed, 25 Apr 2018 21:03:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 4C81BC21F8F; Wed, 25 Apr 2018 21:03:30 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 32516C21F16; Wed, 25 Apr 2018 21:03:28 +0000 (UTC) Received: from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80]) by lists.denx.de (Postfix) with ESMTPS id 7E48EC21F5B for ; Wed, 25 Apr 2018 21:03:27 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PL3P0M013773; Wed, 25 Apr 2018 16:03:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524690205; bh=ihRNA+08ucWAebz5QOoRzbNb0w5k6LeWJhUbEWHmqJ8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=AQ6HY1UYsg+0QfpsVFZHmK+xRZqhywyCNFuVlRV5/5blyIKAbgRgp277eXJWc8HjP xpUdcfKDQi3P/v+OTx8cWSPylIUpWSGPykUJXkRnINAGJ6F79k+F+EFTV65V4nCx7p IyTSLsY5FdHdn2ZiOkD36jYRqUKsb1MjcH688wxo= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PL3Puw032404; Wed, 25 Apr 2018 16:03:25 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 16:03:25 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 16:03:25 -0500 Received: from droidlinux (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PL3PMs010136; Wed, 25 Apr 2018 16:03:25 -0500 Received: from praneeth by droidlinux with local (Exim 4.82) (envelope-from ) id 1fBRZU-0001SO-VN; Wed, 25 Apr 2018 16:03:25 -0500 From: Praneeth Bajjuri To: Praneeth Bajjuri , Date: Wed, 25 Apr 2018 16:03:24 -0500 Message-ID: <1524690204-5560-3-git-send-email-praneeth@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1524690204-5560-1-git-send-email-praneeth@ti.com> References: <1524690204-5560-1-git-send-email-praneeth@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: Tom Rini Subject: [U-Boot] [PATCH 2/2] env: ti: android: boot with FIT Image X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Boot android over emmc by default thru FIT image Signed-off-by: Praneeth Bajjuri Suggested-by: Andrew F.Davis Reviewed-by: Tom Rini Reviewed-by: Sam Protsenko --- include/environment/ti/boot.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h index 24b7783..a1767b4 100644 --- a/include/environment/ti/boot.h +++ b/include/environment/ti/boot.h @@ -37,6 +37,7 @@ "run mmcboot;\0" \ "emmc_android_boot=" \ "echo Trying to boot Android from eMMC ...; " \ + "run update_to_fit; " \ "setenv eval_bootargs setenv bootargs $bootargs; " \ "run eval_bootargs; " \ "setenv mmcdev 1; " \ @@ -49,7 +50,7 @@ "part size mmc ${mmcdev} boot boot_size; " \ "mmc read ${fdtaddr} ${fdt_start} ${fdt_size}; " \ "mmc read ${loadaddr} ${boot_start} ${boot_size}; " \ - "bootm $loadaddr $loadaddr $fdtaddr;\0" + "bootm ${loadaddr}#${fdtfile};\0 " #ifdef CONFIG_OMAP54XX