Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/817854/?format=api
{ "id": 817854, "url": "http://patchwork.ozlabs.org/api/patches/817854/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170923233007.13772-3-gael.portay@savoirfairelinux.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": "<20170923233007.13772-3-gael.portay@savoirfairelinux.com>", "list_archive_url": null, "date": "2017-09-23T23:30:06", "name": "[2/3] raspberrypi: post-image.sh add new gpu_mem option", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "f83410a2cfdd825d46b85e5e825e6a6f88d09931", "submitter": { "id": 70334, "url": "http://patchwork.ozlabs.org/api/people/70334/?format=api", "name": "Gaël PORTAY", "email": "gael.portay@savoirfairelinux.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170923233007.13772-3-gael.portay@savoirfairelinux.com/mbox/", "series": [ { "id": 4797, "url": "http://patchwork.ozlabs.org/api/series/4797/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=4797", "date": "2017-09-23T23:30:05", "name": "Fix Qt WE run-time issue on RPI3", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4797/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/817854/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/817854/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.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)", "Received": [ "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\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 3y065x2Hgqz9t43\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 09:30:29 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id CD15D89176;\n\tSat, 23 Sep 2017 23:30:23 +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 qP-3PIdcJO-G; Sat, 23 Sep 2017 23:30:22 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 1A77F88C0D;\n\tSat, 23 Sep 2017 23:30:22 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 2B3E41C0D8C\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 23 Sep 2017 23:30:15 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 22A4B88DD5\n\tfor <buildroot@lists.busybox.net>;\n\tSat, 23 Sep 2017 23:30:15 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id MKfG8vUkYUas for <buildroot@lists.busybox.net>;\n\tSat, 23 Sep 2017 23:30:14 +0000 (UTC)", "from mail.savoirfairelinux.com (mail.savoirfairelinux.com\n\t[208.88.110.44])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id F3D5F88DD3\n\tfor <buildroot@buildroot.org>; Sat, 23 Sep 2017 23:30:13 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby mail.savoirfairelinux.com (Postfix) with ESMTP id AA1A69C277F;\n\tSat, 23 Sep 2017 19:30:12 -0400 (EDT)", "from mail.savoirfairelinux.com ([127.0.0.1])\n\tby localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new,\n\tport 10032)\n\twith ESMTP id 1hyhPthnOAO2; Sat, 23 Sep 2017 19:30:12 -0400 (EDT)", "from localhost (localhost [127.0.0.1])\n\tby mail.savoirfairelinux.com (Postfix) with ESMTP id 1ED6A9C1A76;\n\tSat, 23 Sep 2017 19:30:12 -0400 (EDT)", "from mail.savoirfairelinux.com ([127.0.0.1])\n\tby localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new,\n\tport 10026)\n\twith ESMTP id J7QWuFU0xuJJ; Sat, 23 Sep 2017 19:30:12 -0400 (EDT)", "from localhost.localdomain (unknown [172.16.15.6])\n\tby mail.savoirfairelinux.com (Postfix) with ESMTPSA id DEFD09C28EB;\n\tSat, 23 Sep 2017 19:30:11 -0400 (EDT)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org", "amavisd-new at mail.savoirfairelinux.com" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "From": "=?utf-8?q?Ga=C3=ABl_PORTAY?= <gael.portay@savoirfairelinux.com>", "To": "buildroot@buildroot.org, Arnout Vandecappelle <arnout@mind.be>,\n\tZoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>", "Date": "Sat, 23 Sep 2017 19:30:06 -0400", "Message-Id": "<20170923233007.13772-3-gael.portay@savoirfairelinux.com>", "X-Mailer": "git-send-email 2.13.2", "In-Reply-To": "<20170923233007.13772-1-gael.portay@savoirfairelinux.com>", "References": "<20170923233007.13772-1-gael.portay@savoirfairelinux.com>", "MIME-Version": "1.0", "Cc": "=?utf-8?q?Ga=C3=ABl_PORTAY?= <gael.portay@savoirfairelinux.com>", "Subject": "[Buildroot] [PATCH 2/3] raspberrypi: post-image.sh add new gpu_mem\n\toption", "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>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "buildroot-bounces@busybox.net", "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>" }, "content": "The amount of GPU memory can be set using the new option --gpu_mem_XXX\n(where XXX is the total amount of memory available on the board).\n\nSigned-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>\n---\n board/raspberrypi/post-image.sh | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)", "diff": "diff --git a/board/raspberrypi/post-image.sh b/board/raspberrypi/post-image.sh\nindex 1b49f0ea30..9091476ced 100755\n--- a/board/raspberrypi/post-image.sh\n+++ b/board/raspberrypi/post-image.sh\n@@ -1,4 +1,4 @@\n-#!/bin/sh\n+#!/bin/bash\n \n BOARD_DIR=\"$(dirname $0)\"\n BOARD_NAME=\"$(basename ${BOARD_DIR})\"\n@@ -38,6 +38,11 @@ enable_uart=1\n __EOF__\n \t\tfi\n \t\t;;\n+\t\t--gpu_mem_256=*|--gpu_mem_512=*|--gpu_mem_1024=*)\n+\t\t# Set GPU memory\n+\t\tgpu_mem=\"${1:2}\"\n+\t\tsed -e \"/^${gpu_mem%=*}=/s,=.*,=${gpu_mem##*=},\" -i \"${BINARIES_DIR}/rpi-firmware/config.txt\"\n+\t\t;;\n \tesac\n \tshift\n done\n", "prefixes": [ "2/3" ] }