[PATCH] configs: ls2088aqds: fix synchronous exception

From: Biwen Li biwen.li@nxp.com
IFC NOR flash base address of ls2088a is 0x850000000, and env crc offset size is 0x500000, so fix the macro CONFIG_ENV_ADDR to fix synchronous exception(access illegal address)
Fixes: 59071804c1 ("configs: ls2080a: Correct ENV_ADDR value") Signed-off-by: Biwen Li biwen.li@nxp.com --- configs/ls2088aqds_tfa_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/ls2088aqds_tfa_defconfig b/configs/ls2088aqds_tfa_defconfig index f36bfffe5a..c6e107d630 100644 --- a/configs/ls2088aqds_tfa_defconfig +++ b/configs/ls2088aqds_tfa_defconfig @@ -42,7 +42,7 @@ CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_FLASH=y CONFIG_ENV_IS_IN_MMC=y CONFIG_ENV_IS_IN_SPI_FLASH=y -CONFIG_ENV_ADDR=0x20500000 +CONFIG_ENV_ADDR=0x580500000 CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_DM=y

On Fri, May 21, 2021 at 12:16 PM Biwen Li biwen.li@oss.nxp.com wrote:
From: Biwen Li biwen.li@nxp.com
IFC NOR flash base address of ls2088a is 0x850000000,
beyond 4GiB?
and env crc offset size is 0x500000, so fix the macro CONFIG_ENV_ADDR to fix synchronous exception(access illegal address)
Fixes: 59071804c1 ("configs: ls2080a: Correct ENV_ADDR value") Signed-off-by: Biwen Li biwen.li@nxp.com
configs/ls2088aqds_tfa_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/ls2088aqds_tfa_defconfig b/configs/ls2088aqds_tfa_defconfig index f36bfffe5a..c6e107d630 100644 --- a/configs/ls2088aqds_tfa_defconfig +++ b/configs/ls2088aqds_tfa_defconfig @@ -42,7 +42,7 @@ CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_FLASH=y CONFIG_ENV_IS_IN_MMC=y CONFIG_ENV_IS_IN_SPI_FLASH=y -CONFIG_ENV_ADDR=0x20500000 +CONFIG_ENV_ADDR=0x580500000 CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_DM=y
Regards, Bin

-----Original Message----- From: Bin Meng bmeng.cn@gmail.com Sent: 2021年5月21日 13:35 To: Biwen Li (OSS) biwen.li@oss.nxp.com Cc: Priyanka Jain priyanka.jain@nxp.com; U-Boot Mailing List u-boot@lists.denx.de; Biwen Li biwen.li@nxp.com Subject: Re: [PATCH] configs: ls2088aqds: fix synchronous exception
On Fri, May 21, 2021 at 12:16 PM Biwen Li biwen.li@oss.nxp.com wrote:
From: Biwen Li biwen.li@nxp.com
IFC NOR flash base address of ls2088a is 0x850000000,
beyond 4GiB?
Yes, but I will update to 0x580000000 in the description(fix typo).
and env crc offset size is 0x500000, so fix the macro CONFIG_ENV_ADDR to fix synchronous exception(access illegal address)
Fixes: 59071804c1 ("configs: ls2080a: Correct ENV_ADDR value") Signed-off-by: Biwen Li biwen.li@nxp.com
configs/ls2088aqds_tfa_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/ls2088aqds_tfa_defconfig b/configs/ls2088aqds_tfa_defconfig index f36bfffe5a..c6e107d630 100644 --- a/configs/ls2088aqds_tfa_defconfig +++ b/configs/ls2088aqds_tfa_defconfig @@ -42,7 +42,7 @@ CONFIG_ENV_OVERWRITE=y
CONFIG_ENV_IS_IN_FLASH=y
CONFIG_ENV_IS_IN_MMC=y CONFIG_ENV_IS_IN_SPI_FLASH=y -CONFIG_ENV_ADDR=0x20500000 +CONFIG_ENV_ADDR=0x580500000 CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_DM=y
Regards, Bin
participants (3)
-
Bin Meng
-
Biwen Li
-
Biwen Li (OSS)