Browse Source

configs/qemu: enable dhcp on network interfaces

Enable dhcp networking for qemu configs considered good enough for
testing purposes.

This excludes:
arm_nuri - emulation doesn't seem 100% correct for networking.
ppc_virtex_ml507 - doesn't emulate networking.
sh4eb - emulation doesn't seem 100% correct for the NIC.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias 9 năm trước cách đây
mục cha
commit
61c03feaa8

+ 1 - 0
configs/qemu_aarch64_virt_defconfig

@@ -2,6 +2,7 @@
 BR2_aarch64=y
 
 # System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
 
 # Filesystem

+ 1 - 0
configs/qemu_arm_versatile_defconfig

@@ -3,6 +3,7 @@ BR2_arm=y
 BR2_arm926t=y
 
 # System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
 
 # Filesystem

+ 1 - 0
configs/qemu_arm_vexpress_defconfig

@@ -5,6 +5,7 @@ BR2_ARM_ENABLE_NEON=y
 BR2_ARM_FPU_VFPV3D16=y
 
 # System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
 
 # Filesystem

+ 1 - 0
configs/qemu_microblazebe_mmu_defconfig

@@ -3,6 +3,7 @@ BR2_microblaze=y
 BR2_microblazebe=y
 
 # System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0"
 
 # Filesystem

+ 1 - 0
configs/qemu_microblazeel_mmu_defconfig

@@ -3,6 +3,7 @@ BR2_microblaze=y
 BR2_microblazeel=y
 
 # System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0"
 
 # Filesystem

+ 3 - 0
configs/qemu_mips64_malta_defconfig

@@ -2,6 +2,9 @@
 BR2_mips64=y
 BR2_MIPS_NABI64=y
 
+# System
+BR2_SYSTEM_DHCP="eth0"
+
 # Filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 # BR2_TARGET_ROOTFS_TAR is not set

+ 3 - 0
configs/qemu_mips64el_malta_defconfig

@@ -2,6 +2,9 @@
 BR2_mips64el=y
 BR2_MIPS_NABI64=y
 
+# System
+BR2_SYSTEM_DHCP="eth0"
+
 # Filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 # BR2_TARGET_ROOTFS_TAR is not set

+ 3 - 0
configs/qemu_mips_malta_defconfig

@@ -2,6 +2,9 @@
 BR2_mips=y
 BR2_mips_32r2=y
 
+# System
+BR2_SYSTEM_DHCP="eth0"
+
 # Filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 # BR2_TARGET_ROOTFS_TAR is not set

+ 3 - 0
configs/qemu_mipsel_malta_defconfig

@@ -2,6 +2,9 @@
 BR2_mipsel=y
 BR2_mips_32r2=y
 
+# System
+BR2_SYSTEM_DHCP="eth0"
+
 # Filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 # BR2_TARGET_ROOTFS_TAR is not set

+ 1 - 0
configs/qemu_ppc64_pseries_defconfig

@@ -3,6 +3,7 @@ BR2_powerpc64=y
 BR2_powerpc_power7=y
 
 # System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
 
 # Filesystem

+ 3 - 0
configs/qemu_ppc_g3beige_defconfig

@@ -2,6 +2,9 @@
 BR2_powerpc=y
 BR2_powerpc_750=y
 
+# System
+BR2_SYSTEM_DHCP="eth0"
+
 # Filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 # BR2_TARGET_ROOTFS_TAR is not set

+ 3 - 0
configs/qemu_ppc_mpc8544ds_defconfig

@@ -2,6 +2,9 @@
 BR2_powerpc=y
 BR2_powerpc_8548=y
 
+# System
+BR2_SYSTEM_DHCP="eth0"
+
 # Filesystem
 # BR2_TARGET_ROOTFS_TAR is not set
 BR2_TARGET_ROOTFS_INITRAMFS=y

+ 1 - 0
configs/qemu_sh4_r2d_defconfig

@@ -3,6 +3,7 @@ BR2_sh=y
 BR2_sh4=y
 
 # System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="ttySC1"
 
 # Filesystem

+ 3 - 0
configs/qemu_sparc64_sun4u_defconfig

@@ -2,6 +2,9 @@
 BR2_sparc64=y
 BR2_sparc_v9=y
 
+# System
+BR2_SYSTEM_DHCP="eth0"
+
 # Filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 # BR2_TARGET_ROOTFS_TAR is not set

+ 3 - 0
configs/qemu_sparc_ss10_defconfig

@@ -2,6 +2,9 @@
 BR2_sparc=y
 BR2_sparc_v8=y
 
+# System
+BR2_SYSTEM_DHCP="eth0"
+
 # Filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 # BR2_TARGET_ROOTFS_TAR is not set

+ 1 - 0
configs/qemu_x86_64_defconfig

@@ -2,6 +2,7 @@
 BR2_x86_64=y
 
 # System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="tty1"
 
 # Filesystem

+ 1 - 0
configs/qemu_x86_defconfig

@@ -3,6 +3,7 @@ BR2_i386=y
 BR2_x86_pentiumpro=y
 
 # System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="tty1"
 
 # Filesystem

+ 1 - 0
configs/qemu_xtensa_lx60_defconfig

@@ -9,6 +9,7 @@ BR2_XTENSA_OVERLAY_DIR="board/qemu/xtensa-lx60"
 BR2_GLOBAL_PATCH_DIR="board/qemu/xtensa-lx60"
 
 # System
+BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
 
 # Filesystem