From patchwork Thu May 18 13:00:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 100092 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp708148qge; Thu, 18 May 2017 06:01:15 -0700 (PDT) X-Received: by 10.80.169.161 with SMTP id n30mr3118233edc.81.1495112475423; Thu, 18 May 2017 06:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495112475; cv=none; d=google.com; s=arc-20160816; b=EodTBSVxbBXxf4pRQMVUd+Lq89sodNgawFT0bBPGvRu3dGvx7IYRFWnJv3yU5UpylS YQgMI/h3Fm3FCVmDSp8Y68TlyRIx/uQlZM/ryIu2jr/gRGQuytdn9HVx2gsiit0+vTHZ 3LVWI1oFq+s0ehR0j2B1QOrUnpo4Yvj8kp9WwFLG5+84hw27QFtzKRS5nPuULpm/1Fqq ifIJSU3Iev93GF3uLQyZEMCoz/tQSRlpNJKNyRAwtRjBRO86J1IP2yPVDEc2viOxpzTA kEaiB6WeNUqcL1pZDsd+3BA4T3f5jM3ajKTRZZq2jhgJ2uXwDNhkILefuQj/ZYXKOgTJ CQ1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=9vVeP9+o6O/JFrArKXbPu78MFAE7+jPxyy/LpD4gk6A=; b=zI5Yp4a3Bnn70MF+cf4pVh8SNA521azzp83pB5quT7AO/zT/gvoaeZebNkGzv3d82w K0hEyfMC74EgHLZX/b1Ti5n5Alb54sdBw4g65rrAzFBoW5OvahsUj1e8W0542Y3nFzWE GJAKbfpaVPmrdIHca01uhXkH0b4goKDfWLr4kcPv8FDjNv8avI/EIvqyLLFP0SUvvjiS 7x8+lkcmYcj53AsC9uMR+uxIjyZLSRKr18LTFSdEeKPWhj+PLuOWS2YpEf5KuddKsTud fLmaVeOn/53kP8mzDHwlSfoyXo4GGcrQ5WWKy2Q+IkDb+DliBmlsBdfJxRT7JvYJLpfh SVLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id m7si5614491edj.167.2017.05.18.06.01.14; Thu, 18 May 2017 06:01:15 -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=@linaro.org; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 7B880C21EDE; Thu, 18 May 2017 13:01:12 +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_NONE, RCVD_IN_MSPIKE_H2, 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 7B0E7C21DAA; Thu, 18 May 2017 13:01:10 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4B409C21BE6; Thu, 18 May 2017 13:01:09 +0000 (UTC) Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) by lists.denx.de (Postfix) with ESMTPS id 5D08CC21BE6 for ; Thu, 18 May 2017 13:01:07 +0000 (UTC) Received: by mail-wr0-f182.google.com with SMTP id z52so33543386wrc.2 for ; Thu, 18 May 2017 06:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=xEPaFEy18dkd5MzeZunym1bL8u4EDZKkxuOYQlTAdAQ=; b=XMxyK7tAC6uIgzdePOQLbc4ZoLSxkEAlPa9ffuel45VxpsL5Rjn5zlI93rT4LCQWYz yTjuDq+Acl7lLNtcFzmjBNzUzSLSwrGcjkx1g2HzhGlKz+Ar9ZbTK4sdvW6e4iPB/wG4 n/7r+IyxD2GE4hs543azXgPSaU1M5vyPpbLyM= 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; bh=xEPaFEy18dkd5MzeZunym1bL8u4EDZKkxuOYQlTAdAQ=; b=YbK3e9H8OcA9IEgn+wSEwRWHbDRJOeIYCzRXywaSGiIyC9Z+RLMz20eY/b2YTQjqVh ZQFucyB6+tEa28DVHK7kT6RKmpgqoJbUZaAsLVL/Pp0ukgvmoq/IC3qmI0Q2LQrjFn6O ZcYhQx2w4jEcfRQKar+Z+i6sWOTzvQyRC990Ua1t8LF3luAjsyrc3fNl4/LuGFEXMi3q cxI/LnWMF0hGRY6wmrmUCdTwOwLHpKxNk2/1/aE5o13S6bJBR8F6v9dlNFcOMXOMl/eX FPSs13mwX4RcMahOP6KxMSaZtbN8dmms4Z7vfIDU7jTWHVMc+wisrO+UHXuqXwqvXeao lByQ== X-Gm-Message-State: AODbwcDfaVKln78xWSkXWjmOAmAdfIjWdw1ekKxZIQgazETCiWmhcmnM NCJg6lKg06QrD6/7 X-Received: by 10.46.84.21 with SMTP id i21mr1137653ljb.125.1495112466927; Thu, 18 May 2017 06:01:06 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id 9sm503210ljg.25.2017.05.18.06.01.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 May 2017 06:01:05 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Thu, 18 May 2017 16:00:59 +0300 Message-Id: <20170518130102.6820-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.11.0 Cc: Praneeth Bajjuri , Tom Rini Subject: [U-Boot] [PATCH 0/3] omap: Provide fastboot variables for fastboot.sh 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" fastboot.sh is a script used for flashing Android images for TI boards (and can be found in corresponding AOSP sources). This script relies on some fastboot variables, which can be accessed with "fastboot getvar" command. This patch series exports those variables, which fastboot.sh script relies on. The list of added variables: - "cpu": CPU type (string, like "J6") - "secure": CPU security index (string, like "GP") - "board_rev": board revision (string, like "A.30") - "userdata_size": size of userdata partition (number, in KiB) Variables are enabled for AM57x EVM and DRA7 EVM boards, which are mainly supported TI boards, capable of Android running. Sam Protsenko (3): omap: Add routine for setting fastboot variables arm: am57xx: Set fastboot variables in environment arm: dra7: Set fastboot variables in environment arch/arm/include/asm/omap_common.h | 2 + arch/arm/mach-omap2/utils.c | 134 +++++++++++++++++++++++++++++++++++++ board/ti/am57xx/board.c | 1 + board/ti/dra7xx/evm.c | 1 + 4 files changed, 138 insertions(+)