Altera_Forum
Honored Contributor
10 years agoArria 10 GSRD board - unable to write reg or mem via Linux
I've got the Arria 10 GSRD board. I'm running from a pre-built SD card image created by following instructions on the rocketboards site for the A10 GSRD, which I can't link here.
The page here shows where some things are mapped in memory: https://rocketboards.org/foswiki/view/documentation/a10gsrd150ghrdoverview#cortex_45a9_mpu_address_maps I tried to write memory at 0xc0000000, but I got the following error: Unhandled fault: external abort on non-linefetch (0x818) at 0x76fcb000 Bus error I did some searching and found this: https://lists.rocketboards.org/pipermail/rfi/2015-august/003271.html This guy got around a similar problem by rebooting, stopping in uboot, and doing what he called "Setting privilege filter at U-Boot and non-privilege access from Linux App". This is done by writing 0xffffffff to location 0xffd11004 while in uboot, then booting Linux. I copied more or less what he did: mw.l 0xFFD11004 0xFFFFFFF run bootcmd I tried this, and it worked one time only. I can't make this work again, and I can't find any reliable way to write either some area of memory or a register without the exception noted above. What am I missing? Thanks.