RE: [PATCH] configs: ls2088aqds: fix synchronous exception

2021-05-21 Thread Biwen Li (OSS)


> -Original Message-
> From: Bin Meng 
> Sent: 2021年5月21日 13:35
> To: Biwen Li (OSS) 
> Cc: Priyanka Jain ; U-Boot Mailing List
> ; Biwen Li 
> Subject: Re: [PATCH] configs: ls2088aqds: fix synchronous exception
> 
> On Fri, May 21, 2021 at 12:16 PM Biwen Li  wrote:
> >
> > From: Biwen Li 
> >
> > IFC NOR flash base address of ls2088a is 0x85000,
> 
> beyond 4GiB?
Yes, but I will update to 0x58000 in the description(fix typo).
> 
> > and env crc offset size is 0x50, 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 
> > ---
> >  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=0x2050
> > +CONFIG_ENV_ADDR=0x58050
> >  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> >  CONFIG_NET_RANDOM_ETHADDR=y
> >  CONFIG_DM=y
> 
> 
> Regards,
> Bin


Re: [PATCH] configs: ls2088aqds: fix synchronous exception

2021-05-20 Thread Bin Meng
On Fri, May 21, 2021 at 12:16 PM Biwen Li  wrote:
>
> From: Biwen Li 
>
> IFC NOR flash base address of ls2088a is 0x85000,

beyond 4GiB?

> and env crc offset size is 0x50, 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 
> ---
>  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=0x2050
> +CONFIG_ENV_ADDR=0x58050
>  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>  CONFIG_NET_RANDOM_ETHADDR=y
>  CONFIG_DM=y


Regards,
Bin