From: Gustavo Zacarias Date: Thu, 19 Nov 2015 00:38:31 +0000 (-0300) Subject: configs/qemu: enable dhcp on network interfaces X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61c03feaa83a0c58b181f14d23b73e3273ad0d5a;p=buildroot.git 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 Reviewed-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/configs/qemu_aarch64_virt_defconfig b/configs/qemu_aarch64_virt_defconfig index c39fd8158b..a695afb9f6 100644 --- a/configs/qemu_aarch64_virt_defconfig +++ b/configs/qemu_aarch64_virt_defconfig @@ -2,6 +2,7 @@ BR2_aarch64=y # System +BR2_SYSTEM_DHCP="eth0" BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" # Filesystem diff --git a/configs/qemu_arm_versatile_defconfig b/configs/qemu_arm_versatile_defconfig index 7d5888a9bd..1ac59fd379 100644 --- a/configs/qemu_arm_versatile_defconfig +++ b/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 diff --git a/configs/qemu_arm_vexpress_defconfig b/configs/qemu_arm_vexpress_defconfig index ec9e2fb189..5f1a997b30 100644 --- a/configs/qemu_arm_vexpress_defconfig +++ b/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 diff --git a/configs/qemu_microblazebe_mmu_defconfig b/configs/qemu_microblazebe_mmu_defconfig index 5730e4cf65..e8fcaecbad 100644 --- a/configs/qemu_microblazebe_mmu_defconfig +++ b/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 diff --git a/configs/qemu_microblazeel_mmu_defconfig b/configs/qemu_microblazeel_mmu_defconfig index 8f95c827ee..01a423ba1d 100644 --- a/configs/qemu_microblazeel_mmu_defconfig +++ b/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 diff --git a/configs/qemu_mips64_malta_defconfig b/configs/qemu_mips64_malta_defconfig index 94dfb547d9..736ca708b5 100644 --- a/configs/qemu_mips64_malta_defconfig +++ b/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 diff --git a/configs/qemu_mips64el_malta_defconfig b/configs/qemu_mips64el_malta_defconfig index 88828fe01f..4c29ed5ba7 100644 --- a/configs/qemu_mips64el_malta_defconfig +++ b/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 diff --git a/configs/qemu_mips_malta_defconfig b/configs/qemu_mips_malta_defconfig index 3100d52488..4913490aff 100644 --- a/configs/qemu_mips_malta_defconfig +++ b/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 diff --git a/configs/qemu_mipsel_malta_defconfig b/configs/qemu_mipsel_malta_defconfig index dad1db032f..f3f513b663 100644 --- a/configs/qemu_mipsel_malta_defconfig +++ b/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 diff --git a/configs/qemu_ppc64_pseries_defconfig b/configs/qemu_ppc64_pseries_defconfig index 5f7a0132f1..08d6cbbf5a 100644 --- a/configs/qemu_ppc64_pseries_defconfig +++ b/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 diff --git a/configs/qemu_ppc_g3beige_defconfig b/configs/qemu_ppc_g3beige_defconfig index fb6c52a43d..a344f53f1f 100644 --- a/configs/qemu_ppc_g3beige_defconfig +++ b/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 diff --git a/configs/qemu_ppc_mpc8544ds_defconfig b/configs/qemu_ppc_mpc8544ds_defconfig index b02213977c..f89fcca3aa 100644 --- a/configs/qemu_ppc_mpc8544ds_defconfig +++ b/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 diff --git a/configs/qemu_sh4_r2d_defconfig b/configs/qemu_sh4_r2d_defconfig index 4366ab191a..819773849d 100644 --- a/configs/qemu_sh4_r2d_defconfig +++ b/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 diff --git a/configs/qemu_sparc64_sun4u_defconfig b/configs/qemu_sparc64_sun4u_defconfig index 8b47526abe..00ceb89210 100644 --- a/configs/qemu_sparc64_sun4u_defconfig +++ b/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 diff --git a/configs/qemu_sparc_ss10_defconfig b/configs/qemu_sparc_ss10_defconfig index cb0eb8f06a..6bb1c81b10 100644 --- a/configs/qemu_sparc_ss10_defconfig +++ b/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 diff --git a/configs/qemu_x86_64_defconfig b/configs/qemu_x86_64_defconfig index d35092618e..22983bf60e 100644 --- a/configs/qemu_x86_64_defconfig +++ b/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 diff --git a/configs/qemu_x86_defconfig b/configs/qemu_x86_defconfig index 3517b66ad2..0e1316ddf9 100644 --- a/configs/qemu_x86_defconfig +++ b/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 diff --git a/configs/qemu_xtensa_lx60_defconfig b/configs/qemu_xtensa_lx60_defconfig index 8a4210686f..42b844c956 100644 --- a/configs/qemu_xtensa_lx60_defconfig +++ b/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