diff mbox series

configs/qemu_or1k_defconfig: enable ethernet

Message ID ZNehEzTstrXcE4bf@waldemar-brodkorb.de
State Accepted
Headers show
Series configs/qemu_or1k_defconfig: enable ethernet | expand

Commit Message

Waldemar Brodkorb Aug. 12, 2023, 3:11 p.m. UTC
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 <wbx@openadk.org>
---
 board/qemu/or1k/readme.txt  | 2 --
 configs/qemu_or1k_defconfig | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

Comments

Thomas Petazzoni Aug. 12, 2023, 7:55 p.m. UTC | #1
On Sat, 12 Aug 2023 17:11:15 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:

> 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 <wbx@openadk.org>
> ---
>  board/qemu/or1k/readme.txt  | 2 --
>  configs/qemu_or1k_defconfig | 3 +++
>  2 files changed, 3 insertions(+), 2 deletions(-)

Applied to next, thanks.

Thomas
diff mbox series

Patch

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