public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Subject: [PATCH v.2] at91: add support for CDU9G25 board
Date: Tue, 10 Sep 2013 11:26:53 +0200	[thread overview]
Message-ID: <522EE5DD.5010301@gmail.com> (raw)
In-Reply-To: <522ED13F.90303@aksignal.cz>

Dear Ji?? Prchal,

On 09/10/2013 09:58 AM, Ji?? Prchal wrote:
> Dne 9.9.2013 17:34, Wolfgang Denk napsal(a):
>> In message <1378736524-30870-1-git-send-email-jiri.prchal@aksignal.cz>
>> you wrote:

<snip>

>>> +#define CONFIG_BOOTARGS        "console=ttyS0,115200 ubi.mtd=root"\
>>> +                "root=ubi0:root rootfstype=ubifs rw"\
>>> +                "g_ether.dev_addr=02:04:25:aa:55:5e"\
>>> +                "g_ether.host_addr=02:04:25:aa:55:5f"
> This is here for linux connection with PC via USB ethernet gadget. I'd
> like static IP for this connection but if there is random MAC addr I
> must set up IP again and again. Is another solution for this?

I have this in my /etc/network/interfaces on host:

---8<---
allow-hotplug usb0
iface usb0 inet static
	address 192.168.50.2
	netmask 255.255.255.0
	broadcast 192.168.50.255
	network 192.168.50.0
--->8---

And something other, hard coded in in embedded firmware config. This
works like a charm with changing MAC for usb gadget.

Best regards

Andreas Bie?mann

  reply	other threads:[~2013-09-10  9:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09 14:22 [U-Boot] [PATCH] Subject: [PATCH v.2] at91: add support for CDU9G25 board Jiri Prchal
2013-09-09 15:34 ` Wolfgang Denk
2013-09-10  7:58   ` Jiří Prchal
2013-09-10  9:26     ` Andreas Bießmann [this message]
2013-09-10 22:52     ` Wolfgang Denk
2013-09-11  7:39       ` Jiří Prchal

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=522EE5DD.5010301@gmail.com \
    --to=andreas.devel@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox