I'm currently trying to add some features to the stock v0.94 firmware. For communication with the outside world I extended the API and the scpi-server.
Unfortunately, it seems like the higher FPGA registers (0x40500000 to 0x40700000) are not accessible via the UIO api device.
In the .dtsi-file the registers 0x40000000 to 0x40700000 are configured:
However, mmap'ing and accessing the higher registers results in a segfault.
I listed the UIO mappings of the api node with the following command:
Here the higher registers ("daisy", "unused", and "test") also don't show up.
Code: Select all
cat /sys/devices/soc0/amba_pl/40000000.api/uio/uio1/maps/map*/name hk acq asg pid ams
Does anyone have an idea what is going on? In the config all registers look exactly the same. Am I looking at the wrong device tree file?