[PATCH v3] aarch64/versal: Support DDRMC0 region 0 and 1

Chris Johns chrisj at rtems.org
Thu Jul 28 08:08:05 UTC 2022


On 28/7/2022 4:57 pm, Sebastian Huber wrote:
> Hello,
> 
> I get now linker errors:
> 
> /opt/rtems/6/lib/gcc/aarch64-rtems6/12.1.1/../../../../aarch64-rtems6/bin/ld:
> ./librtemsbsp.a(bspstartmmu.c.7.o):(.rodata.bsp_r1_region+0x0): undefined
> reference to `bsp_r1_ram_base'
> /opt/rtems/6/lib/gcc/aarch64-rtems6/12.1.1/../../../../aarch64-rtems6/bin/ld:
> ./librtemsbsp.a(bspstartmmu.c.7.o):(.rodata.bsp_r1_region+0x4): undefined
> reference to `bsp_r1_ram_end'
> /opt/rtems/6/lib/gcc/aarch64-rtems6/12.1.1/../../../../aarch64-rtems6/bin/ld:
> ./librtemsbsp.a(bspstartmmu.c.7.o):(.bsp_start_data+0x140): undefined reference
> to `bsp_r1_ram_base'
> /opt/rtems/6/lib/gcc/aarch64-rtems6/12.1.1/../../../../aarch64-rtems6/bin/ld:
> ./librtemsbsp.a(bspstartmmu.c.7.o):(.bsp_start_data+0x144): undefined reference
> to `bsp_r1_ram_end'
> collect2: error: ld returned 1 exit status
> 
> Waf: Leaving directory `/tmp/sh/b-rtems/aarch64/xilinx_versal_ilp32_qemu'

Thanks. I was not aware there was an ILP32 version of the Versal. I will add
some ILP32 checks.

Given the size and scale of the device I am not sure why ILP32 would be used.

Chris


More information about the devel mailing list