{"id":809921,"url":"http://patchwork.ozlabs.org/api/1.2/patches/809921/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1504586720-21735-1-git-send-email-rajesh.bhagat@nxp.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/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":"<1504586720-21735-1-git-send-email-rajesh.bhagat@nxp.com>","list_archive_url":null,"date":"2017-09-05T04:45:20","name":"[U-Boot] arm64: ls1012ardb: Add distro boot support","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"1fe69ba0057fc07595cee97e029cad5192ed2bc7","submitter":{"id":68498,"url":"http://patchwork.ozlabs.org/api/1.2/people/68498/?format=json","name":"Rajesh Bhagat","email":"rajesh.bhagat@nxp.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1504586720-21735-1-git-send-email-rajesh.bhagat@nxp.com/mbox/","series":[{"id":1486,"url":"http://patchwork.ozlabs.org/api/1.2/series/1486/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=1486","date":"2017-09-05T04:45:20","name":"[U-Boot] arm64: ls1012ardb: Add distro boot support","version":1,"mbox":"http://patchwork.ozlabs.org/series/1486/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/809921/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809921/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>)","spf=fail (sender IP is 192.88.168.50)\n\tsmtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed)\n\theader.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmZ0T3j54z9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 14:45:43 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 47524C21E1C; Tue,  5 Sep 2017 04:45:36 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id F2DCCC21C41;\n\tTue,  5 Sep 2017 04:45:33 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 079F0C21C41; Tue,  5 Sep 2017 04:45:31 +0000 (UTC)","from NAM01-BY2-obe.outbound.protection.outlook.com\n\t(mail-by2nam01on0064.outbound.protection.outlook.com [104.47.34.64])\n\tby lists.denx.de (Postfix) with ESMTPS id E6551C21C2B\n\tfor <u-boot@lists.denx.de>; Tue,  5 Sep 2017 04:45:30 +0000 (UTC)","from BN6PR03CA0064.namprd03.prod.outlook.com (2603:10b6:404:4c::26)\n\tby BL2PR03MB548.namprd03.prod.outlook.com (2a01:111:e400:c26::12)\n\twith Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10;\n\tTue, 5 Sep 2017 04:45:28 +0000","from BL2FFO11FD005.protection.gbl (2a01:111:f400:7c09::111) by\n\tBN6PR03CA0064.outlook.office365.com (2603:10b6:404:4c::26) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10 via\n\tFrontend Transport; Tue, 5 Sep 2017 04:45:28 +0000","from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBL2FFO11FD005.mail.protection.outlook.com (10.173.161.1) with\n\tMicrosoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1385.11\n\tvia Frontend Transport; Tue, 5 Sep 2017 04:45:28 +0000","from ubuntu1604.ap.freescale.net (ubuntu1604.ap.freescale.net\n\t[10.232.133.7])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\tv854jPDS002123; Mon, 4 Sep 2017 21:45:26 -0700"],"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=BAD_ENC_HEADER,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\n\tSPF_HELO_PASS autolearn=unavailable\n\tautolearn_force=no version=3.4.0","Received-SPF":"Fail (protection.outlook.com: domain of nxp.com does not\n\tdesignate 192.88.168.50 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.168.50; helo=tx30smr01.am.freescale.net;","From":"Rajesh Bhagat <rajesh.bhagat@nxp.com>","To":"<u-boot@lists.denx.de>","Date":"Tue, 5 Sep 2017 10:15:20 +0530","Message-ID":"<1504586720-21735-1-git-send-email-rajesh.bhagat@nxp.com>","X-Mailer":"git-send-email 2.7.4","X-EOPAttributedMessage":"0","X-Matching-Connectors":"131490603284048161;\n\t(91ab9b29-cfa4-454e-5278-08d120cd25b8); ()","X-Forefront-Antispam-Report":"CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI;\n\tSFV:NSPM;\n\tSFS:(10009020)(6009001)(336005)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(626005)(8676002)(50986999)(2906002)(110136004)(85426001)(48376002)(5003940100001)(53936002)(8936002)(305945005)(50466002)(97736004)(50226002)(81156014)(81166006)(6916009)(6666003)(4326008)(8656003)(5660300001)(68736007)(77096006)(105606002)(33646002)(2351001)(36756003)(54906002)(86362001)(356003)(575784001)(106466001)(104016004)(498600001)(47776003)(189998001)(139555002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB548;\n\tH:tx30smr01.am.freescale.net; \n\tFPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; ","X-Microsoft-Exchange-Diagnostics":["1; BL2FFO11FD005;\n\t1:FxiQLjXX0GkxhQrCyDX3y6sn1Ec/ibR0rLLhJjjpiBawcg7s6g5aG4LmYRuyXXyUSy7UMgxMsV85l2CeI7YYT9u/KCgkhdSuUwxIzdj34Kk09asWI83jl0Ih2vPYiJLA","1; BL2PR03MB548;\n\t3:KWt+2CdzmS+2SOjC15J6MdLfXseR0m7RVMvBsHMUFbIX/kxXc/popCSyTL4W+UcbrsUoye7bFKhOrk+B2XGS1xHxqOJPSj/ybyiZ9Miz+lQWaVRlHMMEwskcDA+aa4JT+oFrPgfdL4ulIUyvcUYib0ri+XAEXtWjEaN2lwo9Vrw82hnCPgnc+u+XU6bcoPv5KjK0eF1Oz1px88USYRZPoC2GLaU2suyJwiStXgsYrcyrDCjHU6CeMp4F6D8KggUS7AqHgNPoh2k4UbSWtZNNaATt4y1JoLCDXSMJI2S8k2REebUuDuuH9MxVUp1Iyt3/l1gDtLIg0JH8sLlPx5yVrD2DSOGzSejSjqRBUtIkhTg=;\n\t25:R4c7lh0u86qXaLJWhjTNLgI00mFUdqA2Tjidq0txFw2r2PMo3SAqSydGid56fRlAtbvRKAYStBUaNFJTGVWK7B5kAr6eLJI5FWP/RF3H40VDB8cleeQ3cEzw5+f07RZbg5BC4h+ItvJ22K6Y0I6CADGzEnC4mizjXTztwEqP4lcGOkuqany6TbxIRhH7UO9hDRjzNHl0yPYrNP1P+aY8KWsPviQgOAzmVZ5sesHcUxhBGo2Xxwrrg92T/EDXErelhIjmnQTxQ+9K/Sg8xYAPGFw48U/1sQ0keSGnfMXdypgBgJAuQSuKfo+WO/WRFd0HP6z7mcGgd/NDCXlIB2aAlw==","1; BL2PR03MB548;\n\t31:Lchd4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lVjR5rSedNZ4vktHK2l5RKin+qG3AcdgOrLGwy7JDConAy+UbEjdbeKBoHHwnUfzA3W8N8FE/NbcgoBU7k9OjDoncZ7+NLWrtL0LshBgQ==;\n\t24:W7JPyTmg+tKYBKLp8r1YprMSSHYHdWdzez7YpsSnuCWujjEJgEPpbqmiHxWVZ318kDHlmEBRwuSmJxBNloKzvJhB1Da3SOAXv5sgyEhp4sY=;\n\t7:ulm/raPjPqSirtcxwLgjZC6Yy/M78ezXl9m+6dYvqBYIm9xeWfUZsgZyWwhLRfrNZZXGNriYAJKXuOcfWcfqVXiXbbwo8BqlvjQTxKaatCmhtsGWxRyWKreZ0AYkzZhzLEIFG1ipNZfykTQKVkv4dlh0b1s5uK/FSKnzijcSi1M6K4eaZPx3qH2eMW2JHoBUnLXPrjDcpe6bkmAbgeXTpwOLIH0+m5LSLr59cUnunIE="],"MIME-Version":"1.0","X-MS-PublicTrafficType":"Email","X-MS-Office365-Filtering-Correlation-Id":"80e66c64-4634-4ccb-c7c0-08d4f418ee80","X-Microsoft-Antispam":"UriScan:; BCL:0; PCL:0;\n\tRULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);\n\tSRVR:BL2PR03MB548; ","X-MS-TrafficTypeDiagnostic":"BL2PR03MB548:","X-Exchange-Antispam-Report-Test":"UriScan:(185117386973197);","X-Microsoft-Antispam-PRVS":"<BL2PR03MB5487E575063FF012FCA06FAE3960@BL2PR03MB548.namprd03.prod.outlook.com>","X-Exchange-Antispam-Report-CFA-Test":"BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123563025)(20161123561025)(20161123565025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123559100)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:BL2PR03MB548; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:BL2PR03MB548; ","X-Forefront-PRVS":"0421BF7135","SpamDiagnosticOutput":"1:99","SpamDiagnosticMetadata":"NSPM","X-MS-Exchange-CrossTenant-OriginalArrivalTime":"05 Sep 2017 04:45:28.2332\n\t(UTC)","X-MS-Exchange-CrossTenant-Id":"5afe0b00-7697-4969-b663-5eab37d5f47e","X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp":"TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;\n\tIp=[192.88.168.50]; \n\tHelo=[tx30smr01.am.freescale.net]","X-MS-Exchange-CrossTenant-FromEntityHeader":"HybridOnPrem","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"BL2PR03MB548","Cc":"Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>","Subject":"[U-Boot] [PATCH] arm64: ls1012ardb: Add distro boot support","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>","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":"Include common config_distro_defaults.h and config_distro_bootcmd.h\nfor u-boot enviroments to support automatical distro boot which\nscan boot.scr from external storage devices(e.g. SD and USB)\nand execute autoboot script.\n\nSigned-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>\nSigned-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>\n---\n configs/ls1012ardb_qspi_defconfig |  1 +\n include/configs/ls1012a_common.h  | 16 ++++++++++++----\n include/configs/ls1012ardb.h      | 34 ++++++++++++++++++++++++++++++++++\n 3 files changed, 47 insertions(+), 4 deletions(-)","diff":"diff --git a/configs/ls1012ardb_qspi_defconfig b/configs/ls1012ardb_qspi_defconfig\nindex 81702e3..39d7a54 100644\n--- a/configs/ls1012ardb_qspi_defconfig\n+++ b/configs/ls1012ardb_qspi_defconfig\n@@ -50,3 +50,4 @@ CONFIG_DM_USB=y\n CONFIG_USB_XHCI_HCD=y\n CONFIG_USB_XHCI_DWC3=y\n CONFIG_USB_STORAGE=y\n+CONFIG_DISTRO_DEFAULTS=y\ndiff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h\nindex 020c506..14d4f07 100644\n--- a/include/configs/ls1012a_common.h\n+++ b/include/configs/ls1012a_common.h\n@@ -90,6 +90,14 @@\n #define CONFIG_HWCONFIG\n #define HWCONFIG_BUFFER_SIZE\t\t128\n \n+#include <config_distro_defaults.h>\n+#ifndef CONFIG_SPL_BUILD\n+#define BOOT_TARGET_DEVICES(func) \\\n+\tfunc(MMC, mmc, 0) \\\n+\tfunc(USB, usb, 0)\n+#include <config_distro_bootcmd.h>\n+#endif\n+\n /* Initial environment variables */\n #define CONFIG_EXTRA_ENV_SETTINGS\t\t\\\n \t\"verify=no\\0\"\t\t\t\t\\\n@@ -101,14 +109,14 @@\n \t\"kernel_load=0xa0000000\\0\"\t\t\\\n \t\"kernel_size=0x2800000\\0\"\t\t\\\n \n-#define CONFIG_BOOTCOMMAND\t\t\"sf probe 0:0; sf read $kernel_load \"\\\n-\t\t\t\t\t\"$kernel_start $kernel_size && \"\\\n-\t\t\t\t\t\"bootm $kernel_load\"\n+#undef CONFIG_BOOTCOMMAND\n+#if defined(CONFIG_QSPI_BOOT) || defined(CONFIG_SD_BOOT_QSPI)\n+#define CONFIG_BOOTCOMMAND \"run distro_bootcmd;run qspi_bootcmd\"\n+#endif\n \n /* Monitor Command Prompt */\n #define CONFIG_SYS_CBSIZE\t\t512\t/* Console I/O Buffer Size */\n #define CONFIG_SYS_LONGHELP\n-#define CONFIG_CMDLINE_EDITING\t\t1\n #define CONFIG_AUTO_COMPLETE\n #define CONFIG_SYS_MAXARGS\t\t64\t/* max command args */\n \ndiff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h\nindex e9edcd2..f6b0f1e 100644\n--- a/include/configs/ls1012ardb.h\n+++ b/include/configs/ls1012ardb.h\n@@ -70,6 +70,40 @@\n #define CONFIG_SYS_MEMTEST_START\t0x80000000\n #define CONFIG_SYS_MEMTEST_END\t\t0x9fffffff\n \n+#undef CONFIG_EXTRA_ENV_SETTINGS\n+#define CONFIG_EXTRA_ENV_SETTINGS\t\t\\\n+\t\"verify=no\\0\"\t\t\t\t\\\n+\t\"fdt_high=0xffffffffffffffff\\0\"\t\t\\\n+\t\"initrd_high=0xffffffffffffffff\\0\"\t\\\n+\t\"fdt_addr=0x00f00000\\0\"\t\t\t\\\n+\t\"kernel_addr=0x01000000\\0\"\t\t\\\n+\t\"scriptaddr=0x80000000\\0\"\t\t\\\n+\t\"fdtheader_addr_r=0x80100000\\0\"\t\t\\\n+\t\"kernelheader_addr_r=0x80200000\\0\"\t\\\n+\t\"kernel_addr_r=0x81000000\\0\"\t\t\\\n+\t\"fdt_addr_r=0x90000000\\0\"\t\t\\\n+\t\"load_addr=0xa0000000\\0\"\t\t\\\n+\t\"kernel_size=0x2800000\\0\"\t\t\\\n+\t\"console=ttyS0,115200\\0\"\t\t\\\n+\tBOOTENV\t\t\t\t\t\\\n+\t\"boot_scripts=ls1012ardb_boot.scr\\0\"\t\\\n+\t\"scan_dev_for_boot_part=\"\t\t\\\n+\t     \"part list ${devtype} ${devnum} devplist; \"\t\\\n+\t     \"env exists devplist || setenv devplist 1; \"\t\\\n+\t     \"for distro_bootpart in ${devplist}; do \"\t\t\\\n+\t\t  \"if fstype ${devtype} \"\t\t\t\\\n+\t\t      \"${devnum}:${distro_bootpart} \"\t\t\\\n+\t\t      \"bootfstype; then \"\t\t\t\\\n+\t\t      \"run scan_dev_for_boot; \"\t\\\n+\t\t  \"fi; \"\t\t\t\\\n+\t      \"done\\0\"\t\t\t\t\\\n+\t\"installer=load mmc 0:2 $load_addr \"\t\\\n+\t\t   \"/flex_installer_arm64.itb; \"\t\\\n+\t\t   \"bootm $load_addr#$board\\0\"\t\\\n+\t\"qspi_bootcmd=echo Trying load from qspi..;\"\t\\\n+\t\t\"sf probe && sf read $load_addr \"\t\\\n+\t\t\"$kernel_addr $kernel_size && bootm $load_addr#$board\\0\" \\\n+\n \n #include <asm/fsl_secure_boot.h>\n \n","prefixes":["U-Boot"]}