[U-Boot] [PATCH] ls2-2085a: Increase default hugepage count

york sun york.sun at nxp.com
Mon Feb 1 17:47:15 CET 2016


On 01/14/2016 04:42 AM, Ashish Kumar wrote:
>  * Increase default hugepage count to 256 from 16
>  * Note: default env variables are stored at 0x580200000/0x584200000
>     of size 0x2000
> 

Ashish,

What does the default env location have anything to do with this patch?

York



> Signed-off-by: Ashish Kumar <Ashish.Kumar at freescale.com>
> ---
>  include/configs/ls2080a_common.h |    2 +-
>  include/configs/ls2080ardb.h     |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
> index 4ae7d11..a503934 100644
> --- a/include/configs/ls2080a_common.h
> +++ b/include/configs/ls2080a_common.h
> @@ -272,7 +272,7 @@ unsigned long long get_qixis_addr(void);
>  #define CONFIG_BOOTARGS		"console=ttyS0,115200 root=/dev/ram0 " \
>  				"earlycon=uart8250,mmio,0x21c0500" \
>  				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
> -				" hugepagesz=2m hugepages=16"
> +				" hugepagesz=2m hugepages=256"
>  #define CONFIG_BOOTCOMMAND		"cp.b $kernel_start $kernel_load "     \
>  					"$kernel_size && bootm $kernel_load"
>  #define CONFIG_BOOTDELAY		10
> diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
> index 116dbcd..356d254 100644
> --- a/include/configs/ls2080ardb.h
> +++ b/include/configs/ls2080ardb.h
> @@ -333,7 +333,7 @@ unsigned long get_board_sys_clk(void);
>  #define CONFIG_BOOTARGS		"console=ttyS1,115200 root=/dev/ram0 " \
>  				"earlycon=uart8250,mmio,0x21c0600" \
>  				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
> -				" hugepagesz=2m hugepages=16"
> +				" hugepagesz=2m hugepages=256"
>  
>  /* MAC/PHY configuration */
>  #ifdef CONFIG_FSL_MC_ENET
> 



More information about the U-Boot mailing list