[PATCH v2 0/2] Add quad & octal spi flash mini u-boot configuration files

Michal Simek michal.simek at amd.com
Wed Oct 12 10:54:55 CEST 2022



On 10/12/22 09:05, Ashok Reddy Soma wrote:
> Add new configuration files for quad and octal spi flash mini u-boot.
> With these configs's mini u-boot will run from on chip memory(OCM) and
> uses DCC terminal for console output.
> 
> Changes in v2:
>   - Removed configs/xilinx_* from MAINTAINERS as, it is already taken
>   care.
>   - Run savedefconfig and updated mini config to align with latest
>   Kconfig layout
>   - Run savedefconfig and updated mini config for ospi to align with
>     latest Kconfig layout
> 
> Ashok Reddy Soma (2):
>    arm64: versal: Add qspi flash mini u-boot configuration
>    arm64: versal: Add octal spi flash mini u-boot configuration
> 
>   configs/xilinx_versal_mini_ospi_defconfig | 70 ++++++++++++++++++++++
>   configs/xilinx_versal_mini_qspi_defconfig | 73 +++++++++++++++++++++++
>   2 files changed, 143 insertions(+)
>   create mode 100644 configs/xilinx_versal_mini_ospi_defconfig
>   create mode 100644 configs/xilinx_versal_mini_qspi_defconfig
> 


you should also add dtses
And this series creates compilation error

arch/arm/lib/crt0_64.S: Assembler messages:
arch/arm/lib/crt0_64.S:85: Error: constant expression expected at operand 2 -- 
`ldr x0,=((CONFIG_SYS_INIT_RAM_ADDR+CONFIG_SYS_INIT_RAM_SIZE-400))'
make[1]: *** [scripts/Makefile.build:293: arch/arm/lib/crt0_64.o] Error 1

You should define
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xfffe0000

Thanks,
Michal


More information about the U-Boot mailing list