[U-Boot] ARM: tegra: jetson-tk1: Increase console buffer size

Tom Warren
2016-09-01T22:42:40Z

Peter,

It appears that this got rolled into 'ARM: tegra: increase console buffer size and sys args num', so I'm going to mark it as Superseded in my Patchwork queue.

What's the status of the 'increase console buffer size and sys args num' patch? I've currently got it marked as 'Changes Requested'.

Thanks,

Tom
--
nvpublic

> -----Original Message-----
> From: Stephen Warren [mailto:swarren at wwwdotorg.org]
> Sent: Monday, August 22, 2016 4:11 PM
> To: Peter Chubb <Peter.Chubb@data61.csiro.au>
> Cc: u-boot at lists.denx.de; Stephen Warren <swarren@nvidia.com>; Tom
> Warren <TWarren@nvidia.com>
> Subject: Re: [U-Boot] ARM: tegra: jetson-tk1: Increase console buffer size
>
> On 08/22/2016 04:46 PM, Peter Chubb wrote:
> >
> > U-Boot's console buffer size needs to be bigger to allow the default
> > image on NVIDIA's Linux4Tegra to boot.
> >
> > Otherwise one sees:
> > bootarg overflow 602+0+0+1 > 512
> > on the console, and the board refuses to boot.
>
> This is probably fine, but ...
>
> > diff --git a/include/configs/tegra-common.h
> > b/include/configs/tegra-common.h
> ...
> > -#define CONFIG_SYS_CBSIZE (256 * 2) /* Console I/O Buffer Size */
> > +#define CONFIG_SYS_CBSIZE (256 * 3) /* Console I/O Buffer Size */
>
> ... "3" feels odd since it's not a power of 2:-) Perhaps you could try cherry-
> picking the following commit from our L4T U-Boot and if it works for you,
> submit that instead. That would also reduce the mainline<->L4T U-Boot delta.
>
> > http://nv-tegra.nvidia.com/gitweb/?p=3rdparty/u-boot.git;a=commit;h=d0
> > 3e1b861b9eaaf13fa37a8d4251d78b3814eaaf
>
> git remote add nv-tegra-u-boot \
> git://nv-tegra.nvidia.com/3rdparty/u-boot.git
> git fetch nv-tegra-u-boot
> git cherry-pick -s 81df4b5097ef72b9e1565c8f3fb45a9c14a9984e