From patchwork Thu May 18 13:01:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 100095 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp709118qge; Thu, 18 May 2017 06:03:03 -0700 (PDT) X-Received: by 10.80.186.110 with SMTP id 43mr3218364eds.104.1495112583666; Thu, 18 May 2017 06:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495112583; cv=none; d=google.com; s=arc-20160816; b=ptUUcuSSGAEjcRvhzVm+oUxyBIzeDtc8awyIpOrTrWLNpMArtM8TznKjLkf1k6LPQf eb0mpgJfAmB87q1rPaYIgcFjOLsU4cYBq9K2q48HYI45UPbt7t5K8D4WZ28wozG79so4 nJEVa61fHzu0Sb+q0IYjUu6l6Y16Z3jU5kAXgkJwPS78ZeJYzOqk1U9WR31o3KM8sixd CF0o/mtzs5QV0DLoIWGfM3XAHDZda4v+dEwE12N8Nim1ukik088FjLOkBi0eHMgNMHE8 E14vE+lW0OQWYUnqc7tz9fcri8uecoSWQyoONy8oGB/SsaOwC4JYC3pIdPEie48zzEJY PLXg== 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:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=RIni7x9FA0MUeV09PChHnWXW5de2WJT6ocLLa4of5Oo=; b=Skcm0CtWm0yjEhpcJKk/kqCjmVRaO7LwVtQghg6VAdtCQyQveyZd5gLO7NcGQ+4twy KBcicRYsz+7794CZB1ebXd24x7IoZcCiYEpyaJlq+6kKLWp5ItPHS4vc/Wu4kMaV2oFm szNmzTyL+McXHITkeThHYhOakdpwm6xfw8v/ndtvaPlLYJ5wsL9ZoY/J7Eco0uCMSExq CNcD/rch92bVwsj0j4kIo5Zh7tzM7pja/zHxu/K7LxR6c5loGTs01iImW9+Keb5eoCHI jvGn5zkuvacE02QynuWq/jGNmxenAl1OJKft8btYU5AIWcUy1JkOKdOokDnyckQsHPrT rSLQ== 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 b45si5502332edc.76.2017.05.18.06.03.03; Thu, 18 May 2017 06:03:03 -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 2F4D1C224A8; Thu, 18 May 2017 13:02:14 +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 41EB0C2233C; Thu, 18 May 2017 13:01:21 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8D171C22494; Thu, 18 May 2017 13:01:16 +0000 (UTC) Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by lists.denx.de (Postfix) with ESMTPS id D8530C22372 for ; Thu, 18 May 2017 13:01:12 +0000 (UTC) Received: by mail-wr0-f171.google.com with SMTP id w50so33527741wrc.0 for ; Thu, 18 May 2017 06:01:12 -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:in-reply-to:references; bh=Mvb+Tbbi+36BSH9lY8aCwiWDKg9g2SRIOpWk3RknEBo=; b=PRhJpFvcbWdetU+ZHAVizuU189Z6KneIHfmlVsjd1/D1234u/EeWnTSQFEV3m9k8zs CzzrRDbIGjnwNpv+RW5XmX4nw2ERT2+6bID6h+wEYnk47LF2xTb4x/ar1WQwhpECN8ee Dm6rqSmwU5wwnmKJ5/0jEm6hTsTYhpfFbS9cI= 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; bh=Mvb+Tbbi+36BSH9lY8aCwiWDKg9g2SRIOpWk3RknEBo=; b=MfJi4FKAjDklKg078Y+JWP21wniqtfEweKS0Iv8hD8qtM6+AsvvkYXehxYnoC1vc00 EV2FYL8HEUZpCRuYCZDOx2ytCcmyEHLozAfFhDd40WG17uWv2JnqpC9NzLVyqp/kTM7v dccvaorlAc31qTWoiGESahTmx+TEdoh29u/G56PaISO15o8lo8yEAvtla97Ya0EfdFuv aYezXClYAMkwyhSWuGWrlPuCss0NNcY9r/I1NMNIBBw+3CWIhZ1Ou0oMDfRF/GBRfmFt rvVfboMZ+jjU5BBSFsmZtEL3UdTbgHId9K669g7BwWDH78Smwsghf6XVp9Hbwi8pC6ah MRhA== X-Gm-Message-State: AODbwcDF94KADumzbAfVjqzUvhCUflTnG/T1FLN8vbQRq3BSDWkOSciG b7SSaON88vNKNrf2 X-Received: by 10.46.87.2 with SMTP id l2mr664542ljb.122.1495112472556; Thu, 18 May 2017 06:01:12 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id g42sm940556ljg.35.2017.05.18.06.01.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 May 2017 06:01:11 -0700 (PDT) From: Sam Protsenko To: u-boot@lists.denx.de Date: Thu, 18 May 2017 16:01:02 +0300 Message-Id: <20170518130102.6820-4-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170518130102.6820-1-semen.protsenko@linaro.org> References: <20170518130102.6820-1-semen.protsenko@linaro.org> Cc: Praneeth Bajjuri , Tom Rini Subject: [U-Boot] [PATCH 3/3] arm: dra7: Set fastboot variables in environment 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" One can obtain those variables using next commands: $ fastboot getvar cpu $ fastboot getvar secure $ fastboot getvar board_rev $ fastboot getvar userdata_size Those variables are needed for fastboot.sh script. Signed-off-by: Sam Protsenko --- board/ti/dra7xx/evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index 8c02addd08..7d36f03fa1 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -561,6 +561,7 @@ int board_late_init(void) setenv("boot_fit", "1"); omap_die_id_serial(); + omap_set_fastboot_vars(); #endif return 0; }