[U-Boot] [PATCH] powerpc/85xx: corenet_ds: increase console buffer size to 1024

Kim Phillips kim.phillips at freescale.com
Fri Sep 23 21:00:20 CEST 2011


On Fri, 23 Sep 2011 13:22:08 -0500
Kumar Gala <kumar.gala at 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 at freescale.com>
> > Signed-off-by: Kim Phillips <kim.phillips at 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



More information about the U-Boot mailing list