I have a zed board running the linux-4.6,and when i writing a device driver, the linux would be hanging, when the module call the function ioread32 or iowrite32.
I have a zed board running the linux-4.6,and when i writing a device driver, the linux would be hanging, when the module call the function ioread32 or iowrite32.
What sort fo device driver are you trying to write? What device are you trying to access? Is the device described in the Linux device tree? If it is not described in the device tree, or if that description is incorrect, then that could explain why Linux hangs when you try to access it. If it is a device that is also accessible through sysfs, it may be easier to start there and make sure the device is present in the system.
--Tom