]> git.sur5r.net Git - u-boot/commitdiff
ARM: uniphier: change load addresses for bigger kernel image
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Feb 2018 10:00:08 +0000 (19:00 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 15 Mar 2018 13:43:35 +0000 (22:43 +0900)
The kernel size is getting bigger and bigger.  Because the Android
common kernel is even bigger than the vanilla one, so images overlap
in the current memory layout.

Adjust the load address for a bigger kernel image.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/configs/uniphier.h

index 6a25dbd4a64b8e2994529bc5eb16049b05385818..a5ce52d3cddc52be9060a07b0223d655ba7145f9 100644 (file)
@@ -87,7 +87,7 @@
 #define CONFIG_GATEWAYIP               192.168.11.1
 #define CONFIG_NETMASK                 255.255.255.0
 
-#define CONFIG_LOADADDR                        0x84000000
+#define CONFIG_LOADADDR                        0x85000000
 #define CONFIG_SYS_LOAD_ADDR           CONFIG_LOADADDR
 #define CONFIG_SYS_BOOTM_LEN           (32 << 20)
 
 #define CONFIG_BOOTFILE                        "fitImage"
 #define LINUXBOOT_ENV_SETTINGS \
        "fit_addr=0x00100000\0" \
-       "fit_addr_r=0x84100000\0" \
+       "fit_addr_r=0x85100000\0" \
        "fit_size=0x00f00000\0" \
        "norboot=setexpr fit_addr $nor_base + $fit_addr &&" \
                "bootm $fit_addr\0" \
 #ifdef CONFIG_ARM64
 #define CONFIG_BOOTFILE                        "Image.gz"
 #define LINUXBOOT_CMD                  "booti"
-#define KERNEL_ADDR_LOAD               "kernel_addr_load=0x84200000\0"
+#define KERNEL_ADDR_LOAD               "kernel_addr_load=0x85200000\0"
 #define KERNEL_ADDR_R                  "kernel_addr_r=0x82080000\0"
 #else
 #define CONFIG_BOOTFILE                        "zImage"
 #endif
 #define LINUXBOOT_ENV_SETTINGS \
        "fdt_addr=0x00100000\0" \
-       "fdt_addr_r=0x84100000\0" \
+       "fdt_addr_r=0x85100000\0" \
        "fdt_size=0x00008000\0" \
        "kernel_addr=0x00200000\0" \
        KERNEL_ADDR_LOAD \
        KERNEL_ADDR_R \
-       "kernel_size=0x00800000\0" \
-       "ramdisk_addr=0x00a00000\0" \
-       "ramdisk_addr_r=0x84a00000\0" \
-       "ramdisk_size=0x00600000\0" \
+       "kernel_size=0x00e00000\0" \
+       "ramdisk_addr=0x01000000\0" \
+       "ramdisk_addr_r=0x86000000\0" \
+       "ramdisk_size=0x00800000\0" \
        "ramdisk_file=rootfs.cpio.uboot\0" \
        "boot_common=setexpr bootm_low $kernel_addr_r '&' fe000000 && " \
                "if test $kernel_addr_load = $kernel_addr_r; then " \