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: Praneeth Bajjuri X-Patchwork-Id: 904752 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="sB944k5F"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40WXkz0YFPz9rxs for ; Thu, 26 Apr 2018 07:04:43 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id BF0E0C21F8F; Wed, 25 Apr 2018 21:03:50 +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: Praneeth Bajjuri X-Patchwork-Id: 904751 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="AQ6HY1UY"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40WXjk2F16z9s06 for ; Thu, 26 Apr 2018 07:03:38 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id E5870C21FD3; 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