All of lore.kernel.org
 help / color / mirror / Atom feed
From: Birin Sanchez <birintxo@gmail.com>
To: xen-devel@lists.xen.org
Subject: Right MAC address to PXE boot Arndale board
Date: Thu, 02 May 2013 00:13:43 +0200	[thread overview]
Message-ID: <51819397.2000400@gmail.com> (raw)

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

             reply	other threads:[~2013-05-01 22:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-01 22:13 Birin Sanchez [this message]
2013-05-02  9:21 ` Right MAC address to PXE boot Arndale board Ian Campbell
2013-05-02 11:32   ` Julien Grall
2013-05-03  8:18     ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51819397.2000400@gmail.com \
    --to=birintxo@gmail.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.