原来我们在dm365上运行linux2.6.18(dvsdk_2_10_生成),利用mmap函数读写spi的寄存器,实现dm365与FPGA通信,读写都没有问题。
但是由于其他功能的需要把内核换成了linux2.6.32(dvsdk_4_02_生成),相同的程序,硬件平台是同一个,程序运行不报错,但是无法读写数据。
请问这是因为内核有什么不同吗?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
原来我们在dm365上运行linux2.6.18(dvsdk_2_10_生成),利用mmap函数读写spi的寄存器,实现dm365与FPGA通信,读写都没有问题。
但是由于其他功能的需要把内核换成了linux2.6.32(dvsdk_4_02_生成),相同的程序,硬件平台是同一个,程序运行不报错,但是无法读写数据。
请问这是因为内核有什么不同吗?