From patchwork Fri Oct 13 03:47:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bajjuri, Praneeth" X-Patchwork-Id: 115688 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp256952qgn; Thu, 12 Oct 2017 20:47:38 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCt2buKX+xr7C/RyM8TNiBbsspihqU/kEQg2Pgxf1x0hbULN065Ut/I/szUrpJmGlDt6UZ0 X-Received: by 10.80.195.89 with SMTP id q25mr445804edb.144.1507866458846; Thu, 12 Oct 2017 20:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507866458; cv=none; d=google.com; s=arc-20160816; b=Aqr1XUjZFsu+2Wt3E1DU9SGtx+M3PNbKXMPghIaI3Pp0kaFnb90tQhJEzh7htPXNmv XyYmfuC4+Xg09SBay81Buh5Hs49XfC0jLjJmYpgLPEJeJME2nxIedmGKAWtbhYFtl5Ol h2TgN/3FkVqVL5Z3rOMvoB/0tAwNYDqoBdsCPToXzwHipDNMElWHfbVz7z7z5lbGm7UJ QNUj/RMqJd0BA7GCo4AVgpzW3PLsoY80TFzRKN3pV8SCT0YJ3y3/MI/6nTQX9VQHRgXI jvT1C3wTM4nZ0MUotKXw0VrneTQ2XRfRu9wQS5w2XJr20GUwgAkxiRphT5lNts+ToMoz Buvg== 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:message-id:date:to:from:dkim-signature :arc-authentication-results; bh=w8W/U5XAdltXcDslMdJ8TkgxinP3CRX7HYV74fi/G4U=; b=I8sjveW5tyQE7Uw2tkBe+LicIgNR+iNi0zKlbgGfTo3s9kf4lkKDj95TWlXwHm046w W2M+juMLY+W4DE9SCeC5R5fJg0PdqhzXG8rWsLyUvFt2cYOjwiQbcmYxFLARVmPcbN/H E10v28vcJfiMl1RBfcXIsQuc13P65AuyIgXhMT2ECV72ayZ/qH2W8Z9YFYCRF0Mwz8GN /LiYTEs4XfF2DMlofTTQ+VI7cWP426WkbvqCW6kSmn5G/WsrT4kenrluSrSrQZG3SyZ1 Bq621M3suvj52tEFdt0Sv07NAaY8f5XmTTAAzigaWxZhoa6TkOk6XdeS3xkYPYbyuO8e APnA== 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=E3YH1eKJ; 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 l33si244134edd.186.2017.10.12.20.47.38; Thu, 12 Oct 2017 20:47:38 -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=E3YH1eKJ; 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 DC033C21FB5; Fri, 13 Oct 2017 03:47:37 +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=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 6E19DC21F6C; Fri, 13 Oct 2017 03:47:35 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 49517C21F21; Fri, 13 Oct 2017 03:47:34 +0000 (UTC) Received: from lelnx193.ext.ti.com (lelnx193.ext.ti.com [198.47.27.77]) by lists.denx.de (Postfix) with ESMTPS id 9B0A9C21F04 for ; Fri, 13 Oct 2017 03:47:33 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v9D3lVmT028673; Thu, 12 Oct 2017 22:47:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1507866451; bh=zsLSl/y1Ak4BL/+EiyUBhcrwAc0/J9PUXdQtMmj5u2Q=; h=From:To:CC:Subject:Date; b=E3YH1eKJOWFi/Ni9b/vwQ+llK33DlHgpMq5ryF/d+XPQ8PRFzMULKbiO/LZd9WzcE 6owJrHMO/v0oWd5wo5CtYAi2MVfS/n3zvOY1gG/jtHkSyU0fgxuJnnFsrBeJBKF9eL UTywICIWH1Ken5aA/D0lIBVwzZjRt6T89vCtVTFw= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9D3lVRC006828; Thu, 12 Oct 2017 22:47:31 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 12 Oct 2017 22:47:30 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 12 Oct 2017 22:47:30 -0500 Received: from droidlinux (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9D3lUan018358; Thu, 12 Oct 2017 22:47:30 -0500 Received: from praneeth by droidlinux with local (Exim 4.82) (envelope-from ) id 1e2qwc-0002pF-Di; Thu, 12 Oct 2017 22:47:30 -0500 From: Praneeth Bajjuri To: Praneeth Bajjuri , Date: Thu, 12 Oct 2017 22:47:02 -0500 Message-ID: <1507866425-10827-1-git-send-email-praneeth@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: Tom Rini Subject: [U-Boot] [PATCH 1/4] arm: am57xx: Add vendor partition to Android GPT table for eMMC 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" Add vendor partition to Android GPT table for eMMC. A Vendor image contains SoC-specific code and configuration. Prior to Android 8.0, the vendor partition was optional ; files belonging to these images were placed in boot.img or system.img with symlinks (such as /vendor >/system/vendor ) when absent. Android 8.0 makes the vendor partition mandatory The goal is to modularize Android partitions with standard interface between the Android Platform (on system.img ) and vendor-provided code(on vendor.img). This standard interface enables the Android Platform to be updated without affecting the SoC partitions. This makes it possible to upgrade a device system.img from Android 8.0 to Android P while other images (such as vendor.img) remain at Android 8.0. This modularity enables timely Android platform upgrades (such as monthly security updates ) without requiring SoC/ODM partners to update SoC- and device-specific code. Signed-off-by: Praneeth Bajjuri Reviewed-by: Tom Rini --- include/configs/am57xx_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h index 5427974..ebb0474 100644 --- a/include/configs/am57xx_evm.h +++ b/include/configs/am57xx_evm.h @@ -59,6 +59,7 @@ "name=recovery,size=10M,uuid=${uuid_gpt_recovery};" \ "name=boot,size=10M,uuid=${uuid_gpt_boot};" \ "name=system,size=768M,uuid=${uuid_gpt_system};" \ + "name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \ "name=cache,size=256M,uuid=${uuid_gpt_cache};" \ "name=ipu1,size=1M,uuid=${uuid_gpt_ipu1};" \ "name=ipu2,size=1M,uuid=${uuid_gpt_ipu2};" \ From patchwork Fri Oct 13 03:47:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bajjuri, Praneeth" X-Patchwork-Id: 115691 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp259872qgn; Thu, 12 Oct 2017 20:52:19 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDhGRZD+yl+WF98jg+YLOEQ+0NFwDg8FkbCTNdl0XmC9qC22V6IxCDgeYwKIGMSDOeGdnt0 X-Received: by 10.80.147.16 with SMTP id m16mr428477eda.121.1507866739019; Thu, 12 Oct 2017 20:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507866739; cv=none; d=google.com; s=arc-20160816; b=xvM/71SdGl7VKxIBx61gIaeVVsS05YHQg681AyFq9GRxTsg3E8yrSrLibznHRc25pu 4RA/bXlNjYcM3c4ZjMMeDR6oJ7rJgRYQIJZdNaDXrraUYMtsgWj2OXm4w4mkzAw8p8xv FeONpgVwvK2+9WKPSjFCOBZ1zIgyy6NEg66+eytuqe/ctduOI0omDfTGGZxpUdHK9rLn NiXwU/GLL+/keSJ7NegNxvbph0HCmQDDUhpEdgEaVRRlAC3CaSEBnWOwq8tRwlYZlmUL 5thuI5yghrPf+2fFNd7gYGSP+QA+vnrLjTyNzAaKYFy/DgunQL0hPUpvLG3t7QBAxod5 00Iw== 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=lWV67EWK4G4wrc0fQeH7jk/W4ISjboYvOmbX+54taA8=; b=RegM2jyqYZnhgz1RlaIbUx2BV7UghV8ig52UBlCrNrGryH70ptwMqZEaX5pv7rXmS3 iFs8uqwjPyphKDPpVYyTmVtb0iUzuanTuqqXE4XlQJ7q2C2OCvIMAtg0tTyT9NiPUMXA NCksamY5DPrdts6Rhu0LvEDKo05AmhuaXMX4PYe8SGTSTWPVsMsbM9Cwcg4IlOxlAUuv yva2fN7tTSDywMimP1MGMKpQfXriZkAf8TPeuj8zYuSP5ZOELtzy2VzYBjDVNglzzExJ I5zPySJv1gPKlzUq6fckLpusaNXe6Q9U8a4Cqmw/xUonRDdnyJCAmKys82MCxlapZcko 1/dw== 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=kOa0sRNk; 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 i92si217042edi.365.2017.10.12.20.52.18; Thu, 12 Oct 2017 20:52:19 -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=kOa0sRNk; 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 9FDFCC21F8E; Fri, 13 Oct 2017 03:52:16 +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=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 BC95BC21FB4; Fri, 13 Oct 2017 03:48:41 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9FA94C21FD1; Fri, 13 Oct 2017 03:48:39 +0000 (UTC) Received: from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16]) by lists.denx.de (Postfix) with ESMTPS id 3DCF9C21FA0 for ; Fri, 13 Oct 2017 03:48:19 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v9D3lfHa017506; Thu, 12 Oct 2017 22:47:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1507866461; bh=JthsSLzwVM9dmiSTxy6o+voTw4KQVM56BJCTvdqGffs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kOa0sRNkAKYkAGdaK/x/MAIDk7uCoxO/B+Q2MGxiMtXV2W9CyYW0S2Bm1nIqnPGDr 1p5JENs5rEtHDWm78d8tDWKzz0ooKxm+fFtxvRS0Zj/BYklQyM//lBJGpseyDanzDk 6YumqyRh9ccnnzXcBsDSrxSLtFaEgs4imh18IbFA= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9D3laxJ006894; Thu, 12 Oct 2017 22:47:36 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 12 Oct 2017 22:47:36 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 12 Oct 2017 22:47:36 -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 v9D3laTu014630; Thu, 12 Oct 2017 22:47:36 -0500 Received: from praneeth by droidlinux with local (Exim 4.82) (envelope-from ) id 1e2qwi-0002pK-AR; Thu, 12 Oct 2017 22:47:36 -0500 From: Praneeth Bajjuri To: Praneeth Bajjuri , Date: Thu, 12 Oct 2017 22:47:03 -0500 Message-ID: <1507866425-10827-2-git-send-email-praneeth@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1507866425-10827-1-git-send-email-praneeth@ti.com> References: <1507866425-10827-1-git-send-email-praneeth@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: Tom Rini , Vishal Mahaveer Subject: [U-Boot] [PATCH 2/4] arm: dra7xx: Add vendor partition to Android GPT table for eMMC 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" From: Vishal Mahaveer Add vendor partition to Android GPT table for eMMC. A Vendor image contains SoC-specific code and configuration. Prior to Android 8.0, the vendor partition was optional ; files belonging to these images were placed in boot.img or system.img with symlinks (such as /vendor >/system/vendor ) when absent. Android 8.0 makes the vendor partition mandatory The goal is to modularize Android partitions with standard interface between the Android Platform (on system.img ) and vendor-provided code(on vendor.img). This standard interface enables the Android Platform to be updated without affecting the SoC partitions. This makes it possible to upgrade a device system.img from Android 8.0 to Android P while other images (such as vendor.img) remain at Android 8.0. This modularity enables timely Android platform upgrades (such as monthly security updates ) without requiring SoC/ODM partners to update SoC- and device-specific code. Signed-off-by: Vishal Mahaveer Signed-off-by: Praneeth Bajjuri Reviewed-by: Tom Rini --- include/configs/dra7xx_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index 717861f..3333e5e 100644 --- a/include/configs/dra7xx_evm.h +++ b/include/configs/dra7xx_evm.h @@ -66,6 +66,7 @@ "name=recovery,size=10M,uuid=${uuid_gpt_recovery};" \ "name=boot,size=10M,uuid=${uuid_gpt_boot};" \ "name=system,size=768M,uuid=${uuid_gpt_system};" \ + "name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \ "name=cache,size=256M,uuid=${uuid_gpt_cache};" \ "name=ipu1,size=1M,uuid=${uuid_gpt_ipu1};" \ "name=ipu2,size=1M,uuid=${uuid_gpt_ipu2};" \ From patchwork Fri Oct 13 03:47:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bajjuri, Praneeth" X-Patchwork-Id: 115690 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp257986qgn; Thu, 12 Oct 2017 20:49:20 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCfPRkGKiw0Zjy2C3OgYiKT9WeQiB97JRxSQJyzFKY7OSc2mcrLuYpGoLPKoBk5WBffyZRe X-Received: by 10.80.164.72 with SMTP id v8mr418120edb.99.1507866560867; Thu, 12 Oct 2017 20:49:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507866560; cv=none; d=google.com; s=arc-20160816; b=ovoJCjRiQ4Vp8a1gtQhsZRxKnEB6Z0pfDG/chr6LEUmcRiEM6VTl/a6n4Je9yr85XW PUjQ5i6PeNODQVAYPnBkEangH6/Za78Las98P8DeY3+7Ebi3fnayuhzEZ0t5dCeTwtJG wGT91G9gXUOGynu5NAyCpG/sQhkspGzo3RsPtBam9icJk6aAI6outHNRN1oOgBeEbFMD NdcwDiNeItaTbJyqmxOhkX6ZJtJ6JaKNZcq8vxgpuGx85SA9rugJD205sPz2jslm7ySn bCMSsqPqpwkuNmgY9Rzmj3+Ehed1aGeEAO3FZf26lewM5/xi2wfe50KGdC91H2YvxLp4 9nlw== 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=eRBei8ez8Jw3RX0XiQp9ZXoLLZEF/3tcjwl6N2XNbgk=; b=T+4UUeuYrNLRyUXCMm04NkP25gvgmmYv/GTH9+PMGLyZ7jMhzLDRMei1m8XLI5wMGq P/8EcIVTuUAItdi1bZlBZNjPomsZaqN5rDbBo36HOQjq/81Qjk/NgvxIFSTjZnQ85TN/ 93Xj0VRvj99JaJ486bD+zG44dUkDHoj6ZYwldMc27nBOwAuQ+tWARaMRcEv3k38zCCIT U+0aA7yctdALhQ/jkt7riUJL6C7m5wlPg4D1AeXWO2aTAIfjvzrk/uu0Zqj/b/jCx9Vc Te5fxGtnE9lULph2PKmDb0vWWgWoNOSXxqAb5Qns7AilFvbouSk0RN6ITxMN8wRh2fbA +Xdw== 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=HJJRih2r; 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 24si229976edz.256.2017.10.12.20.49.20; Thu, 12 Oct 2017 20:49:20 -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=HJJRih2r; 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 51345C21F9D; Fri, 13 Oct 2017 03:49:07 +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=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 3E5DDC21FB2; Fri, 13 Oct 2017 03:48:05 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 27950C21FAC; Fri, 13 Oct 2017 03:47:49 +0000 (UTC) Received: from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80]) by lists.denx.de (Postfix) with ESMTPS id 62EDCC21F6C for ; Fri, 13 Oct 2017 03:47:45 +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 v9D3lhrm027019; Thu, 12 Oct 2017 22:47:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1507866463; bh=jsEe5HpSX0R0MQTT4ywe/JKZMPfW8JSNvmwxJToHr6Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HJJRih2rjUR6unuAsy3le5p8xDkTLLQbQ8mjarU+NCNqyRQ7Xs8ttKRlW4JF1Xkv6 ujMxAI+MWj0rSz7gw6wbj3+6tbbB6mkH5r/6aByGW8aiPGKA+klTICwyJrJVrwPTz5 CKbpurmaV/rPSbJgOPIxDAKymmclSmwXYVmgbv3Q= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9D3lh8H003377; Thu, 12 Oct 2017 22:47:43 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 12 Oct 2017 22:47:42 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 12 Oct 2017 22:47:43 -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 v9D3lhxd014654; Thu, 12 Oct 2017 22:47:43 -0500 Received: from praneeth by droidlinux with local (Exim 4.82) (envelope-from ) id 1e2qwo-0002pP-T7; Thu, 12 Oct 2017 22:47:42 -0500 From: Praneeth Bajjuri To: Praneeth Bajjuri , Date: Thu, 12 Oct 2017 22:47:04 -0500 Message-ID: <1507866425-10827-3-git-send-email-praneeth@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1507866425-10827-1-git-send-email-praneeth@ti.com> References: <1507866425-10827-1-git-send-email-praneeth@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: Tom Rini , Vishal Mahaveer Subject: [U-Boot] [PATCH 3/4] omap-common: fastboot: extend cpu type for DRA71x rev 2.1 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" From: Vishal Mahaveer DRA71x processors are reduced pin and software compatible derivative of DRA72 processors. Extend support for this revision in "getvar cpu" command. Signed-off-by: Vishal Mahaveer [praneeth@ti.com: rebase to u-boot master] Signed-off-by: Praneeth Bajjuri Reviewed-by: Tom Rini --- arch/arm/mach-omap2/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/utils.c b/arch/arm/mach-omap2/utils.c index d4f171b..2bd8290 100644 --- a/arch/arm/mach-omap2/utils.c +++ b/arch/arm/mach-omap2/utils.c @@ -33,6 +33,7 @@ static void omap_set_fastboot_cpu(void) break; case DRA722_ES1_0: case DRA722_ES2_0: + case DRA722_ES2_1: cpu = "DRA722"; break; default: From patchwork Fri Oct 13 03:47:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bajjuri, Praneeth" X-Patchwork-Id: 115689 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp257263qgn; Thu, 12 Oct 2017 20:48:13 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC3DrADZnXrMRWTm8VL9j/eqrbejQyLCQgt3KjuGR3W6gljLZlXZgxQbda6aZOX8yyHZ1Mw X-Received: by 10.80.141.19 with SMTP id s19mr427729eds.241.1507866493437; Thu, 12 Oct 2017 20:48:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507866493; cv=none; d=google.com; s=arc-20160816; b=F5mvhZwMjXWhEf/aqwIdrmKiCSxxWy1dpUyYGVjL+IcZ1lacen/XJ924YaLSTujml5 E89gc/I7JQjuU4pF2lypOT4h1x54I+GE1JuFsd6187MT2A/+hQ1802p1LT/oiRysuOoX y9//0ALkeHUSZM9kNs/CANT2YJo/Kg8yH2S+0ft5hScv9F5gCVjBBi1JomlT/WXpL35K Yi9hO2bzKcbTgs3htdxNoOaXMTYuQhQB/v/kyKBOxRN1iUtqXTevOToS2kVnL8d4wg7s YkUC1d2zw2ygaNUcXemzayu8pOBK791P5mGZn8C/sU7AuME9B8ZRhAeeuCLU9QZm91Mf jAqQ== 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=SBWOyhJEhYuTTxikuhMAFuF5G4ysNc9Nl++OkshKLNs=; b=fMwIN5mMbU4twRf37Pq5OOyn7uCzp8JidoJtUXOXq1V4GWapKTY4MaWPLjh/y/GnQl hmQ9XgnT01Ujl4ke5eNdh+2y1nHLa6VS188PSsiL3naIXGCzy15Jre1Sj/+revFgM3MR 661LVQ6B7Qi9rqsXchRhbPUx++l9oXcvtwa2IqDOYJCcMAn+5lAhAwzvPYjSFv3xsE59 KdNIBJSCvxAzBnBwGKfELUvidMS7fhgyN/zBRAYFFfiACwW6mtC8TgSRLuciVd1IFcKk yIxPZzQWMryN12KHlVGEn7DiWTenw0sNUgH2/dkKIkYnk4bfIBmBmU6sZJbsHNKjmoiP Qs+A== 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=o957DfSr; 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 v10si222729edf.238.2017.10.12.20.48.13; Thu, 12 Oct 2017 20:48:13 -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=o957DfSr; 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 EA02AC21FAC; Fri, 13 Oct 2017 03:48:04 +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=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 ED650C21FAA; Fri, 13 Oct 2017 03:48:01 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6C33FC21FD1; Fri, 13 Oct 2017 03:47:55 +0000 (UTC) Received: from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80]) by lists.denx.de (Postfix) with ESMTPS id 14531C21FB9 for ; Fri, 13 Oct 2017 03:47:51 +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 v9D3loBY027032; Thu, 12 Oct 2017 22:47:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1507866470; bh=UFA/Ok2h7Pas58hcQiaelxD3UrD/LUHra83nRATv1vU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=o957DfSrQaEXvoTm7p9eWINPel9nASYKHuyA9cNvQXFnvXBdNXRnHix51bCz+mSdo 59fN4ZtqcuUNsGiUYf2xdFBYrdPjUgFpiwvHWLQzykLyHcLNz2da7jefgeXcWe1bFN y9DykhIViTiH6nVi6kQyZCONd/cWz8o4do5xsr98= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9D3loRG003458; Thu, 12 Oct 2017 22:47:50 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 12 Oct 2017 22:47:49 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 12 Oct 2017 22:47:49 -0500 Received: from droidlinux (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9D3ln34008995; Thu, 12 Oct 2017 22:47:49 -0500 Received: from praneeth by droidlinux with local (Exim 4.82) (envelope-from ) id 1e2qwv-0002pU-Kp; Thu, 12 Oct 2017 22:47:49 -0500 From: Praneeth Bajjuri To: Praneeth Bajjuri , Date: Thu, 12 Oct 2017 22:47:05 -0500 Message-ID: <1507866425-10827-4-git-send-email-praneeth@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1507866425-10827-1-git-send-email-praneeth@ti.com> References: <1507866425-10827-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 4/4] arm: dra76: fastboot: extend cpu type for getvar command 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" 'commit fa24eca1f20a ("omap: Add routine for setting fastboot variables")' adds initial support and usage of "fastboot getvar" command for DRA75x and DRA72x devices. and 'commit 0f9e6aee9dbc ("arm: dra76: Add support for ES1.0 detection")' adds initial dra76 device definition This patch is to extend usage of "fastboot getvar" for DRA76 device. Signed-off-by: Praneeth Bajjuri Reviewed-by: Tom Rini --- arch/arm/mach-omap2/utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/utils.c b/arch/arm/mach-omap2/utils.c index 2bd8290..2e87780 100644 --- a/arch/arm/mach-omap2/utils.c +++ b/arch/arm/mach-omap2/utils.c @@ -26,6 +26,9 @@ static void omap_set_fastboot_cpu(void) u32 cpu_rev = omap_revision(); switch (cpu_rev) { + case DRA762_ES1_0: + cpu = "DRA762"; + break; case DRA752_ES1_0: case DRA752_ES1_1: case DRA752_ES2_0: