[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:


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)
        setenv("preboot", CONFIG_PREBOOT);
-       setenv("usbethaddr", "00:40:5c:26:0a:5b");
+       //setenv("usbethaddr", "00:40:5c:26:0a:5b");

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



Xen-devel mailing list



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