]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8/ls2085a: Increase the supported kernel size
authorBhupesh Sharma <bhupesh.sharma at freescale.com>
Thu, 28 May 2015 09:24:02 +0000 (14:54 +0530)
committerYork Sun <yorksun@freescale.com>
Mon, 20 Jul 2015 18:44:34 +0000 (11:44 -0700)
Increases the kernel size supported for LS2085A platforms:-
 - Update environment variables
 - Add ramdisk_size in bootargs env variable
 - Define  CONFIG_SYS_BOOTM_LEN to 64MB

Signed-off-by: Bhupesh Sharma <bhupesh.sharma at freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/ls2085a_common.h
include/configs/ls2085aqds.h
include/configs/ls2085ardb.h

index a74a547ee3e13fa47bbd695ec55449403326bafc..1969696a7fcd72898e57b70afe5e962a4a9b48dc 100644 (file)
@@ -237,13 +237,13 @@ unsigned long long get_qixis_addr(void);
        "initrd_high=0xffffffffffffffff\0"      \
        "kernel_start=0x581200000\0"            \
        "kernel_load=0xa0000000\0"              \
-       "kernel_size=0x1000000\0"               \
+       "kernel_size=0x2000000\0"               \
        "console=ttyAMA0,38400n8\0"
 
 #define CONFIG_BOOTARGS                "console=ttyS1,115200 root=/dev/ram0 " \
                                "earlycon=uart8250,mmio,0x21c0600,115200 " \
-                               "default_hugepagesz=2m hugepagesz=2m " \
-                               "hugepages=16"
+                               "ramdisk_size=0x2000000 default_hugepagesz=2m" \
+                               " hugepagesz=2m hugepages=16"
 #define CONFIG_BOOTCOMMAND             "cp.b $kernel_start $kernel_load "     \
                                        "$kernel_size && bootm $kernel_load"
 #define CONFIG_BOOTDELAY               10
@@ -290,4 +290,7 @@ unsigned long get_dram_size_to_hide(void);
 #define CONFIG_SYS_SPL_MALLOC_START    0x80200000
 #define CONFIG_SYS_MONITOR_LEN         (512 * 1024)
 
+#define CONFIG_SYS_BOOTM_LEN   (64 << 20)      /* Increase max gunzip size */
+
+
 #endif /* __LS2_COMMON_H */
index 7f0534d52e6bc1868678c4eb4f34ddb25afa0d18..c9f323639a0a3764830091554331e91fbd5f282a 100644 (file)
@@ -333,7 +333,7 @@ unsigned long get_board_ddr_clk(void);
        "initrd_high=0xffffffffffffffff\0"      \
        "kernel_start=0x581100000\0"            \
        "kernel_load=0xa0000000\0"              \
-       "kernel_size=0x1000000\0"
+       "kernel_size=0x2000000\0"
 
 #ifdef CONFIG_FSL_MC_ENET
 #define CONFIG_FSL_MEMAC
index 3408b13ee7fac07fa3b47e0bbedc862fe2faefe7..dd5505b5eb650276433e407d1f4c3dcace7d87c4 100644 (file)
@@ -299,7 +299,7 @@ unsigned long get_board_sys_clk(void);
        "initrd_high=0xffffffffffffffff\0"      \
        "kernel_start=0x581100000\0"            \
        "kernel_load=0xa0000000\0"              \
-       "kernel_size=0x1000000\0"
+       "kernel_size=0x2000000\0"
 
 /* MAC/PHY configuration */
 #ifdef CONFIG_FSL_MC_ENET