altera


How to compile drivers on 3.0.32-yocto-standard


I am new to yocto and developing drivers. I got source code (alter_driver.c and Makefile) for the drivers but I don't have any idea how to compile and get altera_driver.ko file, so that I can load that drivers and use them.
The version of yocto kernel is 3.0.32-yocto-standard which I got from terminal command uname -r.
Please help me in compiling the drivers. Thank you.
I suggest you read the Yocto Kernel Development Manual (the link is to current version: you should use the one for your Yocto release). If the only thing you have is a out-of-tree module, see part 2.5.2 which explains how to create a recipe for your driver.
The short version is: make a copy of the example recipe, add your sources in the files/-directory, modify the Makefile to build your sources... but read the manual, it's pretty good.
Also, the Kernel Lab may be useful: it mostly talks about working with a full kernel but also covers an out-of-tree module example (lab 4).

Related Links

Altera Monitor programm unable to acces jarfile
How can I debug Schematic File separately from my project file in Quartus?
Altera Cyclone V baremetal app fail
How to calculate lut mask for Arria10 LUT for arithmetic mode
How to compile drivers on 3.0.32-yocto-standard
How to use new component created in Qsys to vectorize/group together many signals
How to increase the address in ROM-1Port
C to Fpga error with LCD under Altera DE2-70 board
File Operation issue while porting to Altera NIOS II
How to find system library properties in Nios 2 IDE v12?

Categories

HOME
android
api
gdb
fpga
themes
mstest
scripting
web-hosting
vsm
odoo-8
lanczos
qpython
g++
siddhi
alamofire
xcodebuild
package.json
searchview
forgot-password
smartclient
gmm
topology
google-maps-autocomplete
breadth-first-search
ksh
imagemap
backpack-for-laravel
pimcore
pchart
monit
itunes
gpio
android-sharedpreferences
paperjs
carrierwave
failover
vex
calculation
autolisp
clickjacking
gnat-gps
classcastexception
html-encode
playframework-2.1
loading
metawidget
opensmpp
c9.io
resolution
parser-generator
berkeley-db-je
flask-restful
jboss-4.2.x
facebook-pixel
google-cse
zenhub
pair-programming
wpas
java-6
android-testing
ngmaterial
css-transforms
renaming
sandcastle
pocketsphinx-android
restore
cubism.js
meteor-packages
microstation
model-associations
jboss-tools
mapinfo
expectations
udpclient
respondcms
google-query-language
httpruntime.cache
crouton-os
boomerang
forwarding
toolkit
atoi
vacuum
dronekit-android
ocra
linked-tables
snoop
kubuntu
android-broadcast
grouping-sets
cross-join
at-job
crowd
genymotion-call
ios8-extension
maven-scm
gae-quotas
square-bracket
clickbank
conditionaltagsupport
multitasking
jammer
oocss
kogrid
route-provider
windows-98
cardreader
intersect
boost-msm
apache-whirr
stress
box2d-iphone
globals
alsb
software-lifecycle

Resources

Encrypt Message