{"id":2207237,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2207237/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260309105110.672832-3-daniel@0x0f.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","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":"<20260309105110.672832-3-daniel@0x0f.com>","list_archive_url":null,"date":"2026-03-09T10:51:10","name":"[v2,3/3] doc: board: virt: m68k: Detail how to use debug uart","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"2c47562bea9ba37539fcfe926b439f2943b243f8","submitter":{"id":74011,"url":"http://patchwork.ozlabs.org/api/1.2/people/74011/?format=json","name":"Daniel Palmer","email":"daniel@0x0f.com"},"delegate":{"id":14103,"url":"http://patchwork.ozlabs.org/api/1.2/users/14103/?format=json","username":"spectrum","first_name":"Angelo","last_name":"Dureghello","email":"sysamfw@gmail.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260309105110.672832-3-daniel@0x0f.com/mbox/","series":[{"id":494987,"url":"http://patchwork.ozlabs.org/api/1.2/series/494987/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=494987","date":"2026-03-09T10:51:08","name":"[v2,1/3] serial: goldfish: Add debug uart support","version":2,"mbox":"http://patchwork.ozlabs.org/series/494987/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2207237/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2207237/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=0x0f.com header.i=@0x0f.com header.a=rsa-sha256\n header.s=google header.b=pPOtnk0F;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=0x0f.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=0x0f.com header.i=@0x0f.com header.b=\"pPOtnk0F\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=0x0f.com","phobos.denx.de; spf=pass smtp.mailfrom=daniel@0x0f.com"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fTv2s4Sflz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 09 Mar 2026 21:51:49 +1100 (AEDT)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 2702683EEF;\n\tMon,  9 Mar 2026 11:51:37 +0100 (CET)","by phobos.denx.de (Postfix, from userid 109)\n id 3EA9483CDF; Mon,  9 Mar 2026 11:51:36 +0100 (CET)","from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com\n [IPv6:2607:f8b0:4864:20::1029])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id ACF1283F1F\n for <u-boot@lists.denx.de>; Mon,  9 Mar 2026 11:51:33 +0100 (CET)","by mail-pj1-x1029.google.com with SMTP id\n 98e67ed59e1d1-3599019ae92so4338885a91.0\n for <u-boot@lists.denx.de>; Mon, 09 Mar 2026 03:51:33 -0700 (PDT)","from shiro (p1766150-ipxg00e01sizuokaden.shizuoka.ocn.ne.jp.\n [153.167.218.150]) by smtp.googlemail.com with ESMTPSA id\n 98e67ed59e1d1-359bbbaf51bsm5491921a91.1.2026.03.09.03.51.31\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 09 Mar 2026 03:51:31 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=0x0f.com; s=google; t=1773053492; x=1773658292; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=eKwOyDks3QY8J/rwGHse7Fq/YJaJArroebXUxv3IGZc=;\n b=pPOtnk0FsIrqboHiDJ2lX+rTqPvF+l30LbO3hC+iIOVhyQl4CHkNqWDKqoc9B5dslu\n MqeJ9S9sPpv6ba4UI4fam3cQUQa06gJED6TjAu4O1m//5z4sf/tmvi5omSntHy5M0Hi9\n armfKsfF+uB6va3zu+8dwm/taWxn82yZSznpM=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1773053492; x=1773658292;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=eKwOyDks3QY8J/rwGHse7Fq/YJaJArroebXUxv3IGZc=;\n b=nyEGflxy9sF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MTP id\n 98e67ed59e1d1-359be331408mr9858514a91.33.1773053491984;\n Mon, 09 Mar 2026 03:51:31 -0700 (PDT)","From":"Daniel Palmer <daniel@0x0f.com>","To":"visitorckw@gmail.com","Cc":"u-boot@lists.denx.de,\n\tDaniel Palmer <daniel@0x0f.com>","Subject":"[PATCH v2 3/3] doc: board: virt: m68k: Detail how to use debug uart","Date":"Mon,  9 Mar 2026 19:51:10 +0900","Message-ID":"<20260309105110.672832-3-daniel@0x0f.com>","X-Mailer":"git-send-email 2.51.0","In-Reply-To":"<20260309105110.672832-1-daniel@0x0f.com>","References":"<20260309105110.672832-1-daniel@0x0f.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://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 <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"Add a paragraph to explain how to get the address of the goldfish\ntty and use it as the debug uart. I think the address is actually\nfixed right now but it might change in the future.\n\nSigned-off-by: Daniel Palmer <daniel@0x0f.com>\n---\n doc/board/emulation/qemu-m68k.rst | 10 ++++++++++\n 1 file changed, 10 insertions(+)","diff":"diff --git a/doc/board/emulation/qemu-m68k.rst b/doc/board/emulation/qemu-m68k.rst\nindex 6c4de54cf6a8..2f2e6bd6444a 100644\n--- a/doc/board/emulation/qemu-m68k.rst\n+++ b/doc/board/emulation/qemu-m68k.rst\n@@ -31,6 +31,16 @@ The minimal QEMU command line to get U-Boot up and running is:\n Note that the `-nographic` option is used to redirect the console to stdio,\n which connects to the emulated Goldfish TTY device.\n \n+Debugging U-Boot\n+----------------\n+\n+If you need early debugging output enable `CONFIG_DEBUG_UART_GOLDFISH`.\n+The base address for the UART can be found by activating the QEMU monitor,\n+running `info qtree`, and then looking for the goldfish tty device and\n+taking the mmio address.\n+\n+Baud rate doesn't matter.\n+\n Hardware Support\n ----------------\n The following QEMU virt peripherals are supported in U-Boot:\n","prefixes":["v2","3/3"]}