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=d03e1b861b9eaaf13fa37a8d4251d78b3814eaaf

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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to