Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1113012/?format=api
{ "id": 1113012, "url": "http://patchwork.ozlabs.org/api/patches/1113012/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1560161653-1809-1-git-send-email-wasim.khan@nxp.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "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": "<1560161653-1809-1-git-send-email-wasim.khan@nxp.com>", "list_archive_url": null, "date": "2019-06-10T10:17:25", "name": "[U-Boot,v2,1/3] armv8: ls2088aqds: Add bootcmd for TFA boot", "commit_ref": "d7a4ddd3b23e119d2cfc94f7d9751d1fafb3c258", "pull_url": null, "state": "accepted", "archived": false, "hash": "3319da8e95345e7be0184ee49641ea7ef2b4936d", "submitter": { "id": 76773, "url": "http://patchwork.ozlabs.org/api/people/76773/?format=api", "name": "Wasim Khan", "email": "wasim.khan@nxp.com" }, "delegate": { "id": 2467, "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api", "username": "prabhu_kush", "first_name": "Prabhakar", "last_name": "Kushwaha", "email": "prabhakar@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1560161653-1809-1-git-send-email-wasim.khan@nxp.com/mbox/", "series": [ { "id": 112828, "url": "http://patchwork.ozlabs.org/api/series/112828/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=112828", "date": "2019-06-10T10:17:25", "name": "[U-Boot,v2,1/3] armv8: ls2088aqds: Add bootcmd for TFA boot", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/112828/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1113012/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1113012/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\tdmarc=fail (p=none dis=none) header.from=nxp.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"L/AM0bwe\";\n\tdkim-atps=neutral", "spf=none (sender IP is )\n\tsmtp.mailfrom=wasim.khan@nxp.com; " ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45MqDn1PwVz9s4Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 10 Jun 2019 20:31:37 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid CB493C21FFC; Mon, 10 Jun 2019 10:31:14 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 856DBC22006;\n\tMon, 10 Jun 2019 10:31:13 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid BE154C22088; Mon, 10 Jun 2019 10:17:26 +0000 (UTC)", "from EUR03-DB5-obe.outbound.protection.outlook.com\n\t(mail-eopbgr40064.outbound.protection.outlook.com [40.107.4.64])\n\tby lists.denx.de (Postfix) with ESMTPS id 7E7DCC2204F\n\tfor <u-boot@lists.denx.de>; Mon, 10 Jun 2019 10:17:26 +0000 (UTC)", "from VE1PR04MB6702.eurprd04.prod.outlook.com (20.179.235.203) by\n\tVE1PR04MB6688.eurprd04.prod.outlook.com (20.179.235.153) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1965.17; Mon, 10 Jun 2019 10:17:25 +0000", "from VE1PR04MB6702.eurprd04.prod.outlook.com\n\t([fe80::9c45:77c7:ab7c:df40]) by\n\tVE1PR04MB6702.eurprd04.prod.outlook.com\n\t([fe80::9c45:77c7:ab7c:df40%4]) with mapi id 15.20.1965.017;\n\tMon, 10 Jun 2019 10:17:25 +0000" ], "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=SPF_HELO_PASS, T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=JVPe0C+HUSAPymrJ+HQApGmrTCHZHpvr68Yz/NprcBM=;\n\tb=L/AM0bweoz9gsmroix/woGuK/95/f8SkX6SOQPhXdphp7CIuq/pX0/WzBMEeRLhhGHttLRc6izOPozu0xtxiQZZkr0ZrX2EBAz+jcCbFg2huVJ2SNwn8WfJvdxkEXx3nEM5QWJ8ktyr1DExFENq1CVokK5yfKt5igrJduGUpQSQ=", "From": "Wasim Khan <wasim.khan@nxp.com>", "To": "\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>, Prabhakar Kushwaha\n\t<prabhakar.kushwaha@nxp.com>, Priyanka Jain <priyanka.jain@nxp.com>", "Thread-Topic": "[PATCH v2 1/3] armv8: ls2088aqds: Add bootcmd for TFA boot", "Thread-Index": "AQHVH3WyG2varRa+DkehQ04JfXg9wA==", "Date": "Mon, 10 Jun 2019 10:17:25 +0000", "Message-ID": "<1560161653-1809-1-git-send-email-wasim.khan@nxp.com>", "Accept-Language": "en-US", "Content-Language": "en-US", "X-MS-Has-Attach": "", "X-MS-TNEF-Correlator": "", "x-clientproxiedby": "SG2PR02CA0008.apcprd02.prod.outlook.com\n\t(2603:1096:3:17::20) To VE1PR04MB6702.eurprd04.prod.outlook.com\n\t(2603:10a6:803:128::11)", "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\tdmarc=fail (p=none dis=none) header.from=nxp.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"L/AM0bwe\";\n\tdkim-atps=neutral", "spf=none (sender IP is )\n\tsmtp.mailfrom=wasim.khan@nxp.com; " ], "x-ms-exchange-messagesentrepresentingtype": "1", "x-mailer": "git-send-email 2.7.4", "x-originating-ip": "[14.142.151.118]", "x-ms-publictraffictype": "Email", "x-ms-office365-filtering-correlation-id": "9a3f0935-ebe9-48d6-9386-08d6ed8cd535", "x-ms-office365-filtering-ht": "Tenant", "x-microsoft-antispam": "BCL:0; PCL:0;\n\tRULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);\n\tSRVR:VE1PR04MB6688; ", "x-ms-traffictypediagnostic": "VE1PR04MB6688:", "x-microsoft-antispam-prvs": "<VE1PR04MB668856B7FE37533DCB8240EE90130@VE1PR04MB6688.eurprd04.prod.outlook.com>", "x-ms-oob-tlc-oobclassifiers": "OLM:1775;", "x-forefront-prvs": "0064B3273C", "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(346002)(376002)(366004)(39860400002)(396003)(136003)(189003)(199004)(6436002)(64756008)(66556008)(66476007)(73956011)(8936002)(6486002)(50226002)(66946007)(66446008)(316002)(6116002)(25786009)(3846002)(81166006)(81156014)(8676002)(4326008)(71200400001)(5660300002)(55236004)(102836004)(78486014)(2906002)(86362001)(110136005)(53936002)(71190400001)(476003)(14454004)(99286004)(305945005)(44832011)(6512007)(256004)(14444005)(478600001)(52116002)(486006)(7736002)(36756003)(2616005)(186003)(6506007)(66066001)(68736007)(386003)(26005)(2501003)(6636002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6688;\n\tH:VE1PR04MB6702.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; MX:1; A:1; ", "received-spf": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)", "x-ms-exchange-senderadcheck": "1", "x-microsoft-antispam-message-info": "2IRAoORD1kyeZxvFVZD6B3OJZK0evFBTatREjsuT+dOFRoCrX4Hk1i2wM69qcSd5MlT99e301YTYjnlBKuL9UsflUbube/bDgGejr7x7WsTLj/BAmMPYmLhmtDVR4cIkktckFaSC22TFbGTjkjV+iC56eaiQMM1+9bPUk/k3K35u4cYHsDM+yxbN8nfxx4DHVSPFn4YN6iiCdfgL5Pm78Jgupw8s5cm9ZwGlEPnWCfYWnzPoNbWUNkF6rdzvZO2RDdOoeZpDqGC6EtA0Byy6i1tJ3DnsEHgAKlmjBxLbgMRtvicHmTWqhhMzLraxjHINd93TkBAkk1MyzkE5X/jnqOrBvUWMv1K4O6L/Dr1WYLc4W4VmkfnJwsSPm2Gddbck+2PxQML1g+0SCooiPwebf0yjP8aOiBd2MPwaeJrvRFQ=", "MIME-Version": "1.0", "X-OriginatorOrg": "nxp.com", "X-MS-Exchange-CrossTenant-Network-Message-Id": "9a3f0935-ebe9-48d6-9386-08d6ed8cd535", "X-MS-Exchange-CrossTenant-originalarrivaltime": "10 Jun 2019 10:17:25.0294\n\t(UTC)", "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted", "X-MS-Exchange-CrossTenant-id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635", "X-MS-Exchange-CrossTenant-mailboxtype": "HOSTED", "X-MS-Exchange-CrossTenant-userprincipalname": "wasim.khan@nxp.com", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "VE1PR04MB6688", "Subject": "[U-Boot] [PATCH v2 1/3] armv8: ls2088aqds: Add bootcmd for TFA boot", "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": "Add bootcmd for IFC NOR boot and SD boot.\n\nSigned-off-by: Wasim Khan <wasim.khan@nxp.com>\n---\nChanges in v2:\n\t- Corrected Copyright info\n\n include/configs/ls2080aqds.h | 45 ++++++++++++++++++++++++++++++++++++++------\n 1 file changed, 39 insertions(+), 6 deletions(-)", "diff": "diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h\r\nindex 74c7dc4..11c6ffd 100644\r\n--- a/include/configs/ls2080aqds.h\r\n+++ b/include/configs/ls2080aqds.h\r\n@@ -1,6 +1,6 @@\r\n /* SPDX-License-Identifier: GPL-2.0+ */\r\n /*\r\n- * Copyright 2017 NXP\r\n+ * Copyright 2017, 2019 NXP\r\n * Copyright 2015 Freescale Semiconductor\r\n */\r\n \r\n@@ -378,8 +378,8 @@ unsigned long get_board_ddr_clk(void);\r\n \t\"hwconfig=fsl_ddr:bank_intlv=auto\\0\" \\\r\n \t\"loadaddr=0x80100000\\0\" \\\r\n \t\"loadaddr_sd=0x90100000\\0\" \\\r\n-\t\"kernel_addr=0x100000\\0\" \\\r\n-\t\"kernel_addr_sd=0x800\\0\" \\\r\n+\t\"kernel_addr=0x581000000\\0\"\t\t \\\r\n+\t\"kernel_addr_sd=0x8000\\0\" \\\r\n \t\"ramdisk_addr=0x800000\\0\" \\\r\n \t\"ramdisk_size=0x2000000\\0\" \\\r\n \t\"fdt_high=0xa0000000\\0\" \\\r\n@@ -389,9 +389,23 @@ unsigned long get_board_ddr_clk(void);\r\n \t\"kernel_load=0xa0000000\\0\" \\\r\n \t\"kernel_size=0x2800000\\0\" \\\r\n \t\"kernel_size_sd=0x14000\\0\" \\\r\n-\t\"mcinitcmd=fsl_mc start mc 0x580a00000\" \\\r\n-\t\" 0x580e00000 \\0\"\t\t\t\\\r\n-\t\"mcmemsize=0x70000000 \\0\"\r\n+\t\"load_addr=0xa0000000\\0\"\t\t \\\r\n+\t\"kernelheader_addr=0x580800000\\0\"\t\\\r\n+\t\"kernelheader_addr_r=0x80200000\\0\"\t\\\r\n+\t\"kernelheader_size=0x40000\\0\"\t\t\\\r\n+\t\"BOARD=ls2088aqds\\0\" \\\r\n+\t\"mcmemsize=0x70000000 \\0\" \\\r\n+\tIFC_MC_INIT_CMD\t\t\t\t\\\r\n+\t\"nor_bootcmd=echo Trying load from nor..;\"\t\t\\\r\n+\t\t\"cp.b $kernel_addr $load_addr \"\t\t\t\\\r\n+\t\t\"$kernel_size ; env exists secureboot && \"\t\\\r\n+\t\t\"cp.b $kernelheader_addr $kernelheader_addr_r \"\t\\\r\n+\t\t\"$kernelheader_size && esbc_validate ${kernelheader_addr_r}; \"\\\r\n+\t\t\"bootm $load_addr#$BOARD\\0\"\t\\\r\n+\t\"sd_bootcmd=echo Trying load from SD ..;\" \\\r\n+\t\"mmcinfo; mmc read $load_addr \"\t\t\\\r\n+\t\"$kernel_addr_sd $kernel_size_sd && \"\t\\\r\n+\t\"bootm $load_addr#$BOARD\\0\"\r\n #elif defined(CONFIG_SD_BOOT)\r\n #define CONFIG_EXTRA_ENV_SETTINGS\t\t\\\r\n \t\"hwconfig=fsl_ddr:bank_intlv=auto\\0\" \\\r\n@@ -426,6 +440,25 @@ unsigned long get_board_ddr_clk(void);\r\n #endif /* CONFIG_TFABOOT */\r\n #endif /* CONFIG_SECURE_BOOT */\r\n \r\n+#ifdef CONFIG_TFABOOT\r\n+#define SD_BOOTCOMMAND\t\t\t\t\t\t\\\r\n+\t\t\t\"env exists mcinitcmd && env exists secureboot \"\\\r\n+\t\t\t\"&& mmcinfo && mmc read $load_addr 0x3c00 0x800 \" \\\r\n+\t\t\t\"&& esbc_validate $load_addr; \"\t\t\t\\\r\n+\t\t\t\"env exists mcinitcmd && run mcinitcmd \"\t\\\r\n+\t\t\t\"&& mmc read 0x88000000 0x6800 0x800 \"\t\t\\\r\n+\t\t\t\"&& fsl_mc lazyapply dpl 0x88000000; \"\t\t\\\r\n+\t\t\t\"run sd_bootcmd; \"\t\t\\\r\n+\t\t\t\"env exists secureboot && esbc_halt;\"\r\n+\r\n+#define IFC_NOR_BOOTCOMMAND\t\t\t\t\t\t\\\r\n+\t\t\t\"env exists mcinitcmd && env exists secureboot \"\\\r\n+\t\t\t\"&& esbc_validate 0x580780000; env exists mcinitcmd \"\\\r\n+\t\t\t\"&& fsl_mc lazyapply dpl 0x580d00000;\"\t\t\\\r\n+\t\t\t\"run nor_bootcmd; \"\t\t\\\r\n+\t\t\t\"env exists secureboot && esbc_halt;\"\r\n+#endif\r\n+\r\n #if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)\r\n #define CONFIG_FSL_MEMAC\r\n #define CONFIG_PHYLIB_10G\r\n", "prefixes": [ "U-Boot", "v2", "1/3" ] }