2017年2月21日 星期二

Linux UIO with ZYC706 U-boot config

Xilinx remove the compatible = "generic-uio" configuration in latest Kernel distribution ,if you want to use the uio function, you need  to add environment variable in uEnv.txt.



bootargs = "console=ttyPS0,115200 earlyprintk uio_pdrv_genirq.of_id=generic-uio";






ref:
1.https://forums.xilinx.com/t5/Embedded-Linux/generic-UIO-broken/td-p/564259/page/2
2.https://github.com/Xilinx/linux-xlnx/commit/7ebd62dbc727ef343b07c01c852a15fc4d9cc9e5

沒有留言:

張貼留言

Linux driver: How to enable dynamic debug at booting time for built-in driver.

 Dynamic debug is useful for debug driver, and can be enable by: 1. Mount debug fs #>mount -t debugfs none /sys/kernel/debug 2. Enable dy...