User Tools

Site Tools


tutorials:dvk521:documentations:a10:driver_porting_and_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tutorials:dvk521:documentations:a10:driver_porting_and_configuration [2014/03/13 14:22]
waveshare
tutorials:dvk521:documentations:a10:driver_porting_and_configuration [2014/03/13 14:26] (current)
waveshare
Line 41: Line 41:
 Reboot the system, insert the DS18B20 device. Reboot the system, insert the DS18B20 device.
  
-Copy [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​A10/​Driver%20and%20API/​Driver/​|ds18b20_dev]] to your ubuntu system, compile it with your own system setting (refer to Appendix 1 "​Compiling Driver Module"​),​ and copy the generated w1-sun4i.ko file to the board, use the following command to load the driver:+Copy [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​a10-cubieboard-dvk/​Driver%20and%20API/​Driver/​|ds18b20_dev]] to your ubuntu system, compile it with your own system setting (refer to Appendix 1 "​Compiling Driver Module"​),​ and copy the generated w1-sun4i.ko file to the board, use the following command to load the driver:
   $insmod ​ w1-sun4i.ko   $insmod ​ w1-sun4i.ko
  
Line 503: Line 503:
  
 ==== Appendix 1: Compiling Driver Module ====  ==== Appendix 1: Compiling Driver Module ==== 
-The provided xx.ko files under [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​A10/​Driver%20and%20API/​Driver/​|Driver]] is compiled to run on our system image only.+The provided xx.ko files under [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​a10-cubieboard-dvk/​Driver%20and%20API/​Driver/​|Driver]] is compiled to run on our system image only.
  
 If the drivers are going to being loaded on your own system, they need to be re-compiled according to you system kernel path. If the drivers are going to being loaded on your own system, they need to be re-compiled according to you system kernel path.
Line 509: Line 509:
 Use the io_control_dev.ko for demonstration. Use the io_control_dev.ko for demonstration.
  
-1.1 Copy the [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​A10/​Driver%20and%20API/​Driver/​|io_control_dev]] to ubuntu, assume the target directory is /​home/​waveshare/​cubieboard/​waveshare_demo/​driver .+1.1 Copy the [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​a10-cubieboard-dvk/​Driver%20and%20API/​Driver/​|io_control_dev]] to ubuntu, assume the target directory is /​home/​waveshare/​cubieboard/​waveshare_demo/​driver .
 Modify the files permission: Modify the files permission:
   #cd /​home/​waveshare/​cubieboard/​waveshare_demo/​driver/​io_control_dev   #cd /​home/​waveshare/​cubieboard/​waveshare_demo/​driver/​io_control_dev
tutorials/dvk521/documentations/a10/driver_porting_and_configuration.1394691776.txt.gz · Last modified: 2014/03/13 14:22 by waveshare