All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zoran" <zoran.stojsavljevic@gmail.com>
To: jchludzinski@vivaldi.net
Cc: Yocto <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] Assign IP address at boot time
Date: Wed, 10 Mar 2021 10:39:35 +0100	[thread overview]
Message-ID: <CAGAf8LzieZttDQxNUyCKY_J=zrtZu4+nsK6u4XVfu9ujZzkOCQ@mail.gmail.com> (raw)
In-Reply-To: <5f0f65cc3e08a66871af9e3012c4f642@vivaldi.net>

Hello,

Maybe you can stop in the U-Boot monitor, and check your environment?
=>
=> print serverip
=> print ipaddr
=> print gatewayip
=> print gw_ip

And see what and how your bootcmd and similar env variables look like?

And if you do not have defined above, to add them (according to ash
script) and try booting again?

Zee
_______


On Tue, Mar 9, 2021 at 10:28 PM jchludzinski via
lists.yoctoproject.org
<jchludzinski=vivaldi.net@lists.yoctoproject.org> wrote:
>
> Where do I assign a static IP address to my sole network interface?
>
> I tried using the Linux boot parameters (in extlinux.conf):
>
> LABEL Arria10 SOCDK SDMMC
>     KERNEL ../zImage
>     FDT ../socfpga_arria10_phead.dtb
>     APPEND root=/dev/mmcblk0p2 rw rootwait earlyprintk console=ttyS0,115200n8 ip=192.168.0.101:255.255.255.0:eth0
>
> Then I tried editing: /etc/network/interfaces
>
> iface eth0 inet static
> address 192.168.0.101
> netmask 255.255.255.0
>
> Both failed. Where do I go?
>
> 
>

      parent reply	other threads:[~2021-03-10  9:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 21:27 Assign IP address at boot time jchludzinski
2021-03-10  0:45 ` [yocto] " Rudolf J Streif
2021-03-10  7:34   ` jchludzinski
2021-03-10 16:02     ` Rudolf J Streif
2021-03-10 19:31       ` jchludzinski
2021-03-10 19:51         ` Rudolf J Streif
2021-03-10 21:32           ` jchludzinski
2021-03-10 23:50             ` Rudolf J Streif
2021-03-11 18:12               ` jchludzinski
2021-03-11 22:42                 ` Rudolf J Streif
2021-03-12  5:37                 ` Chen Qi
2021-03-10  9:39 ` Zoran [this message]

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='CAGAf8LzieZttDQxNUyCKY_J=zrtZu4+nsK6u4XVfu9ujZzkOCQ@mail.gmail.com' \
    --to=zoran.stojsavljevic@gmail.com \
    --cc=jchludzinski@vivaldi.net \
    --cc=yocto@lists.yoctoproject.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.