From patchwork Sat Aug 12 15:11:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Waldemar Brodkorb X-Patchwork-Id: 1820584 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RNPJL5VFcz1yf6 for ; Sun, 13 Aug 2023 01:11:29 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id DBB5560AF1; Sat, 12 Aug 2023 15:11:26 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org DBB5560AF1 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3ln8xoi_mAJd; Sat, 12 Aug 2023 15:11:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 2E5FB606A0; Sat, 12 Aug 2023 15:11:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2E5FB606A0 X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 8FCF21BF25B for ; Sat, 12 Aug 2023 15:11:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 41DF4606A0 for ; Sat, 12 Aug 2023 15:11:23 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 41DF4606A0 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WIqSA65m1yM9 for ; Sat, 12 Aug 2023 15:11:22 +0000 (UTC) Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) by smtp3.osuosl.org (Postfix) with ESMTPS id B6A4360655 for ; Sat, 12 Aug 2023 15:11:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org B6A4360655 Received: by helium.openadk.org (Postfix, from userid 1000) id 3E9C4352BD81; Sat, 12 Aug 2023 17:11:15 +0200 (CEST) Date: Sat, 12 Aug 2023 17:11:15 +0200 From: Waldemar Brodkorb To: buildroot@buildroot.org Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Operating-System: Linux 5.10.0-21-amd64 x86_64 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openadk.org; s=2022; t=1691853076; bh=xHg6c3r9qsk+h//C7qulekHtIHAR3kfwysa1/dFvqIg=; h=Date:From:To:Subject:From; b=oRSaDOXglUWlKT21E48+gU/ZVCuQThTl7Db8W55gF2ceK62jVW9d3p2EISEWkI1p1 7HvChtSKtEo6xu1nwExJuOGaoPXDhQLLNJh5tBAuepUhfLLiSOjnjqpQBpAMae9yhU KGxOJ1UdeXqO9dKvJGCcMrgykCxSqymkggYq3dY6VkVuNfwadpO03i0giplWuViOCL XXSO6DBFtiQIG0q7n9xl2j651Rjnv2T+7q6qhGtxNpAg2l5BgwDyQRN25GMNACDPyY yWN8yTzGuhHahTkVYqROPB8qc9mt+ffbGHPDZLLIegZg6baM07El47Y1yjF4eS8pNC /0O1MO7t6I4Ag== Subject: [Buildroot] [PATCH] configs/qemu_or1k_defconfig: enable ethernet X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" The issue seems to be fixed. I checked qemu and linux git repositories but can not find any information when this is starting to work. System gets successfully an IP, no further testing was done. Tested with Qemu 8.0.3 and Linux 6.1.x. Signed-off-by: Waldemar Brodkorb --- board/qemu/or1k/readme.txt | 2 -- configs/qemu_or1k_defconfig | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/board/qemu/or1k/readme.txt b/board/qemu/or1k/readme.txt index 2ea797440a..ed0359a0f5 100644 --- a/board/qemu/or1k/readme.txt +++ b/board/qemu/or1k/readme.txt @@ -3,5 +3,3 @@ Run the emulation with: qemu-system-or1k -kernel output/images/vmlinux -nographic # qemu_or1k_defconfig The login prompt will appear in the terminal that started Qemu. - -Ethernet support is not working, yet. diff --git a/configs/qemu_or1k_defconfig b/configs/qemu_or1k_defconfig index 166e5ea5ca..37b980a9bd 100644 --- a/configs/qemu_or1k_defconfig +++ b/configs/qemu_or1k_defconfig @@ -1,6 +1,9 @@ # Architecture BR2_or1k=y +# System +BR2_SYSTEM_DHCP="eth0" + # Filesystem # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_ROOTFS_INITRAMFS=y