* [U-Boot] [PATCH] arm: ls102xa: Adjust the load address of U-Boot for NOR boot
@ 2015-04-21 8:04 Alison Wang
2015-05-22 20:56 ` York Sun
0 siblings, 1 reply; 2+ messages in thread
From: Alison Wang @ 2015-04-21 8:04 UTC (permalink / raw)
To: u-boot
The original load address of U-Boot is 0x67f80000. The address
space of NOR flash is 0x60000000 to 0x67ffffff. It will cause
the size of u-boot couldn't be larger than 512K. As more features
are supported in u-boot, the size of u-boot is larger than 512K.
To fix this issue, the load address of U-Boot for NOR boot is
adjusted to 0x60100000.
In RCW, the PBI command needs to change as follows:
.pbi
-write 0xee0200, 0x67f80000
+write 0xee0200, 0x60100000
.end
Signed-off-by: Alison Wang <alison.wang@freescale.com>
---
include/configs/ls1021aqds.h | 2 +-
include/configs/ls1021atwr.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 5de416d..e0cebf1 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -124,7 +124,7 @@ unsigned long get_board_ddr_clk(void);
#endif
#ifndef CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_TEXT_BASE 0x67f80000
+#define CONFIG_SYS_TEXT_BASE 0x60100000
#endif
#define CONFIG_NR_DRAM_BANKS 1
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index a13876b..89891ac 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -73,7 +73,7 @@
#endif
#ifndef CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_TEXT_BASE 0x67f80000
+#define CONFIG_SYS_TEXT_BASE 0x60100000
#endif
#define CONFIG_NR_DRAM_BANKS 1
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] arm: ls102xa: Adjust the load address of U-Boot for NOR boot
2015-04-21 8:04 [U-Boot] [PATCH] arm: ls102xa: Adjust the load address of U-Boot for NOR boot Alison Wang
@ 2015-05-22 20:56 ` York Sun
0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2015-05-22 20:56 UTC (permalink / raw)
To: u-boot
On 04/21/2015 01:04 AM, Alison Wang wrote:
> The original load address of U-Boot is 0x67f80000. The address
> space of NOR flash is 0x60000000 to 0x67ffffff. It will cause
> the size of u-boot couldn't be larger than 512K. As more features
> are supported in u-boot, the size of u-boot is larger than 512K.
>
> To fix this issue, the load address of U-Boot for NOR boot is
> adjusted to 0x60100000.
>
> In RCW, the PBI command needs to change as follows:
> .pbi
> -write 0xee0200, 0x67f80000
> +write 0xee0200, 0x60100000
> .end
>
> Signed-off-by: Alison Wang <alison.wang@freescale.com>
> ---
Applied to u-boot-fsl-qoriq master. Awaiting upstream.
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-22 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-21 8:04 [U-Boot] [PATCH] arm: ls102xa: Adjust the load address of U-Boot for NOR boot Alison Wang
2015-05-22 20:56 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox