Altera_Forum
Honored Contributor
12 years agoUnaligned access when trying to reach AXI-LW from U-Boot
Hello,
I have a QSYS system, including some Avalon-MM peripherials connected to the AXI-LW interface of the HPS. For testing purposes I tried to read their registers from the serial console of the u-boot, which gave me the following error message:SOCFPGA_CYCLONE5# md 0xff200000
ff200000:data abort
MAYBE you should read doc/README.arm-unaligned-accesses
pc : lr :
sp : 3ff4f5c0 ip : 00000083 fp : ff200000
r10: ff200000 r9 : ff200000 r8 : 3ff4ff60
r7 : 00000040 r6 : 00000000 r5 : 00000004 r4 : 00000004
r3 : 3ff4f5cc r2 : 3ffbbb54 r1 : 0000003a r0 : 00000009
Flags: nZCv IRQs on FIQs off Mode SVC_32
Resetting CPU ...
resetting ...
What is the issue here? Cannot the Avalon-MM registers be reached from the u-boot console? thanks Hannes