Error: illegal operands li t1

Trying to build u-boot for BeagleV-Fire, but obtained the following ERROR messages:

......
arch/riscv/cpu/start.S:98: Error: illegal operands `li t1,(CFG_SYS_INIT_RAM_ADDR+CFG_SYS_INIT_RAM_SIZE-400)'
  CC      arch/riscv/lib/interrupts.o
  CC      arch/riscv/lib/reset.o
In file included from include/config.h:3,
                 from include/common.h:16,
                 from arch/riscv/cpu/cpu.c:6:
include/configs/microchip_mpfs_icicle.h:15: warning: "CONFIG_SYS_BOOTM_LEN" redefined
   15 | #define CONFIG_SYS_BOOTM_LEN        SZ_64M
      | 
In file included from ././include/linux/kconfig.h:4,
                 from <command-line>:
include/generated/autoconf.h:142: note: this is the location of the previous definition
  142 | #define CONFIG_SYS_BOOTM_LEN 0x800000
      | 
  CC      arch/riscv/lib/fdt_fixup.o
  AS      arch/riscv/lib/setjmp.o
make[1]: *** [scripts/Makefile.build:292: arch/riscv/cpu/start.o] Error 1
make[1]: *** Waiting for unfinished jobs....
  AS      arch/riscv/lib/memset.o
  AS      arch/riscv/lib/memmove.o
  AS      arch/riscv/lib/memcpy.o
  AS      arch/riscv/lib/crt0_riscv_efi.o
  CC      boot/bootm.o
  CC      arch/riscv/lib/reloc_riscv_efi.o
  CC      boot/bootm_os.o
In file included from include/config.h:3,
                 from include/common.h:16,
                 from arch/riscv/lib/boot.c:7:
......
include/generated/autoconf.h:142: note: this is the location of the previous definition
  142 | #define CONFIG_SYS_BOOTM_LEN 0x800000
      | 
  CC      common/splash.o
make: *** [Makefile:1853: arch/riscv/cpu] Error 2
  AR      drivers/cache/built-in.o
make: *** Waiting for unfinished jobs....
  CC      common/menu.o
......

Noticed in file ....../u-boot/include/system-constants.h:

#ifdef CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR
#define SYS_INIT_SP_ADDR	CONFIG_CUSTOM_SYS_INIT_SP_ADDR
#else
#ifdef CONFIG_MIPS
#define SYS_INIT_SP_ADDR	(CFG_SYS_SDRAM_BASE + CFG_SYS_INIT_SP_OFFSET)
#else
#define SYS_INIT_SP_ADDR	\
	(CFG_SYS_INIT_RAM_ADDR + CFG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
#endif
#endif

Shall we define a customized CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR in an extra microchip_beaglev_fire_defconfig ???

Cheers

Problem solved by hard coding and replace the line li t1, SYS_INIT_SP_ADDR with a fixed address 0x80000000 in file u-boot/arch/riscv/cpu/start.S.