{"id":817159,"url":"http://patchwork.ozlabs.org/api/patches/817159/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170921193759.3914-4-semen.protsenko@linaro.org/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170921193759.3914-4-semen.protsenko@linaro.org>","list_archive_url":null,"date":"2017-09-21T19:37:58","name":"[U-Boot,3/4] env: ti: boot: Extract command for eMMC Linux boot","commit_ref":"2717c08485332efa6224fc9650fc36d06b8c6fe8","pull_url":null,"state":"accepted","archived":false,"hash":"294ac039a1edf90881af49cf8a8d78ed76ed0580","submitter":{"id":68333,"url":"http://patchwork.ozlabs.org/api/people/68333/?format=json","name":"Sam Protsenko","email":"semen.protsenko@linaro.org"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170921193759.3914-4-semen.protsenko@linaro.org/mbox/","series":[{"id":4473,"url":"http://patchwork.ozlabs.org/api/series/4473/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=4473","date":"2017-09-21T19:37:59","name":"arm: am57xx/dra7xx: Improve eMMC Linux boot","version":1,"mbox":"http://patchwork.ozlabs.org/series/4473/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/817159/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/817159/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"Gd/DANAM\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xypY31rXCz9s78\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 06:45:59 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 9EE62C21E44; Thu, 21 Sep 2017 19:38:58 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BBF7AC21F07;\n\tThu, 21 Sep 2017 19:38:27 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid F4087C21EB1; Thu, 21 Sep 2017 19:38:11 +0000 (UTC)","from mail-lf0-f52.google.com (mail-lf0-f52.google.com\n\t[209.85.215.52])\n\tby lists.denx.de (Postfix) with ESMTPS id 53E05C21EA5\n\tfor <u-boot@lists.denx.de>; Thu, 21 Sep 2017 19:38:07 +0000 (UTC)","by mail-lf0-f52.google.com with SMTP id y187so6784062lfc.8\n\tfor <u-boot@lists.denx.de>; Thu, 21 Sep 2017 12:38:07 -0700 (PDT)","from localhost ([195.238.92.132])\n\tby smtp.gmail.com with ESMTPSA id 1sm451946ljp.29.2017.09.21.12.38.05\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 21 Sep 2017 12:38:05 -0700 (PDT)"],"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,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=T47orzbeliOqrqWlP1ZPUfuOEaxCAmmWlGSlue+gwiU=;\n\tb=Gd/DANAMGPhsv/eVBTyzxnFIsTuXggtoVl00L3CgNJKbm5nviZntXW3+8ZEXSyXcTT\n\tHm94bbCugp4k/2BfZ1tkHvbjVExvafnrwVwCNIHORTKZGkKL6ZEIfX1IBqsmt4cDYsK/\n\tsX5r53ndanDtN6bo6bNufrJ472jga0bcQ/Bz8=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=T47orzbeliOqrqWlP1ZPUfuOEaxCAmmWlGSlue+gwiU=;\n\tb=BtSfctS0C39e8P5C7/c3xVxHj7qMIDZwEp6lhayo3sz2/msyOKdk6RIRfP3z+gENqC\n\tKp2aeii+DgBhwONwNpNCfKZmhstlPQNak8SdSbY+VKHNnSrO8u3kj5Vnm1KLbvlGPPkb\n\t9sTcV7ICCuS6hSW3Tvdu/zBkGjspFZnyLPoBAIL31FHFxdVZ2Hyr/UAPerVGXf68BsDD\n\tidksxSJqcXPVQEkV5LxSiCJ4XAYk2IvmuE4udyNA6vk66olX2bW4SJV1wR++cfUKO8Ah\n\tBSKiqyObQDe4nlEwgdZH07DJo2+8hpB3RcHS5byWzeZanfoTytSbJBK5ztpUr7DwGroI\n\t+dTg==","X-Gm-Message-State":"AHPjjUjC8yrEvHxyGFKkS212kx7Yh94XY/xdgtCOHZJHPZcgASl/qdL0\n\te2zfRBTwOWOkGik+J8+7cXJLyi59idE=","X-Google-Smtp-Source":"AOwi7QA6abzspa4rn9jE5Jp1gQei8++b2CTTEWZZlWWjzjk+Ll1DQvkeqwHX+dFNtX7Hs+wHdz6VHA==","X-Received":"by 10.25.23.80 with SMTP id n77mr1184471lfi.121.1506022686492;\n\tThu, 21 Sep 2017 12:38:06 -0700 (PDT)","From":"Sam Protsenko <semen.protsenko@linaro.org>","To":"u-boot@lists.denx.de","Date":"Thu, 21 Sep 2017 22:37:58 +0300","Message-Id":"<20170921193759.3914-4-semen.protsenko@linaro.org>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170921193759.3914-1-semen.protsenko@linaro.org>","References":"<20170921193759.3914-1-semen.protsenko@linaro.org>","Cc":"Tom Rini <trini@konsulko.com>, Praneeth Bajjuri <praneeth@ti.com>","Subject":"[U-Boot] [PATCH 3/4] env: ti: boot: Extract command for eMMC Linux\n\tboot","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Extract commands for booting Linux from eMMC to separate command. It\nseems more logical that way, and allows us to run the whole command set\nfrom U-Boot shell with only one command.\n\nSigned-off-by: Sam Protsenko <semen.protsenko@linaro.org>\n---\n include/environment/ti/boot.h | 10 ++++++----\n 1 file changed, 6 insertions(+), 4 deletions(-)","diff":"diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h\nindex 5b1b97bafe..2306d3cdf0 100644\n--- a/include/environment/ti/boot.h\n+++ b/include/environment/ti/boot.h\n@@ -29,6 +29,11 @@\n \t\"partitions=\" PARTS_DEFAULT \"\\0\" \\\n \t\"optargs=\\0\" \\\n \t\"dofastboot=0\\0\" \\\n+\t\"emmc_linux_boot=\" \\\n+\t\t\"setenv mmcdev 1; \" \\\n+\t\t\"setenv bootpart 1:2; \" \\\n+\t\t\"setenv mmcroot /dev/mmcblk0p2 rw; \" \\\n+\t\t\"run mmcboot;\\0\" \\\n \t\"emmc_android_boot=\" \\\n \t\t\"setenv eval_bootargs setenv bootargs $bootargs; \" \\\n \t\t\"run eval_bootargs; \" \\\n@@ -93,10 +98,7 @@\n \t\"run findfdt; \" \\\n \t\"run envboot; \" \\\n \t\"run mmcboot;\" \\\n-\t\"setenv mmcdev 1; \" \\\n-\t\"setenv bootpart 1:2; \" \\\n-\t\"setenv mmcroot /dev/mmcblk0p2 rw; \" \\\n-\t\"run mmcboot;\" \\\n+\t\"run emmc_linux_boot; \" \\\n \t\"run emmc_android_boot; \" \\\n \t\"\"\n \n","prefixes":["U-Boot","3/4"]}