[U-Boot] [PATCH v2 2/5] x86: qemu: Add CMD_NET to qemu-x86_defconfig

The following error is observed on QEMU x86.
=> print ipaddr ipaddr=192.168.178.66 => ping 192.168.178.1 *** ERROR: `ipaddr' not set ping failed; host 192.168.178.1 is not alive
The issue was introduced in commit fd30563. Adding CMD_NET to defconfig resolves this.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
---
Changes in v2: - New patch to fix the networking issue
configs/qemu-x86_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/qemu-x86_defconfig b/configs/qemu-x86_defconfig index 198ab97..4509d52 100644 --- a/configs/qemu-x86_defconfig +++ b/configs/qemu-x86_defconfig @@ -1,6 +1,7 @@ CONFIG_X86=y CONFIG_VENDOR_EMULATION=y CONFIG_TARGET_QEMU_X86=y +CONFIG_CMD_NET=y CONFIG_OF_CONTROL=y CONFIG_OF_SEPARATE=y CONFIG_DEFAULT_DEVICE_TREE="qemu-x86"

Hi Bin,
On 2 June 2015 at 19:20, Bin Meng bmeng.cn@gmail.com wrote:
The following error is observed on QEMU x86.
=> print ipaddr ipaddr=192.168.178.66 => ping 192.168.178.1 *** ERROR: `ipaddr' not set ping failed; host 192.168.178.1 is not alive
The issue was introduced in commit fd30563. Adding CMD_NET to defconfig resolves this.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
Changes in v2:
- New patch to fix the networking issue
configs/qemu-x86_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/configs/qemu-x86_defconfig b/configs/qemu-x86_defconfig index 198ab97..4509d52 100644 --- a/configs/qemu-x86_defconfig +++ b/configs/qemu-x86_defconfig @@ -1,6 +1,7 @@ CONFIG_X86=y CONFIG_VENDOR_EMULATION=y CONFIG_TARGET_QEMU_X86=y +CONFIG_CMD_NET=y CONFIG_OF_CONTROL=y CONFIG_OF_SEPARATE=y CONFIG_DEFAULT_DEVICE_TREE="qemu-x86" -- 1.8.2.1
I'll squash this into your commit that adds qemu support.
Regards, Simon
participants (2)
-
Bin Meng
-
Simon Glass