get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/817994/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 817994,
    "url": "http://patchwork.ozlabs.org/api/patches/817994/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1506290733-6042-2-git-send-email-chevalliersebmax@gmail.com/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1506290733-6042-2-git-send-email-chevalliersebmax@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-24T22:05:33",
    "name": "[1/1,RFC] mvebu_espressobin-88f3720 : Add support for espressobin",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "5c49cd314a13826245ee31eb44fb85ce22d45ab7",
    "submitter": {
        "id": 72430,
        "url": "http://patchwork.ozlabs.org/api/people/72430/?format=api",
        "name": "Maxime Chevallier",
        "email": "chevalliersebmax@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1506290733-6042-2-git-send-email-chevalliersebmax@gmail.com/mbox/",
    "series": [
        {
            "id": 4848,
            "url": "http://patchwork.ozlabs.org/api/series/4848/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=4848",
            "date": "2017-09-24T22:05:32",
            "name": "Add support for espressobin",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4848/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/817994/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817994/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@busybox.net>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "buildroot@lists.busybox.net"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "buildroot@osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\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=\"SXkUT9uK\"; dkim-atps=neutral"
        ],
        "Received": [
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y0hBD1gpNz9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 08:06:11 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id A380C266C6;\n\tSun, 24 Sep 2017 22:06:06 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id N+RC5KQo1Wju; Sun, 24 Sep 2017 22:06:04 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 596CD2A0FF;\n\tSun, 24 Sep 2017 22:06:04 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 428341C1F64\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 24 Sep 2017 22:06:01 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 3C78C861BD\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 24 Sep 2017 22:06:01 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ZFG24DcqzbaQ for <buildroot@lists.busybox.net>;\n\tSun, 24 Sep 2017 22:06:00 +0000 (UTC)",
            "from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id CBD4286132\n\tfor <buildroot@buildroot.org>; Sun, 24 Sep 2017 22:05:59 +0000 (UTC)",
            "by mail-wm0-f67.google.com with SMTP id x17so5652060wmd.5\n\tfor <buildroot@buildroot.org>; Sun, 24 Sep 2017 15:05:59 -0700 (PDT)",
            "from localhost.localdomain (laf31-6-82-241-3-198.fbx.proxad.net.\n\t[82.241.3.198]) by smtp.gmail.com with ESMTPSA id\n\tl126sm5703099wmd.1.2017.09.24.15.05.56\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 24 Sep 2017 15:05:56 -0700 (PDT)"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "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=Z42IT0xAkPDpPKWle0Npl7y0ViDl1ueZwemoszRcsuQ=;\n\tb=SXkUT9uKt5b5fP+FMHCVfj8/t15W5iCryorlNFclcUkgjHOHGlPRp2jE+08h5ta55B\n\tsDqyRZuJiqLHWZm1wGfMYAxRiBcmCg2IrtAkbAgRxlYvCUPvx1nrZrbNJUbSS2dGNtwY\n\tnmeOiF089oskZ37QugwepIw5ihZiA/D86Jd0VDzj7clIrBnqg1GWqKOlEOJunFdatKUa\n\tQVbEjn4kNvVyTkaCS5Lnrp/SyOTbXHpbel8QlCv7H1AN/ATYFvjmi/ph75RloHfqiXII\n\tLBo+hrSWGLbeQhTiCYaMUNp3jG1Q+xgOk2WXmiQFZ6s8/kUoX0L5EDNJjnSdnaUft6Uk\n\tYf2w==",
        "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=Z42IT0xAkPDpPKWle0Npl7y0ViDl1ueZwemoszRcsuQ=;\n\tb=Pkg9k8n43sUeRsZlhBf+ujpJx7DqefkAPkYOrPuk0mCLs232l6ePmGLBYml5kUnSIi\n\tvo0zaOTKItiAoB0INzRsJRgbqwyIJQbaGf5vmtBuMN5ymxRjhL2ql4ORlrcHOdjPz3wy\n\trhmLJ+NqrJGNBWpsmoZjKcy04HcK86ef8GFeikYxDH2lpmUHUVmU4Q/5TjRmzHPwa0ja\n\tHQmR6dgcc1rtMX1Rlt9XWgkg4zMXuZ+rteMlrr86t+arQUI3ZXCRpd/GT6XcUeex9ruO\n\t4BP3HBIJ2NAuQO1extiEnA5To6zXf2Zs7aXm0WLpH7e1h0WZQBe+C58Q8tW+EtWFtj9u\n\tXq6Q==",
        "X-Gm-Message-State": "AHPjjUjrEfyShc73gNxgom6S2vL+K5tm3EU2VOvkjrlk0Xu2bpVa05sp\n\tw75n5cHM6IR32RvPag8PoBnsyh1Q",
        "X-Google-Smtp-Source": "AOwi7QAALWTm6Na7VxRF1JRYphPC08QlJAEX3KaGa+JVf7xgTqa9Bt6HNqg3OXrTqVtn6xtHzEqVUg==",
        "X-Received": "by 10.28.64.6 with SMTP id n6mr9302082wma.61.1506290757694;\n\tSun, 24 Sep 2017 15:05:57 -0700 (PDT)",
        "From": "Maxime Chevallier <chevalliersebmax@gmail.com>",
        "To": "buildroot@buildroot.org",
        "Date": "Mon, 25 Sep 2017 00:05:33 +0200",
        "Message-Id": "<1506290733-6042-2-git-send-email-chevalliersebmax@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1506290733-6042-1-git-send-email-chevalliersebmax@gmail.com>",
        "References": "<1506290733-6042-1-git-send-email-chevalliersebmax@gmail.com>",
        "Cc": "Maxime Chevallier <chevalliersebmax@gmail.com>",
        "Subject": "[Buildroot] [PATCH 1/1] [RFC] mvebu_espressobin-88f3720 : Add\n\tsupport for espressobin",
        "X-BeenThere": "buildroot@busybox.net",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>",
        "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>",
        "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@busybox.net>",
        "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>",
        "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@busybox.net",
        "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>"
    },
    "content": "Add support for the Globalscale 'Espressobin' board based\non Marvell Armada 3720.\n\nThis board has a dual Cortex-A53, 1GB DDR3, USBs, ethernets,\nand some GPIO ports. More informations on the vendor site :\nhttp://espressobin.net/tech-spec/\n\nThis config uses the mainline linux support for the board and\nthe buildroot toolchain using glibc, since uclibc does not\nsupport aarch64.\n\nMainline device-tree does not include SDCard support yet, so USB\nis the preferred way to boot the image, using the default pre-flashed\nu-boot on SPI NOR.\n\nSigned-off-by: Maxime Chevallier <chevalliersebmax@gmail.com>\n---\n DEVELOPERS                                  |  4 ++\n board/globalscale/espressobin/genimage.cfg  | 11 +++++\n board/globalscale/espressobin/readme.txt    | 76 +++++++++++++++++++++++++++++\n configs/mvebu_espressobin-88f3720_defconfig | 29 +++++++++++\n 4 files changed, 120 insertions(+)\n create mode 100644 board/globalscale/espressobin/genimage.cfg\n create mode 100644 board/globalscale/espressobin/readme.txt\n create mode 100644 configs/mvebu_espressobin-88f3720_defconfig",
    "diff": "diff --git a/DEVELOPERS b/DEVELOPERS\nindex e34802f..5036ac2 100644\n--- a/DEVELOPERS\n+++ b/DEVELOPERS\n@@ -1208,6 +1208,10 @@ F:\tpackage/python-wsaccel/\n N:\tMax Filippov <jcmvbkbc@gmail.com>\n F:\tarch/Config.in.xtensa\n \n+N:\tMaxime Chevallier <chevalliersebmax@gmail.com>\n+F:\tconfigs/mvebu_espressobin-88f3720_defconfig\n+F:\tboard/globalscale/espressobin/\n+\n N:\tMaxime Hadjinlian <maxime.hadjinlian@gmail.com>\n F:\tpackage/babeld/\n F:\tpackage/dante/\ndiff --git a/board/globalscale/espressobin/genimage.cfg b/board/globalscale/espressobin/genimage.cfg\nnew file mode 100644\nindex 0000000..664f81b\n--- /dev/null\n+++ b/board/globalscale/espressobin/genimage.cfg\n@@ -0,0 +1,11 @@\n+# Minimal image\n+\n+image sdcard.img {\n+  hdimage {\n+  }\n+\n+  partition rootfs {\n+    partition-type = 0x83\n+    image = \"rootfs.ext4\"\n+  }\n+}\ndiff --git a/board/globalscale/espressobin/readme.txt b/board/globalscale/espressobin/readme.txt\nnew file mode 100644\nindex 0000000..fc9140e\n--- /dev/null\n+++ b/board/globalscale/espressobin/readme.txt\n@@ -0,0 +1,76 @@\n+Espressobin\n+===========\n+\n+This is the basic support for the Espressobin by globalscale technologies,\n+based on the Marvell Armada 3720.\n+\n+This support is based on the mainline linux kernel.\n+\n+\n+How to build\n+============\n+\n+1 - Use default configuration for espressobin :\n+\n+make mvebu_espressobin-88f3720_defconfig\n+\n+2 - Build the system\n+\n+make\n+\n+This generates the kernel image, the devicetree binary, the rootfs as a\n+tar.gz, and a filesystem image containing everything : sdcard.img (this name\n+is misleading though, see Limitations).\n+\n+Build artifacts are located in output/images.\n+\n+How to boot\n+===========\n+\n+To boot, you need an UART connection, using the on-board micro-usb port\n+at 115200 bauds.\n+\n+NOTE : As of today, booting from SDCard is not fully supported (rootfs cannot\n+be located on SCard).\n+\n+## From USB Stick ############################################################\n+\n+As of right now, this is the easiest way to boot the system, since the SDCard\n+support is not fully mainlined. It uses the pre-flashed u-boot on the SPI NOR\n+to load the kernel, device-tree and rootfs from a USB stick.\n+\n+The on-board jumpers must be configured to select the SPI NOR as a boot source.\n+\n+1 - Flash rootfs image on usb drive (Be careful to select the correct drive)\n+\n+sudo dd if=sdcard.img of=/dev/sdX bs=1M\n+sync\n+\n+2 - Boot from SPI NOR, interrupt boot by pressing Enter\n+\n+3 - Setup the bootusb u-boot script :\n+\n+setenv fdt_addr 0x1800000\n+setenv fdt_name boot/armada-3720-espressobin.dtb\n+setenv bootusb 'usb start; ext4load usb 0:1 $kernel_addr $image_name; ext4load usb 0:1 $fdt_addr $fdt_name; setenv bootargs $console root=/dev/sda1 rw rootwait; booti $kernel_addr - $fdt_addr'\n+run bootusb\n+\n+Limitations\n+===========\n+\n+Since the buildroot support for the espressobin is based on mainline\n+linux, especially regarding device-tree, the current functionnalities\n+for espressobin are limited.\n+\n+Namely, the mainline device-tree does not include support for sdcards yet, which\n+means the kernel is not able to load a rootfs located on a SDCard.\n+\n+Todo\n+====\n+\n+- Add bootloader generation\n+\n+- Use a custom devicetree to have SDcard support (or wait for support in mainline linux tree)\n+\n+- When SDcard support is working, add generation of sdcard image including bootloader, and\n+  document the on-board jumper configuration needed for sdcard boot.\ndiff --git a/configs/mvebu_espressobin-88f3720_defconfig b/configs/mvebu_espressobin-88f3720_defconfig\nnew file mode 100644\nindex 0000000..394c881\n--- /dev/null\n+++ b/configs/mvebu_espressobin-88f3720_defconfig\n@@ -0,0 +1,29 @@\n+# Architecture\n+BR2_aarch64=y\n+BR2_cortex_a53=y\n+\n+# Linux headers same as kernel, a 4.13 series\n+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y\n+\n+# Filesystem\n+BR2_TARGET_ROOTFS_EXT2=y\n+BR2_TARGET_ROOTFS_EXT2_4=y\n+BR2_TARGET_ROOTFS_EXT2_GEN=4\n+BR2_TARGET_ROOTFS_TAR_GZIP=y\n+\n+# Kernel\n+BR2_LINUX_KERNEL=y\n+BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\"4.13\"\n+BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y\n+BR2_LINUX_KERNEL_DTS_SUPPORT=y\n+BR2_LINUX_KERNEL_INTREE_DTS_NAME=\"marvell/armada-3720-espressobin\"\n+BR2_LINUX_KERNEL_INSTALL_TARGET=y\n+\n+# uClibc does not support aarch64 yet.\n+BR2_TOOLCHAIN_BUILDROOT_GLIBC=y\n+\n+# Image generation\n+BR2_PACKAGE_HOST_GENIMAGE=y\n+BR2_ROOTFS_POST_IMAGE_SCRIPT=\"support/scripts/genimage.sh\"\n+BR2_ROOTFS_POST_SCRIPT_ARGS=\"-c board/globalscale/espressobin/genimage.cfg\"\n",
    "prefixes": [
        "1/1",
        "RFC"
    ]
}