Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2230655/?format=api
{ "id": 2230655, "url": "http://patchwork.ozlabs.org/api/patches/2230655/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260429-pic32mk-board-support-v1-3-1dfac14f8e2d@voltumotor.com/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260429-pic32mk-board-support-v1-3-1dfac14f8e2d@voltumotor.com>", "list_archive_url": null, "date": "2026-04-29T21:51:19", "name": "[RFC,3/3] docs: document the PIC32MK machine in target-mips.rst", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5526fbfac8ee9d261f3c3aee0a85c675c65de3cc", "submitter": { "id": 93284, "url": "http://patchwork.ozlabs.org/api/people/93284/?format=api", "name": "Ericson Joseph", "email": "ericsonjoseph@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260429-pic32mk-board-support-v1-3-1dfac14f8e2d@voltumotor.com/mbox/", "series": [ { "id": 502167, "url": "http://patchwork.ozlabs.org/api/series/502167/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502167", "date": "2026-04-29T21:51:18", "name": "hw/mips: add Microchip PIC32MK GPK/MCM board emulation", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502167/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2230655/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2230655/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=OszSFK0n;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5YZp39Kvz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 09:35:46 +1000 (AEST)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wIEQe-0004qZ-Kw; Wed, 29 Apr 2026 19:34:52 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <ericsonjoseph@gmail.com>)\n id 1wICoj-000112-0P\n for qemu-devel@nongnu.org; Wed, 29 Apr 2026 17:51:37 -0400", "from mail-dy1-x1329.google.com ([2607:f8b0:4864:20::1329])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <ericsonjoseph@gmail.com>)\n id 1wICog-0004I9-Ro\n for qemu-devel@nongnu.org; Wed, 29 Apr 2026 17:51:36 -0400", "by mail-dy1-x1329.google.com with SMTP id\n 5a478bee46e88-2ba9c484e5eso321654eec.1\n for <qemu-devel@nongnu.org>; Wed, 29 Apr 2026 14:51:34 -0700 (PDT)", "from [127.0.1.1] ([2803:9800:9001:c4f0:5d16:7dac:ff8:d8ff])\n by smtp.gmail.com with ESMTPSA id\n 5a478bee46e88-2ed1bf6d315sm4353878eec.1.2026.04.29.14.51.30\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 29 Apr 2026 14:51:32 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777499493; x=1778104293; darn=nongnu.org;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n :reply-to; bh=DA/FqRL0ewZtA3xZKzy9jEg1vUWq4E5BZgOmzcm/gFE=;\n b=OszSFK0ng9FhumpFGowSkpXU9ySlWLTiplD1qVvB3NyyBONZYXSR9zYOKILBxw4T6l\n KNDVS1ynrzgLBm9DR/qZ4GP3YsvCtRglGRW3oyjWPR1iTMREAOTmPZqWIItFc0ooAQ+C\n wsa9n3QlY/2gFVZNEo9p4HZcT4O9vtOxK7Vj5bgfVT6DKdAGZzfioeYxnPLxUScUBl6k\n XRQhcVf/40q4bC0FeVKjbuAASEHek73nxZT2PAq9Kx8zHD7A6Lg5GzKR3v7vq+quUf1z\n MrJvKcyxyGBApJhewpWHnRzFI+T8CbaWjvigrqaewVe4aHH8YDL6DTsrhR1jEz0sSDod\n 22cQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777499493; x=1778104293;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=DA/FqRL0ewZtA3xZKzy9jEg1vUWq4E5BZgOmzcm/gFE=;\n b=ZDgfQzNtadU47SCbcOsygztoeizYKQD7jyJJZz/vw1YVO7uH0fJfszrxvQoZhd0FHu\n Nws+TUQDkXma7LlsC2J6twA23brb0QCMGSuHE/5Gch2Oli6PmYNtza8H4hAQ3wO38pqo\n i+ZcQo2eaMRKyUkKon3kFn1eFhhOiaVd7XxaDJ2s0lnpFq1OXm1ZMw6lZ9J6HiMEzfiK\n AT/7a7Ttjnf9tJW0YMLBBHaWhrZmIs/TnBPQYx+s4iXqcAS/nPN3+NH1XI46w9V+29cM\n dvg6veKBJkO/E17GUnx36orrUKPNM4XOzUon3hIXaeiS8io6o3IOi4z8hVQ2FbnlLwgQ\n AlfQ==", "X-Gm-Message-State": "AOJu0YyreegtBGw7QDndu2Gl2FYVs1+5mku2G93izDMje7Mtxcs973kB\n S+WIM2vqcXIcG9NAdv88zsL1xOulbdPlEfKE1uMwWfbg+J1sqneUFYuv", "X-Gm-Gg": "AeBDietOC3XjDLDpQ4DNmdhlj1w+WkUvb729tJHeEPCt71IHZw5rl7N+MYmKFMWTDyE\n BdvTdX58fYtI16Y2NDBDmR2IBeLMzMCkEKNikIBXnaeJxJulXckNbbDUIC0boqdr6dF+QDf9Dyb\n ttf60qnisLMzJ3FiHYFxb1crE1S/+VaqxzeTh4rfwjbxEA9jI/DOmLkvrbpYXcb84PhtdnOApWk\n ricDMjfGYj5A7LqXYvDGspmnz+YdNOGBzeb73GVfeHdZoDPMoMHK0c4uabuUkQUSnMET/npXNSW\n ajCHWpjeroySBdq4DjhVqDokRVzyOlMljHenkCPndajIYylAAy4t1+wj6AbsnBZKXXxAS1m5Lxy\n GUhWxuLClLO3sOB6N0Q/EaikDMUk7Kn1d7+7qYVIG+58L4nxZcZRbGsm6DIDBtWmT8ZAMvr0fnj\n GqejveqJTJK9AL4scUzxXM5G4eHk4r8XoCy03AHMh2", "X-Received": "by 2002:a05:7300:6419:b0:2ea:c085:44b1 with SMTP id\n 5a478bee46e88-2ed3f15d38fmr40324eec.19.1777499493169;\n Wed, 29 Apr 2026 14:51:33 -0700 (PDT)", "From": "Ericson Joseph <ericsonjoseph@gmail.com>", "Date": "Wed, 29 Apr 2026 18:51:19 -0300", "Subject": "[PATCH RFC 3/3] docs: document the PIC32MK machine in target-mips.rst", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "Message-Id": "<20260429-pic32mk-board-support-v1-3-1dfac14f8e2d@voltumotor.com>", "References": "<20260429-pic32mk-board-support-v1-0-1dfac14f8e2d@voltumotor.com>", "In-Reply-To": "<20260429-pic32mk-board-support-v1-0-1dfac14f8e2d@voltumotor.com>", "To": "qemu-devel@nongnu.org", "Cc": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>,\n Jiaxun Yang <jiaxun.yang@flygoat.com>, Paolo Bonzini <pbonzini@redhat.com>,\n Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>,\n Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>,\n Ericson Joseph <ericsonjoseph@gmail.com>", "X-Mailer": "b4 0.15.2", "Received-SPF": "pass client-ip=2607:f8b0:4864:20::1329;\n envelope-from=ericsonjoseph@gmail.com; helo=mail-dy1-x1329.google.com", "X-Spam_score_int": "-20", "X-Spam_score": "-2.1", "X-Spam_bar": "--", "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no", "X-Spam_action": "no action", "X-Mailman-Approved-At": "Wed, 29 Apr 2026 19:34:51 -0400", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "qemu development <qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "Add the Microchip PIC32MK GPK/MCM board to the MIPS system emulator\ndocumentation, listing all supported peripherals, the firmware load\naddress, and example command lines for basic UART and CAN FD usage.\n\nSigned-off-by: Ericson Joseph <ericsonjoseph@gmail.com>\n---\n docs/system/target-mips.rst | 52 +++++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 52 insertions(+)", "diff": "diff --git a/docs/system/target-mips.rst b/docs/system/target-mips.rst\nindex 2a152e1338..571c7b6fa8 100644\n--- a/docs/system/target-mips.rst\n+++ b/docs/system/target-mips.rst\n@@ -15,6 +15,8 @@ machine types are emulated:\n - A MIPS Magnum R4000 machine \\\"magnum\\\". This machine needs the\n 64-bit emulator.\n \n+- The Microchip PIC32MK GPK/MCM microcontroller family \\\"pic32mk\\\"\n+\n The Malta emulation supports the following devices:\n \n - Core board with MIPS 24Kf CPU and Galileo system controller\n@@ -78,6 +80,56 @@ The Loongson-3 virtual platform emulation supports:\n \n - Both KVM and TCG supported\n \n+The PIC32MK GPK/MCM emulation supports the following devices:\n+\n+- MIPS32 microAptiv MCU core (74Kf, little-endian, 120 MHz)\n+\n+- 256 KB SRAM, 1 MB program flash, 256 KB boot flash\n+\n+- EVIC — 216-source vectored interrupt controller\n+\n+- UART × 6 (UART1 connected to the first serial port by default)\n+\n+- Timer × 9 with prescaler and period-match interrupts\n+\n+- GPIO ports A–G with TRIS/LAT/PORT/ANSEL/CNPU/CNPD registers\n+\n+- SPI × 6 (master and slave modes)\n+\n+- I2C × 4\n+\n+- DMA × 8 channels\n+\n+- CAN FD × 4 (via QEMU ``can-bus`` objects, SocketCAN-compatible)\n+\n+- USB Full-Speed OTG × 2 (chardev PTY)\n+\n+- ADCHS — 12-bit high-speed ADC with 7 cores\n+\n+- NVM flash controller with optional host-file backing\n+\n+- Data EEPROM emulation over program flash\n+\n+- Output Compare (OC) × 16 and Input Capture (IC) × 16\n+\n+- CRU (Clock and Reset Unit), WDT (Watchdog), CFG (configuration)\n+\n+Running a firmware image::\n+\n+ qemu-system-mipsel -M pic32mk -bios firmware.bin \\\n+ -serial stdio -nographic -monitor none\n+\n+Connecting to a SocketCAN interface (e.g. ``vcan0``)::\n+\n+ qemu-system-mipsel -M pic32mk -bios firmware.bin \\\n+ -object can-bus,id=canbus0 \\\n+ -object can-host-socketcan,id=canhost0,if=vcan0,canbus=canbus0 \\\n+ -serial stdio -nographic\n+\n+Firmware must be a raw binary linked to start at 0xBFC40000\n+(Boot Flash 1). The reset vector at 0xBFC00000 contains a trampoline\n+that jumps to 0xBFC40000.\n+\n .. include:: cpu-models-mips.rst.inc\n \n .. _nanoMIPS-System-emulator:\n", "prefixes": [ "RFC", "3/3" ] }