cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Scholar
Scholar
4,695 Views
Registered: ‎08-14-2007

I want to learn programming through Adapter Layer of OS!!

hi,

 

recently was following an Avnet tutorial for BlueCat and Petalinux, i am using BlueCat ME for Microblaze and for Spartan 3A 1800DSP.

 

in this tutorial come two examples of how use GPIOS, one using low level drivers (xilinx drivers)  and another using OS layered drivers (linux drivers)

 

i know that is better programming with the OS layered drivers, because portability

but when i see the code to turn ON some leds and to read pushbuttons, i did not understand nothing!!!

 

in this code they use a struct calles ioctl

 

where can i learn to program with linux drivers??, to manipulate GPIOs, serial, i2c, spi, etc.

there is some book related to this topic??

 

 i was looking for topic in the internet, but i was looking for "programming in linux", but only come how to program C or C++ in linux but nothing about how manipulate GPIO, serial, i2c, etc.

 

so any suggestion is welcome 

thanks a lot

 

 

 

0 Kudos
2 Replies
Highlighted
Visitor
Visitor
4,688 Views
Registered: ‎10-28-2008

This one is a good start: 

 

http://lwn.net/Kernel/LDD3/

 

- John 

0 Kudos
Highlighted
Observer
Observer
3,694 Views
Registered: ‎12-10-2008

hi, pumaju.

Recently I  begin to study linux on FPGA.

Do you mind to send your Avnet tutorial to me?

My email is zyt9999@163.com.

thank you very much! 

0 Kudos