[U-Boot] [PATCH v3 3/3] armv8: layerscape: Adjust memory mapping for Flash/SD card on LS1046A

york sun york.sun at nxp.com
Tue May 16 16:17:00 UTC 2017


On 05/15/2017 08:01 PM, Alison Wang wrote:
> This patch is to adjust the memory mapping for FLash/SD card on
> LS1046AQDS and LS1046ARDB, such as FMAN firmware load address, U-Boot
> start address on serial flash and environment address.
>
> Signed-off-by: Alison Wang <alison.wang at nxp.com>
> ---
> Changes:
> - Update the comments and README.
>
>  board/freescale/ls1046ardb/README | 16 ++++++++--------
>  include/configs/ls1046a_common.h  | 10 +++++-----
>  include/configs/ls1046aqds.h      | 10 +++++-----
>  include/configs/ls1046ardb.h      |  4 ++--
>  4 files changed, 20 insertions(+), 20 deletions(-)
>
> diff --git a/board/freescale/ls1046ardb/README b/board/freescale/ls1046ardb/README
> index 1ef7d47..a38c9d4 100644
> --- a/board/freescale/ls1046ardb/README
> +++ b/board/freescale/ls1046ardb/README
> @@ -59,14 +59,14 @@ Start Address	 End Address	 Description		Size
>  QSPI flash map:
>  Start Address    End Address     Description		Size
>  0x00_4000_0000 - 0x00_400F_FFFF  RCW + PBI		1MB
> -0x00_4010_0000 - 0x00_401F_FFFF  U-Boot 		1MB
> -0x00_4020_0000 - 0x00_402F_FFFF  U-Boot Env		1MB
> -0x00_4030_0000 - 0x00_403F_FFFF  FMan ucode		1MB
> -0x00_4040_0000 - 0x00_404F_FFFF  UEFI			1MB
> -0x00_4050_0000 - 0x00_406F_FFFF  PPA			2MB
> -0x00_4070_0000 - 0x00_408F_FFFF  Secure boot header
> -			         + bootscript		2MB
> -0x00_4090_0000 - 0x00_40FF_FFFF  Reserved		7MB
> +0x00_4010_0000 - 0x00_402F_FFFF  U-Boot 		2MB
> +0x00_4030_0000 - 0x00_403F_FFFF  U-Boot Env		1MB
> +0x00_4040_0000 - 0x00_405F_FFFF  PPA			2MB
> +0x00_4060_0000 - 0x00_408F_FFFF  Secure boot header
> +				 + bootscript		3MB
> +0x00_4090_0000 - 0x00_4093_FFFF  FMan ucode		256KB
> +0x00_4094_0000 - 0x00_4097_FFFF  QE/uQE firmware	256KB
> +0x00_4098_0000 - 0x00_40FF_FFFF  Reserved		6MB
>  0x00_4100_0000 - 0x00_43FF_FFFF  FIT Image		48MB
>
>  Booting Options
> diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
> index 957ffd3..61bf3eb 100644
> --- a/include/configs/ls1046a_common.h
> +++ b/include/configs/ls1046a_common.h
> @@ -166,23 +166,23 @@
>  /*
>   * PBL SD boot image should stored at 0x1000(8 blocks), the size of the image is
>   * about 1MB (2048 blocks), Env is stored after the image, and the env size is
> - * 0x2000 (16 blocks), 8 + 2048 + 16 = 2072, enlarge it to 2080(0x820).
> + * 0x2000 (16 blocks), 8 + 2048 + 16 = 2072, enlarge it to 18432(0x4800).

I was expecting a good reason for this offset change. Guess there isn't 
one, except to align the offset for all boards.

York


More information about the U-Boot mailing list