bsp/riscv: Store/AMO address misaligned trap occured
Gedare Bloom
gedare at rtems.org
Wed Nov 2 15:58:50 UTC 2022
t0 contains the address of .Lsecondary_processor_go
start.S has:
```asm
#if __riscv_xlen == 32
.align 2
#elif __riscv_xlen == 64
.align 3
#endif
.Lsecondary_processor_go:
```
Can you confirm the value of __riscv_xlen is properly defined to 64
for the PolarFire?
On Wed, Nov 2, 2022 at 12:40 AM <Padmarao.Begari at microchip.com> wrote:
>
> Hi Sebastian,
>
> The "Store/AMO address misaligned" trap occured in the "start.S"
> at "amoswap.w zero, zero, 0(t0)" while testing the sample
> application with the latest RTEMS master for RISC-V on
> the Microchip PolarFire SoC.
>
> The trap occured after this 89ba2a98/rtems latest commit for riscv
> (bsps/riscv: Workaround for sporadic linker issues).
>
> Regards
> Padmarao
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list