All of lore.kernel.org
 help / color / mirror / Atom feed
* Right MAC address to PXE boot Arndale board
@ 2013-05-01 22:13 Birin Sanchez
  2013-05-02  9:21 ` Ian Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Birin Sanchez @ 2013-05-01 22:13 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-03  8:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-01 22:13 Right MAC address to PXE boot Arndale board Birin Sanchez
2013-05-02  9:21 ` Ian Campbell
2013-05-02 11:32   ` Julien Grall
2013-05-03  8:18     ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.