ARM: tegra: Reserve 32MB for the Linux kernel
authorJonathan Hunter <jonathanh@nvidia.com>
Tue, 12 Feb 2019 16:03:14 +0000 (16:03 +0000)
committerTom Warren <twarren@nvidia.com>
Wed, 20 Feb 2019 16:01:44 +0000 (09:01 -0700)
commitf16e3115f3b601f121798070b97224b8234d71b7
tree01f838126f957679a16c7d400df4f7e9ad68bac2
parent8105816cbb1dd0e13a9602532615cb93f1a502e3
ARM: tegra: Reserve 32MB for the Linux kernel

Booting recently Linux -next kernels on 32-bit Tegra devices has been
failing when using the 'multi_v7_defconfig' kenrel configuration because
the size of has grown such that it is overwriting the FDT blob.

Current Linux -next kernels built with the 'multi_v7_defconfig' have a
total size of ~19.5MB (where .text is ~12.5MB, .data is ~6.5MB and .bss
is ~0.5MB). Therefore, increase the memory location reserved for the
Linux kernel to 32MB from 16MB for 32-bit Tegra devices.

This change has been boot tested on Tegra20 Ventana, Tegra30 Cardhu and
Tegra124 Jetson TK1 with the Linux next tree (20190212).

Signed-off-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/tegra114-common.h
include/configs/tegra124-common.h
include/configs/tegra20-common.h
include/configs/tegra30-common.h