On 2/12/19 9:03 AM, Jon Hunter wrote:
From: Jonathan Hunter <[email protected]>

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).

Reviewed-by: Stephen Warren <[email protected]>

Just in case anyone else puzzles over this:

It took me too long to realize/remember why the following wasn't a problem since the stack will overlap the initrd location:

-#define CONFIG_STACKBASE       0x82800000      /* 40MB */
+#define CONFIG_STACKBASE       0x83800000      /* 56MB */
...
+       "ramdisk_addr_r=0x83100000\0"

... which of course is because the stackbase variable is only used during early boot, which is long before that location is used to store the initrd the U-Boot loads.
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to