Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-02 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > i'm going to assume other net-related commands have this behaviour > as well, yes? like ping? which would explain why ping'ing even the > alleged gateway didn't work in this context. Yes. This is

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-02 Thread Robert P. J. Day
On Sat, 1 Oct 2016, Wolfgang Denk wrote: ... snip ... > Actually the TFTP will not access the environment directly to > determine the boot parameters like bootfile, ipaddr, gatewayip, > netmask, serverip, etc.; instead, it uses internal variables. So > your environment settings for "ipaddr" and

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-02 Thread Robert P. J. Day
On Sat, 1 Oct 2016, Wolfgang Denk wrote: > Dear Robert, > > In message you > wrote: > > > > > 244 /* If there is a callback, call it */ > > > 245 if (htab->table[idx].entry.callback && > >

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-01 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > > 244 /* If there is a callback, call it */ > > 245 if (htab->table[idx].entry.callback && > > 246

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-01 Thread Robert P. J. Day
On Sat, 1 Oct 2016, Wolfgang Denk wrote: > Dear Robert, ... snip ... > Actually the TFTP will not access the environment directly to > determine the boot parameters like bootfile, ipaddr, gatewayip, > netmask, serverip, etc.; instead, it uses internal variables. So > your environment settings

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-01 Thread Robert P. J. Day
On Sat, 1 Oct 2016, Wolfgang Denk wrote: > Dear Robert, > > In message you > wrote: > > > > in misc_init_r(), i create a new hashtable to just grab the > > contents of that bootline as is. i then create a *second* > > hashtable and

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-01 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > in misc_init_r(), i create a new hashtable to just grab the contents > of that bootline as is. i then create a *second* hashtable and > selectively move over just those keys i want from the

[U-Boot] is there any issue with creating and using more than one hashtable?

2016-09-30 Thread Robert P. J. Day
short version: migrating target board from legacy OS to linux and, in a fixed address in flash, there is a legacy "bootline" of the form var=value var=value ... etc etc ... that i want to convert to u-boot compatible values such as ipaddr, gatewayip, serverip and so on. in misc_init_r(), i