All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] board/ls2080ardb: Add mcmemsize variable in default env
@ 2017-08-29  9:50 Priyanka Jain
  2017-09-14 20:40 ` York Sun
  2017-09-25 17:33 ` York Sun
  0 siblings, 2 replies; 4+ messages in thread
From: Priyanka Jain @ 2017-08-29  9:50 UTC (permalink / raw)
  To: u-boot

For most of ls2080ardb use-cases, mc private DRAM block is required
to be of 1.75GB. 
Henc set  mcmemsize=0x70000000 in default env

Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
---
 include/configs/ls2080ardb.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index b309d79..46f0f8f 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -392,6 +392,7 @@ unsigned long get_board_sys_clk(void);
 	"load_addr=0xa0000000\0"		\
 	"kernel_size=0x2800000\0"		\
 	"console=ttyAMA0,38400n8\0"		\
+	"mcmemsize=0x70000000\0"		\
 	MC_INIT_CMD				\
 	BOOTENV					\
 	"boot_scripts=ls2088ardb_boot.scr\0"	\
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] board/ls2080ardb: Add mcmemsize variable in default env
  2017-08-29  9:50 [U-Boot] [PATCH] board/ls2080ardb: Add mcmemsize variable in default env Priyanka Jain
@ 2017-09-14 20:40 ` York Sun
  2017-09-15  4:56   ` Priyanka Jain
  2017-09-25 17:33 ` York Sun
  1 sibling, 1 reply; 4+ messages in thread
From: York Sun @ 2017-09-14 20:40 UTC (permalink / raw)
  To: u-boot

On 08/29/2017 02:50 AM, Priyanka Jain wrote:
> For most of ls2080ardb use-cases, mc private DRAM block is required
> to be of 1.75GB.
> Henc set  mcmemsize=0x70000000 in default env
> 
> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> ---
>   include/configs/ls2080ardb.h |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
> index b309d79..46f0f8f 100644
> --- a/include/configs/ls2080ardb.h
> +++ b/include/configs/ls2080ardb.h
> @@ -392,6 +392,7 @@ unsigned long get_board_sys_clk(void);
>   	"load_addr=0xa0000000\0"		\
>   	"kernel_size=0x2800000\0"		\
>   	"console=ttyAMA0,38400n8\0"		\
> +	"mcmemsize=0x70000000\0"		\
>   	MC_INIT_CMD				\
>   	BOOTENV					\
>   	"boot_scripts=ls2088ardb_boot.scr\0"	\
> 

This is very large private RAM block. This board uses DIMM slot. How can 
you be sure you have enough memory for this?

York

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] board/ls2080ardb: Add mcmemsize variable in default env
  2017-09-14 20:40 ` York Sun
@ 2017-09-15  4:56   ` Priyanka Jain
  0 siblings, 0 replies; 4+ messages in thread
From: Priyanka Jain @ 2017-09-15  4:56 UTC (permalink / raw)
  To: u-boot



> -----Original Message-----
> From: York Sun
> Sent: Friday, September 15, 2017 2:10 AM
> To: Priyanka Jain <priyanka.jain@nxp.com>; u-boot at lists.denx.de
> Subject: Re: [PATCH] board/ls2080ardb: Add mcmemsize variable in default env
> 
> On 08/29/2017 02:50 AM, Priyanka Jain wrote:
> > For most of ls2080ardb use-cases, mc private DRAM block is required to
> > be of 1.75GB.
> > Henc set  mcmemsize=0x70000000 in default env
> >
> > Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> > ---
> >   include/configs/ls2080ardb.h |    1 +
> >   1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/include/configs/ls2080ardb.h
> > b/include/configs/ls2080ardb.h index b309d79..46f0f8f 100644
> > --- a/include/configs/ls2080ardb.h
> > +++ b/include/configs/ls2080ardb.h
> > @@ -392,6 +392,7 @@ unsigned long get_board_sys_clk(void);
> >   	"load_addr=0xa0000000\0"		\
> >   	"kernel_size=0x2800000\0"		\
> >   	"console=ttyAMA0,38400n8\0"		\
> > +	"mcmemsize=0x70000000\0"		\
> >   	MC_INIT_CMD				\
> >   	BOOTENV					\
> >   	"boot_scripts=ls2088ardb_boot.scr\0"	\
> >
> 
> This is very large private RAM block. This board uses DIMM slot. How can you be
> sure you have enough memory for this?
> 
> York
This value was based on requirements of majority of use cases that we are delivering on this product.
And is supported by DIMM that is shipped with RDB boards.

But yes, there can be a case, where a user can make some customization like use small memory.
In that case mcmemsize env variable needs to be adjusted or this will return a failure error.

Priyanka

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] board/ls2080ardb: Add mcmemsize variable in default env
  2017-08-29  9:50 [U-Boot] [PATCH] board/ls2080ardb: Add mcmemsize variable in default env Priyanka Jain
  2017-09-14 20:40 ` York Sun
@ 2017-09-25 17:33 ` York Sun
  1 sibling, 0 replies; 4+ messages in thread
From: York Sun @ 2017-09-25 17:33 UTC (permalink / raw)
  To: u-boot

On 08/29/2017 02:50 AM, Priyanka Jain wrote:
> For most of ls2080ardb use-cases, mc private DRAM block is required
> to be of 1.75GB.
> Henc set  mcmemsize=0x70000000 in default env
> 
> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> ---

Applied to fsl-qoriq mater. Thanks.

York

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-25 17:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29  9:50 [U-Boot] [PATCH] board/ls2080ardb: Add mcmemsize variable in default env Priyanka Jain
2017-09-14 20:40 ` York Sun
2017-09-15  4:56   ` Priyanka Jain
2017-09-25 17:33 ` York Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.