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

Wolfgang Denk wd at denx.de
Sun Sep 25 22:11:34 CEST 2011


Dear Kim Phillips,

In message <20110923140020.1eac241b.kim.phillips at freescale.com> you wrote:
>
> > 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

Instead of extending buffer sizes just to be able to enter some
incomrephensible looooong variable setting you should try and figure
out how to structure environment settings, so they become easier to
understand and to manage to the end user.

The manual holds some pretty edicative examples.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"A little knowledge is a dangerous thing."                - Doug Gwyn


More information about the U-Boot mailing list