repost, in case my mail from last week was lost somewhere...
Am Mi, 16.11.2011, 13:37 schrieb Mathias Adam:
> Hello,
>
> I'm currently using u-boot on a TI DM816x evaluation board (u-boot as
> included in TI's EZSDK 5.02). I manually enabled CONFIG_CMD_DNS. However,
> run
Hi Stefano,
Am Mi, 23.11.2011, 10:57 schrieb Stefano Babic:
> On 16/11/2011 13:37, Mathias Adam wrote:
>> I'm currently using u-boot on a TI DM816x evaluation board (u-boot as
>> included in TI's EZSDK 5.02). I manually enabled CONFIG_CMD_DNS.
>> However,
>&g
Hi Stefano,
Am Mi, 23.11.2011, 13:11 schrieb Stefano Babic:
> On 23/11/2011 11:58, Mathias Adam wrote:
>> As mentioned before, I found that tftpboot does make an ARP query and
>> stores the result in NetServerEther. In fact, when I start a "dummy"
>> tftp
>>
ry to
force an ARP request.
Signed-off-by: Mathias Adam
---
net/dns.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/net/dns.c b/net/dns.c
index 7a3f1f9..9d79d7d 100644
--- a/net/dns.c
+++ b/net/dns.c
@@ -202,5 +202,8 @@ DnsStart(void)
NetSetTimeout(DNS_TI
_TIMEOUT, DnsTimeout);
NetSetHandler(DnsHandler);
+ /* zero out server ether in case the server ip has changed */
+ memset(NetServerEther, 0, 6);
+
DnsSend();
}
Regards,
Mathias Adam
___
U-Boot mailing list
U-Boo
5 matches
Mail list logo