[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Right MAC address to PXE boot Arndale board


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Birin Sanchez <birintxo@xxxxxxxxx>
  • Date: Thu, 02 May 2013 00:13:43 +0200
  • Delivery-date: Wed, 01 May 2013 22:14:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hi Xen-devel community!!

I'm new to xen development (not new to Xen ;) ). I'm learning the Xen internals and playing with Xen ARM so bear with me if I say/ask something silly.

I have a Arndale board and following the wiki instructions for PXE boot here:

http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions/Arndale#Booting_via_PXE

I realised that generating a random MAC address won't work because the MAC address is hard-coded in U-Boot binary. The only MAC address that will work is "00:40:5c:26:0a:5b". Obviously if you modify this piece of code:

diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c
index d70976d..acb31f0 100644
--- a/board/samsung/smdk5250/smdk5250.c
+++ b/board/samsung/smdk5250/smdk5250.c
@@ -226,7 +226,7 @@ int board_late_init(void)
 {
 #ifdef CONFIG_PREBOOT
        setenv("preboot", CONFIG_PREBOOT);
-       setenv("usbethaddr", "00:40:5c:26:0a:5b");
+       //setenv("usbethaddr", "00:40:5c:26:0a:5b");
 #endif
 }
 #endif

You will be able to use the random MAC generator on that page without any trouble.

I hope this is not something too obvious or too silly :P

Cheers,

Birin





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.