Tool/software:
Hello,
some time back I had the issue that accesses to memory mapped CSRs of the GPMC interface resulted in Bus Errors.
That time. the trick has been to add the following to the device tree file:
&gpmc0 {
status = "okay";
};
I'm about to pick up the work again and I'm trying to get things working with the recent SDK 11.00.09.04.
Unfortunately this trick is not working anymore here and I'm still receiving Bus Errors despite I did adjust the
device tree file (k3-am642-evm.dts). I'm not yet seeing some point where I did make some mistake. So it seems that there
is some change in the recent SDK so that there is something else needed. But what?
Btw., that time I did also observe issues at a later stage and there was the conclusion that the GPMC CSRs
cannot be accessed from a user-level perspective but requires kernel privileges. See also here:
I'm not sure whether that is playing a role here and whether there have been made some adjustments to Linux
kernel software so that accessing those CSR from userland is generally not possible any more and results in bus errors.
However, my understanding is that the Linux kernel is not involved at all when just mapping physical memory regions.
Thanks,
Mario