From: Birin Sanchez Subject: Right MAC address to PXE boot Arndale board Date: Thu, 02 May 2013 00:13:43 +0200 Message-ID: <51819397.2000400@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.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