Skip to contentSkip to conversation

qemu-arm: Enable DHCP distro target

PATCH Superseded Alexander Graf 2 participants 2 messages Sep 4, 2018 – Sep 6, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-arm: Enable DHCP distro target

When booting the QEMU virt machine with -net nic,model=e1000 we can already support network boot just fine today.

So let's enable the default bootcmd to also evaluate DHCP responses properly. That way we can enable network boot seamlessly with the virt target.

---
 include/configs/qemu-arm.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/configs/qemu-arm.h +2 -1
index 913ff4f263..66729b7d4f 100644
@@ -30,7 +30,8 @@
 #define CONFIG_ENV_SIZE				SZ_64K
 
 #define BOOT_TARGET_DEVICES(func) \
-	func(SCSI, scsi, 0)
+	func(SCSI, scsi, 0) \
+	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>
 
Signature · 1 line
2.12.3
#1 lore raw
Quoted 7 lines · Alexander Graf

When booting the QEMU virt machine with -net nic,model=e1000 we can already support network boot just fine today.

So let's enable the default bootcmd to also evaluate DHCP responses properly. That way we can enable network boot seamlessly with the virt target.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180906/1f3da9d3/attachment.sig>