
On Fri, 23 Sep 2011 13:22:08 -0500 Kumar Gala kumar.gala@freescale.com wrote:
On Sep 22, 2011, at 11:38 AM, Kim Phillips wrote:
Make users lives easier by allowing for setting env vars such as nfsboot.
Reported-by: Brian Grayson bgrayson@freescale.com Signed-off-by: Kim Phillips kim.phillips@freescale.com
include/configs/corenet_ds.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
Can you explain this in a bit more detail.
if, for whatever reason, the nfsboot env var has been modified/deleted, one can't restore it via the command line because it doesn't fit in the buffer. Currently command-line typing stops 2 chars short of its full definition, i.e,. at the 2nd 'd' in 'fdtaddr':
=> setenv nfsboot 'setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtadd
this patch avoids this unnecessary inconvenience.
Kim