All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS
@ 2016-07-19  8:35 Prabhakar Kushwaha
  2016-07-19  8:35 ` [U-Boot] [PATCH] board: ls1012aqds: Update LBMAP_MASK and RST_CTL_RESET Prabhakar Kushwaha
  2016-07-27 15:05 ` [U-Boot] [PATCH] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS york sun
  0 siblings, 2 replies; 4+ messages in thread
From: Prabhakar Kushwaha @ 2016-07-19  8:35 UTC (permalink / raw)
  To: u-boot

LS1012AFRDM has 512MB of DDR.
So update Kernel load address as 0x96000000 instead of default
0xa0000000.

Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
---
 include/configs/ls1012afrdm.h | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/include/configs/ls1012afrdm.h b/include/configs/ls1012afrdm.h
index ad81142..64dced2 100644
--- a/include/configs/ls1012afrdm.h
+++ b/include/configs/ls1012afrdm.h
@@ -39,4 +39,20 @@
 #define CONFIG_SYS_MEMTEST_START	0x80000000
 #define CONFIG_SYS_MEMTEST_END		0x9fffffff
 
+#undef CONFIG_EXTRA_ENV_SETTINGS
+#define CONFIG_EXTRA_ENV_SETTINGS		\
+	"initrd_high=0xffffffff\0"		\
+	"verify=no\0"				\
+	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
+	"loadaddr=0x80100000\0"			\
+	"kernel_addr=0x100000\0"		\
+	"ramdisk_addr=0x800000\0"		\
+	"ramdisk_size=0x2000000\0"		\
+	"fdt_high=0xffffffffffffffff\0"		\
+	"initrd_high=0xffffffffffffffff\0"	\
+	"kernel_start=0xa00000\0"		\
+	"kernel_load=0x96000000\0"		\
+	"kernel_size=0x2800000\0"		\
+	"console=ttyAMA0,38400n8\0"
+
 #endif /* __LS1012ARDB_H__ */
-- 
1.9.1

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

* [U-Boot] [PATCH] board: ls1012aqds: Update LBMAP_MASK and RST_CTL_RESET
  2016-07-19  8:35 [U-Boot] [PATCH] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS Prabhakar Kushwaha
@ 2016-07-19  8:35 ` Prabhakar Kushwaha
  2016-08-02 22:42   ` york sun
  2016-07-27 15:05 ` [U-Boot] [PATCH] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS york sun
  1 sibling, 1 reply; 4+ messages in thread
From: Prabhakar Kushwaha @ 2016-07-19  8:35 UTC (permalink / raw)
  To: u-boot

qixis_reset altbank usagge ~QIXIS_LBMAP_MASK in code. So define
inverse value QIXIS_LBMAP_MASK.

Also, update QIXIS_RST_CTL_RESET value to keep RST_CTL[REQ_MOD]
as 0b11 i.e. PORESET during qixis_reset

Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
---
 include/configs/ls1012aqds.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h
index fcf402c..6e31ca0 100644
--- a/include/configs/ls1012aqds.h
+++ b/include/configs/ls1012aqds.h
@@ -28,11 +28,11 @@
 #define CONFIG_SYS_I2C_FPGA_ADDR	0x66
 #define QIXIS_LBMAP_BRDCFG_REG		0x04
 #define QIXIS_LBMAP_SWITCH		6
-#define QIXIS_LBMAP_MASK		0xf7
+#define QIXIS_LBMAP_MASK		0x08
 #define QIXIS_LBMAP_SHIFT		0
 #define QIXIS_LBMAP_DFLTBANK		0x00
 #define QIXIS_LBMAP_ALTBANK		0x08
-#define QIXIS_RST_CTL_RESET		0x41
+#define QIXIS_RST_CTL_RESET		0x31
 #define QIXIS_RCFG_CTL_RECONFIG_IDLE	0x20
 #define QIXIS_RCFG_CTL_RECONFIG_START	0x21
 #define QIXIS_RCFG_CTL_WATCHDOG_ENBLE	0x08
-- 
1.9.1

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

* [U-Boot] [PATCH] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS
  2016-07-19  8:35 [U-Boot] [PATCH] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS Prabhakar Kushwaha
  2016-07-19  8:35 ` [U-Boot] [PATCH] board: ls1012aqds: Update LBMAP_MASK and RST_CTL_RESET Prabhakar Kushwaha
@ 2016-07-27 15:05 ` york sun
  1 sibling, 0 replies; 4+ messages in thread
From: york sun @ 2016-07-27 15:05 UTC (permalink / raw)
  To: u-boot

On 07/19/2016 01:36 AM, Prabhakar Kushwaha wrote:
> LS1012AFRDM has 512MB of DDR.
> So update Kernel load address as 0x96000000 instead of default
> 0xa0000000.
>
> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
> ---
>  include/configs/ls1012afrdm.h | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>
> diff --git a/include/configs/ls1012afrdm.h b/include/configs/ls1012afrdm.h
> index ad81142..64dced2 100644
> --- a/include/configs/ls1012afrdm.h
> +++ b/include/configs/ls1012afrdm.h
> @@ -39,4 +39,20 @@
>  #define CONFIG_SYS_MEMTEST_START	0x80000000
>  #define CONFIG_SYS_MEMTEST_END		0x9fffffff
>
> +#undef CONFIG_EXTRA_ENV_SETTINGS
> +#define CONFIG_EXTRA_ENV_SETTINGS		\
> +	"initrd_high=0xffffffff\0"		\
> +	"verify=no\0"				\
> +	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
> +	"loadaddr=0x80100000\0"			\
> +	"kernel_addr=0x100000\0"		\
> +	"ramdisk_addr=0x800000\0"		\

Is this used?

> +	"ramdisk_size=0x2000000\0"		\

Is this used?

> +	"fdt_high=0xffffffffffffffff\0"		\
> +	"initrd_high=0xffffffffffffffff\0"	\
> +	"kernel_start=0xa00000\0"		\
> +	"kernel_load=0x96000000\0"		\
> +	"kernel_size=0x2800000\0"		\
> +	"console=ttyAMA0,38400n8\0"

Is this correct?

York

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

* [U-Boot] [PATCH] board: ls1012aqds: Update LBMAP_MASK and RST_CTL_RESET
  2016-07-19  8:35 ` [U-Boot] [PATCH] board: ls1012aqds: Update LBMAP_MASK and RST_CTL_RESET Prabhakar Kushwaha
@ 2016-08-02 22:42   ` york sun
  0 siblings, 0 replies; 4+ messages in thread
From: york sun @ 2016-08-02 22:42 UTC (permalink / raw)
  To: u-boot

On 07/19/2016 01:36 AM, Prabhakar Kushwaha wrote:
> qixis_reset altbank usagge ~QIXIS_LBMAP_MASK in code. So define
> inverse value QIXIS_LBMAP_MASK.
>
> Also, update QIXIS_RST_CTL_RESET value to keep RST_CTL[REQ_MOD]
> as 0b11 i.e. PORESET during qixis_reset
>
> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
> ---
>  include/configs/ls1012aqds.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

Applied to fsl-qoriq master, awaiting upstream.
Thanks.

York

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

end of thread, other threads:[~2016-08-02 22:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-19  8:35 [U-Boot] [PATCH] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS Prabhakar Kushwaha
2016-07-19  8:35 ` [U-Boot] [PATCH] board: ls1012aqds: Update LBMAP_MASK and RST_CTL_RESET Prabhakar Kushwaha
2016-08-02 22:42   ` york sun
2016-07-27 15:05 ` [U-Boot] [PATCH] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS 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.