<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/net, branch v2011.06-rc3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>net/net.c: Update ipaddr if the environment has changed</title>
<updated>2011-06-01T20:17:49+00:00</updated>
<author>
<name>Enric Balletbo i Serra</name>
<email>eballetbo@iseebcn.com</email>
</author>
<published>2011-05-31T21:01:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=23a70bf9c352ec5b6ac52d5be8087b963c2073dd'/>
<id>23a70bf9c352ec5b6ac52d5be8087b963c2073dd</id>
<content type='text'>
At least on ARM the ipaddr is only set in board_init_r function. The
problem is if ipaddr is not defined in environment importing another
environment defined don't update the ipaddr value.

For example, suppose we've a default environment without net variables
defined and we want to import an uEnv.txt environment from SD-card like
this:

  ipaddr=192.168.2.240
  netmask=255.255.255.0
  gatewayip=192.168.2.1
  serverip=192.168.2.114

Then if you try boot from NFS results in:

  Importing environment from mmc ...
  Running uenvcmd ...
  smc911x: detected LAN9221 controller
  smc911x: phy initialized
  smc911x: MAC ac:de:48:00:00:00
  *** ERROR: `ipaddr' not set

The ipaddr at this point is NULL beacause is only set at board_init_r
function. This patch updates the ipaddr value if the environment has
changed.

Signed-off-by: Enric Balletbo i Serra &lt;eballetbo@iseebcn.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At least on ARM the ipaddr is only set in board_init_r function. The
problem is if ipaddr is not defined in environment importing another
environment defined don't update the ipaddr value.

For example, suppose we've a default environment without net variables
defined and we want to import an uEnv.txt environment from SD-card like
this:

  ipaddr=192.168.2.240
  netmask=255.255.255.0
  gatewayip=192.168.2.1
  serverip=192.168.2.114

Then if you try boot from NFS results in:

  Importing environment from mmc ...
  Running uenvcmd ...
  smc911x: detected LAN9221 controller
  smc911x: phy initialized
  smc911x: MAC ac:de:48:00:00:00
  *** ERROR: `ipaddr' not set

The ipaddr at this point is NULL beacause is only set at board_init_r
function. This patch updates the ipaddr value if the environment has
changed.

Signed-off-by: Enric Balletbo i Serra &lt;eballetbo@iseebcn.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/tftp.c: fix typo</title>
<updated>2011-05-19T19:38:38+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca.ceresoli@comelit.it</email>
</author>
<published>2011-05-17T00:03:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4d69e98c068ed0d3533a61b64fe06d0d1b870aaf'/>
<id>4d69e98c068ed0d3533a61b64fe06d0d1b870aaf</id>
<content type='text'>
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>TFTP: add tftpsrv command</title>
<updated>2011-05-19T19:38:32+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca.ceresoli@comelit.it</email>
</author>
<published>2011-05-17T00:03:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7a83af07aef3c924cfb2d36e68eea8b86d22f2a1'/>
<id>7a83af07aef3c924cfb2d36e68eea8b86d22f2a1</id>
<content type='text'>
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>TFTP: net/tftp.c: add server mode receive</title>
<updated>2011-05-19T19:38:26+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca.ceresoli@comelit.it</email>
</author>
<published>2011-05-17T00:03:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e59e35620af0d57de75cddb9ec3f19449b998868'/>
<id>e59e35620af0d57de75cddb9ec3f19449b998868</id>
<content type='text'>
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>TFTP: rename STATE_RRQ to STATE_SEND_RRQ</title>
<updated>2011-05-19T19:38:19+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca.ceresoli@comelit.it</email>
</author>
<published>2011-05-17T00:03:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e3fb0abe2befb405428b23d6c0da4682a347b4f7'/>
<id>e3fb0abe2befb405428b23d6c0da4682a347b4f7</id>
<content type='text'>
With the upcoming TFTP server implementation, requests can be either
outgoing or incoming, so avoid ambiguities.

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the upcoming TFTP server implementation, requests can be either
outgoing or incoming, so avoid ambiguities.

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>TFTP: replace "server" with "remote" in local variable names</title>
<updated>2011-05-19T19:38:12+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca.ceresoli@comelit.it</email>
</author>
<published>2011-05-17T00:03:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=20478ceaa295048e220d0963d1c8db5e1d6916fb'/>
<id>20478ceaa295048e220d0963d1c8db5e1d6916fb</id>
<content type='text'>
With the upcoming TFTP server implementation, the remote node can be
either a client or a server, so avoid ambiguities.

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the upcoming TFTP server implementation, the remote node can be
either a client or a server, so avoid ambiguities.

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/tftp.c: cosmetic: do not initialise statics to 0 or NULL</title>
<updated>2011-05-19T19:36:21+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca.ceresoli@comelit.it</email>
</author>
<published>2011-05-14T05:50:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9bb0a1bf9883a436b60e1430ca67792596c21556'/>
<id>9bb0a1bf9883a436b60e1430ca67792596c21556</id>
<content type='text'>
This removes the following checkpatch issue:
 - ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the following checkpatch issue:
 - ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/tftp.c: cosmetic: fix indentation</title>
<updated>2011-05-19T19:36:15+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca.ceresoli@comelit.it</email>
</author>
<published>2011-05-14T05:50:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0bdd8acc35c152a1d934a59306f63586b47453a8'/>
<id>0bdd8acc35c152a1d934a59306f63586b47453a8</id>
<content type='text'>
This removes the following checkpatch issue:
 - WARNING: suspect code indent for conditional statements

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the following checkpatch issue:
 - WARNING: suspect code indent for conditional statements

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/tftp.c: cosmetic: trailing statements should be on next line</title>
<updated>2011-05-19T19:36:08+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca.ceresoli@comelit.it</email>
</author>
<published>2011-05-14T05:50:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6d2231e8fa21f4bc4fcff3690146540f30984d61'/>
<id>6d2231e8fa21f4bc4fcff3690146540f30984d61</id>
<content type='text'>
This removes the following checkpatch issue:
 - ERROR: trailing statements should be on next line

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the following checkpatch issue:
 - ERROR: trailing statements should be on next line

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/tftp.c: cosmetic: fix brace issues</title>
<updated>2011-05-19T19:36:02+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca.ceresoli@comelit.it</email>
</author>
<published>2011-05-14T05:50:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7bc325a1b2dfda4a16789cc3b9387dbe1174af41'/>
<id>7bc325a1b2dfda4a16789cc3b9387dbe1174af41</id>
<content type='text'>
This removes the following checkpatch issues:
 - WARNING: braces {} are not necessary for single statement blocks
 - WARNING: braces {} are not necessary for any arm of this statement

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the following checkpatch issues:
 - WARNING: braces {} are not necessary for single statement blocks
 - WARNING: braces {} are not necessary for any arm of this statement

Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@comelit.it&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
