* [U-Boot] [PATCH 08/20] armv8/ls2085a: Increase the supported kernel size
@ 2015-05-18 7:13 Prabhakar Kushwaha
2015-05-26 16:05 ` York Sun
0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar Kushwaha @ 2015-05-18 7:13 UTC (permalink / raw)
To: u-boot
From: Bhupesh Sharma <bhupesh.sharma@freescale.com>
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@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
---
include/configs/ls2085a_common.h | 9 ++++++---
include/configs/ls2085aqds.h | 2 +-
include/configs/ls2085ardb.h | 2 +-
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h
index 749c58d..a33b8a9 100644
--- a/include/configs/ls2085a_common.h
+++ b/include/configs/ls2085a_common.h
@@ -248,13 +248,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
@@ -301,4 +301,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 */
diff --git a/include/configs/ls2085aqds.h b/include/configs/ls2085aqds.h
index 87e9333..8cb8c78 100644
--- a/include/configs/ls2085aqds.h
+++ b/include/configs/ls2085aqds.h
@@ -336,7 +336,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
diff --git a/include/configs/ls2085ardb.h b/include/configs/ls2085ardb.h
index dab03bc..ba671dd 100644
--- a/include/configs/ls2085ardb.h
+++ b/include/configs/ls2085ardb.h
@@ -303,7 +303,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
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH 08/20] armv8/ls2085a: Increase the supported kernel size
2015-05-18 7:13 [U-Boot] [PATCH 08/20] armv8/ls2085a: Increase the supported kernel size Prabhakar Kushwaha
@ 2015-05-26 16:05 ` York Sun
0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2015-05-26 16:05 UTC (permalink / raw)
To: u-boot
On 05/18/2015 12:13 AM, Prabhakar Kushwaha wrote:
> From: Bhupesh Sharma <bhupesh.sharma@freescale.com>
>
> 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@freescale.com>
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
> ---
> include/configs/ls2085a_common.h | 9 ++++++---
> include/configs/ls2085aqds.h | 2 +-
> include/configs/ls2085ardb.h | 2 +-
> 3 files changed, 8 insertions(+), 5 deletions(-)
>
> diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h
> index 749c58d..a33b8a9 100644
> --- a/include/configs/ls2085a_common.h
> +++ b/include/configs/ls2085a_common.h
> @@ -248,13 +248,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"
For my understanding, can you please explain how "kernel_size" variable is used?
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-26 16:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-18 7:13 [U-Boot] [PATCH 08/20] armv8/ls2085a: Increase the supported kernel size Prabhakar Kushwaha
2015-05-26 16:05 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox