Re: [U-Boot] [PATCH v2 7/8] db410c: configs: increase max kernel size

2017-12-18 Thread Jorge Ramirez

On 12/18/2017 08:31 PM, Tom Rini wrote:

On Thu, Dec 14, 2017 at 02:26:59PM +0100, Jorge Ramirez-Ortiz wrote:


the kernel fails to boot when it goes over the limit.

Signed-off-by: Jorge Ramirez-Ortiz 
---
  include/configs/dragonboard410c.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/dragonboard410c.h 
b/include/configs/dragonboard410c.h
index d2447b2..fdfac27 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/configs/dragonboard410c.h
@@ -23,7 +23,7 @@
  #define CONFIG_SYS_TEXT_BASE  0x8008
  #define CONFIG_SYS_INIT_SP_ADDR   (CONFIG_SYS_SDRAM_BASE + 
0x7fff0)
  #define CONFIG_SYS_LOAD_ADDR  (CONFIG_SYS_SDRAM_BASE + 0x8)
-#define CONFIG_SYS_BOOTM_LEN   0x100 /* 16MB max kernel size */
+#define CONFIG_SYS_BOOTM_LEN   0x140 /* 20MB max kernel size */

This small of a size tweak is just begging to be hit within a year.  Can
we raise this to something closer to the aarch64 limit for an Image?  Or
if not, 32 or 64MB?


yeah I just picked 0x140 since that is what I used in poplar as well 
but sure, I'll set it to 64MB like rockchip and other platforms.







___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v2 7/8] db410c: configs: increase max kernel size

2017-12-18 Thread Tom Rini
On Thu, Dec 14, 2017 at 02:26:59PM +0100, Jorge Ramirez-Ortiz wrote:

> the kernel fails to boot when it goes over the limit.
> 
> Signed-off-by: Jorge Ramirez-Ortiz 
> ---
>  include/configs/dragonboard410c.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/dragonboard410c.h 
> b/include/configs/dragonboard410c.h
> index d2447b2..fdfac27 100644
> --- a/include/configs/dragonboard410c.h
> +++ b/include/configs/dragonboard410c.h
> @@ -23,7 +23,7 @@
>  #define CONFIG_SYS_TEXT_BASE 0x8008
>  #define CONFIG_SYS_INIT_SP_ADDR  (CONFIG_SYS_SDRAM_BASE + 
> 0x7fff0)
>  #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x8)
> -#define CONFIG_SYS_BOOTM_LEN 0x100 /* 16MB max kernel size */
> +#define CONFIG_SYS_BOOTM_LEN 0x140 /* 20MB max kernel size */

This small of a size tweak is just begging to be hit within a year.  Can
we raise this to something closer to the aarch64 limit for an Image?  Or
if not, 32 or 64MB?

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v2 7/8] db410c: configs: increase max kernel size

2017-12-14 Thread Jorge Ramirez-Ortiz
the kernel fails to boot when it goes over the limit.

Signed-off-by: Jorge Ramirez-Ortiz 
---
 include/configs/dragonboard410c.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/dragonboard410c.h 
b/include/configs/dragonboard410c.h
index d2447b2..fdfac27 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/configs/dragonboard410c.h
@@ -23,7 +23,7 @@
 #define CONFIG_SYS_TEXT_BASE   0x8008
 #define CONFIG_SYS_INIT_SP_ADDR(CONFIG_SYS_SDRAM_BASE + 
0x7fff0)
 #define CONFIG_SYS_LOAD_ADDR   (CONFIG_SYS_SDRAM_BASE + 0x8)
-#define CONFIG_SYS_BOOTM_LEN   0x100 /* 16MB max kernel size */
+#define CONFIG_SYS_BOOTM_LEN   0x140 /* 20MB max kernel size */
 
 /* UART */
 
-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot