Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/806530/?format=api
{ "id": 806530, "url": "http://patchwork.ozlabs.org/api/patches/806530/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1503918948-1436-2-git-send-email-jteki@openedev.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": "<1503918948-1436-2-git-send-email-jteki@openedev.com>", "list_archive_url": null, "date": "2017-08-28T11:15:48", "name": "[U-Boot,2/2] i.MX6Q: icorem6: Add falcon mode", "commit_ref": "63af4b0ad0666e0797306593813b6272e1995bde", "pull_url": null, "state": "accepted", "archived": false, "hash": "18dbd03c2f90bf5bbc8d091fa63ddb2a1e55616c", "submitter": { "id": 20045, "url": "http://patchwork.ozlabs.org/api/people/20045/?format=api", "name": "Jagan Teki", "email": "jagannadh.teki@gmail.com" }, "delegate": { "id": 1693, "url": "http://patchwork.ozlabs.org/api/users/1693/?format=api", "username": "sbabic", "first_name": "Stefano", "last_name": "Babic", "email": "sbabic@denx.de" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1503918948-1436-2-git-send-email-jteki@openedev.com/mbox/", "series": [ { "id": 137, "url": "http://patchwork.ozlabs.org/api/series/137/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=137", "date": "2017-08-28T11:15:47", "name": "[U-Boot,1/2] i.MX6Q: spl: Fix falcon to use dram_init_banksize", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/137/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/806530/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/806530/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\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"DoFCn9GO\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgq3V6CJVz9s8P\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 21:16:54 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 4D09CC224CB; Mon, 28 Aug 2017 11:16:32 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 127A3C224CB;\n\tMon, 28 Aug 2017 11:16:31 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 21177C224BE; Mon, 28 Aug 2017 11:16:13 +0000 (UTC)", "from mail-pf0-f196.google.com (mail-pf0-f196.google.com\n\t[209.85.192.196])\n\tby lists.denx.de (Postfix) with ESMTPS id 9EEFEC224B3\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 11:16:09 +0000 (UTC)", "by mail-pf0-f196.google.com with SMTP id c28so128293pfe.0\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 04:16:09 -0700 (PDT)", "from localhost.localdomain ([115.97.191.18])\n\tby smtp.gmail.com with ESMTPSA id\n\tz7sm402861pgb.24.2017.08.28.04.16.02\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 28 Aug 2017 04:16:06 -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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\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=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=IVLH1xNSg0JuBIjWIHqiTJAgXKs9F/hYvWBqkKAfDnY=;\n\tb=DoFCn9GOI8niP7/MI072JKDjc7M678GNGolNcUgJXIWbZd/QgPmeTcN3KU2DQhUesc\n\tlqeJ7nrSXrq+dguCs7Zd+cuwTGV+4Y0Kg+9T2TMn2O7Lxwd0GTeTyRJmuqqNqYqrW+JI\n\t1E9aOTiKaH8AWWSOEBmCcnsm0JUyei7XS9Y43uId7qWe3QZDH46crHzJvW/2W3wY/MUI\n\t/L55aoszPNr0ewRe3wV/fM/meq3BAZ709S5DVA0CNEG83ac2J1fioZCYLgZ+BiaMOFxq\n\tcPUeUi8sHpHkyL9xHLp0XdZTeEmpOCswc7OMqT6+vzE06BheYMtxnH37vqYbIAAofv3J\n\tVk4g==", "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=IVLH1xNSg0JuBIjWIHqiTJAgXKs9F/hYvWBqkKAfDnY=;\n\tb=OA1HFPD/Gsa7/wPauSpqYat+6Oo5ucI22sRWjg9xfIFLt00FaKuwR/IOVM8mOsGk5j\n\tdE3aSU+59/EqFZasehh3Cv/oWEhJmeCQWl6RIOS/OmsVCk3oEAejUIcLSes4ukwpbUq6\n\tRXDCRhMwWlbQKQVg/kZi0gR4rKwhi+dFMYfnzrr80TFaRuKYSg2lbwMgz0vHbU4CSRHB\n\tOEVkkr7umztOiRNQy08hJ2Bi4DJ6ZZb6palXFAR1M8qjTXJgnaGIj5dmWTJ0W1X7ONEF\n\tk+ZcrF/acdqy3To0ztiIJIfGnsRdR7hIMaCl+PYBYXWxIMCcXbSA5aE09p2Ojv+vPHqq\n\tVfBw==", "X-Gm-Message-State": "AHYfb5hULcjyfdAxHYsDgNdh3IfaaQpVggrETkU0w7KLXIidWCTvFQp0\n\tPCVMyXoPnCzs5fa0", "X-Received": "by 10.84.217.141 with SMTP id p13mr259902pli.159.1503918967778; \n\tMon, 28 Aug 2017 04:16:07 -0700 (PDT)", "From": "Jagan Teki <jagannadh.teki@gmail.com>", "X-Google-Original-From": "Jagan Teki <jteki@openedev.com>", "To": "u-boot@lists.denx.de", "Date": "Mon, 28 Aug 2017 16:45:48 +0530", "Message-Id": "<1503918948-1436-2-git-send-email-jteki@openedev.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1503918948-1436-1-git-send-email-jteki@openedev.com>", "References": "<1503918948-1436-1-git-send-email-jteki@openedev.com>", "Cc": "Tom Rini <trini@konsulko.com>, Fabio Estevam <fabio.estevam@nxp.com>", "Subject": "[U-Boot] [PATCH 2/2] i.MX6Q: icorem6: Add falcon mode", "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": "From: Jagan Teki <jagan@amarulasolutions.com>\n\nAdd Falcon mode support in Engicam i.CoreM6 board.\n\nSigned-off-by: Jagan Teki <jagan@amarulasolutions.com>\n---\n board/engicam/common/spl.c | 11 +++++++++++\n configs/imx6qdl_icore_mmc_defconfig | 1 +\n include/configs/imx6-engicam.h | 14 ++++++++++++++\n 3 files changed, 26 insertions(+)", "diff": "diff --git a/board/engicam/common/spl.c b/board/engicam/common/spl.c\nindex a8a7cf3..6dc9851 100644\n--- a/board/engicam/common/spl.c\n+++ b/board/engicam/common/spl.c\n@@ -39,6 +39,17 @@ static iomux_v3_cfg_t const uart_pads[] = {\n #endif\n };\n \n+#ifdef CONFIG_SPL_OS_BOOT\n+int spl_start_uboot(void)\n+{\n+\t/* break into full u-boot on 'c' */\n+\tif (serial_tstc() && serial_getc() == 'c')\n+\t\treturn 1;\n+\n+\treturn 0;\n+}\n+#endif\n+\n #ifdef CONFIG_MX6QDL\n /*\n * Driving strength:\ndiff --git a/configs/imx6qdl_icore_mmc_defconfig b/configs/imx6qdl_icore_mmc_defconfig\nindex 9d61c48..4baed1c 100644\n--- a/configs/imx6qdl_icore_mmc_defconfig\n+++ b/configs/imx6qdl_icore_mmc_defconfig\n@@ -48,3 +48,4 @@ CONFIG_DEBUG_UART_CLOCK=24000000\n CONFIG_MXC_UART=y\n CONFIG_IMX_THERMAL=y\n CONFIG_VIDEO_IPUV3=y\n+CONFIG_SPL_OS_BOOT=y\ndiff --git a/include/configs/imx6-engicam.h b/include/configs/imx6-engicam.h\nindex e0bdb656..a1b7036 100644\n--- a/include/configs/imx6-engicam.h\n+++ b/include/configs/imx6-engicam.h\n@@ -183,6 +183,20 @@\n # define CONFIG_MII\n #endif\n \n+/* Falcon Mode */\n+#ifdef CONFIG_SPL_OS_BOOT\n+# define CONFIG_SPL_FS_LOAD_ARGS_NAME\t\"args\"\n+# define CONFIG_SPL_FS_LOAD_KERNEL_NAME\t\"uImage\"\n+# define CONFIG_CMD_SPL\n+# define CONFIG_SYS_SPL_ARGS_ADDR\t0x18000000\n+# define CONFIG_CMD_SPL_WRITE_SIZE\t(128 * SZ_1K)\n+\n+/* MMC support: args@1MB kernel@2MB */\n+# define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR\t\t0x800 /* 1MB */\n+# define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS\t\t(CONFIG_CMD_SPL_WRITE_SIZE / 512)\n+# define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR\t0x1000 /* 2MB */\n+#endif\n+\n /* Framebuffer */\n #ifdef CONFIG_VIDEO_IPUV3\n # define CONFIG_IPUV3_CLK\t\t260000000\n", "prefixes": [ "U-Boot", "2/2" ] }