RE: Mac address in the DT

2012-01-10 Thread smitha.vanga
Hi, I am using 2.6.21 linux kernel with this bootloader. The ethernet driver in the kernel reads the mac address from the .dtb file. Regards, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to

Re: Mac address in the DT

2012-01-10 Thread Wolfgang Denk
Dear smitha.va...@wipro.com, In message <40631e9a2581f14ba60888c87a76a1fe01d...@hyd-mkd-mbx4.wipro.com> you wrote: > > The fdt_fixup_ethernet() is not supported in the older version of u-boot. So > how to go about it in u-boot 1.3.0 version. U-Boot v1.3.0 is more than 4 years old. Update, or

Re: Mac address in the DT

2012-01-10 Thread Joakim Tjernlund
wrote on 2012/01/10 10:37:14: > > > Hi, > > The fdt_fixup_ethernet() is not supported in the older version of u-boot. So > how to go about it in u-boot 1.3.0 version. Upgrade or find out how its done in your older version, I have no idea. ___ Linuxppc

Mac address in the DT

2012-01-10 Thread smitha.vanga
Hi, The fdt_fixup_ethernet() is not supported in the older version of u-boot. So how to go about it in u-boot 1.3.0 version. Regards, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this mes

Re: Mac address in the DT

2012-01-09 Thread Wolfgang Denk
Dear smitha.va...@wipro.com, In message <40631e9a2581f14ba60888c87a76a1fe01d...@hyd-mkd-mbx4.wipro.com> you wrote: > > >Setenv set_mac 'cp 0xffec 0x10 1024;fdt addr 0xc0 8192;fdt set= > /soc8272@f000/ethernet@24000 mac-address "[00 44 00 55 00 66]";erase 0x= > ffec 0xffec40

RE: Mac address in the DT

2012-01-09 Thread Joakim Tjernlund
wrote on 2012/01/09 15:28:54: > > > Hi Joakim, > > I have tried it but it doesn't work. > > Just now found that with single ' quotes the entire sequence it works. > >Setenv set_mac 'cp 0xffec 0x10 1024;fdt addr 0xc0 8192;fdt set > >/soc8272@f000/ethernet@24000 mac-address "[00 44

RE: Mac address in the DT

2012-01-09 Thread smitha.vanga
Hi Joakim, I have tried it but it doesn't work. Just now found that with single ' quotes the entire sequence it works. >Setenv set_mac 'cp 0xffec 0x10 1024;fdt addr 0xc0 8192;fdt set >/soc8272@f000/ethernet@24000 mac-address "[00 44 00 55 00 66]";erase >0xffec 0xffec4000;c

Re: Mac address in the DT

2012-01-09 Thread Joakim Tjernlund
> > Hi Wolfgang, > > I need to automate a sequence of commands. To do that I am setting a > environment variable with the sequence of commands. > And using run command run the environment variable. > > But one of the command uses " in the command. So how do I save the command > with quotes. > > B

Mac address in the DT

2012-01-09 Thread smitha.vanga
Hi Wolfgang, I need to automate a sequence of commands. To do that I am setting a environment variable with the sequence of commands. And using run command run the environment variable. But one of the command uses " in the command. So how do I save the command with quotes. Below is the comma