t210: Adjust ramdisk_addr_r/fdt_addr_r to allow for large kernels
authorTom Warren <twarren@nvidia.com>
Tue, 17 Mar 2020 00:01:43 +0000 (17:01 -0700)
committerTom Warren <twarren@nvidia.com>
Thu, 2 Apr 2020 21:30:02 +0000 (14:30 -0700)
The L4T kernel is 32MB+, and can overwrite the ramdisk/fdt loaded
from extlinux.conf. Adjust the load addresses to fix this for now.
Using the calculated_env addresses table from T186 U-Boot is a
better fix, but it isn't working correctly on T210 U-Boot right now,
so this will do until I can fix it.

Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/tegra210-common.h

index 1c533118ad0ea0b050427fe79092c8fc36be7ef3..1b8e94b60cc6fef4f4557c43b94f0f3ce710584b 100644 (file)
@@ -46,8 +46,8 @@
        "scriptaddr=0x90000000\0" \
        "pxefile_addr_r=0x90100000\0" \
        "kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
-       "fdt_addr_r=0x82000000\0" \
-       "ramdisk_addr_r=0x82100000\0"
+       "fdt_addr_r=0x83000000\0" \
+       "ramdisk_addr_r=0x83200000\0"
 
 /* For USB EHCI controller */
 #define CONFIG_EHCI_IS_TDI