Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user

2012-04-23 Thread Maupin, Chase
-Original Message- From: Stefano Babic [mailto:sba...@denx.de] Sent: Thursday, April 19, 2012 4:14 AM To: Peter Barada Cc: u-boot@lists.denx.de; Maupin, Chase Subject: Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user On 18/04/2012 17:46, Peter

Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user

2012-04-19 Thread Stefano Babic
On 18/04/2012 17:46, Peter Barada wrote: On 04/18/2012 11:28 AM, Wolfgang Denk wrote: Is this the proper way to fix this issue and the right location to make the change? The overall goal was to make sure that if I specified a particular serverip that I wanted to use, then the DHCP server

[U-Boot] [RFC] Preventing overriding of serverip when set in environment by user

2012-04-18 Thread Maupin, Chase
All, I recently was trying out a Linksys WRT54G2 V1 router and encountered a strange behaviour where the dhcp server on the router was overriding the serverip setting I had in my u-boot environment. The behaviour looked like: 1. Boot by board and set my serverip using setenv serverip

Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user

2012-04-18 Thread Wolfgang Denk
Dear Maupin, Chase, In message 7d46e86ec0a8354091174257b2fed10138dd6...@dlee12.ent.ti.com you wrote: I recently was trying out a Linksys WRT54G2 V1 router and Thi sis out-of-tree code, so we cannot help much - we hav eno idea which modifications they made to the code. So the net effect was

Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user

2012-04-18 Thread Peter Barada
On 04/18/2012 11:28 AM, Wolfgang Denk wrote: Is this the proper way to fix this issue and the right location to make the change? The overall goal was to make sure that if I specified a particular serverip that I wanted to use, then the DHCP server should not be changing that. No, this is not

Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user

2012-04-18 Thread Chase Maupin
-Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Wednesday, April 18, 2012 10:28 AM To: Maupin, Chase Cc: u-boot@lists.denx.de; Rini, Tom Subject: Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user Dear Maupin, Chase, In

Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user

2012-04-18 Thread Wolfgang Denk
Dear Peter Barada, In message 4f8ee1e1.1060...@logicpd.com you wrote: What exactly _are_ you trying to fix? What is wrong with using the DHCP server supplied address? If it is incorrect, you should fix your DHCP server configuration. I have the same type of problem. In my case our

Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user

2012-04-18 Thread Wolfgang Denk
Dear Chase, In message 7d46e86ec0a8354091174257b2fed10138dd6...@dlee12.ent.ti.com you wrote: Sorry, I didn't mean I was talking about the code on the router. I meant I was using the router as my DHCP server for my Linux host and my development board. Cab you please restrict your line