2253

From Sensoray Technical Wiki
Revision as of 10:26, 25 April 2013 by PE (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cross-compiling Linux driver for ARM

From sdk_2253_x.y.z_linux/driver:

 PATH=<path-to-cross-compiler/bin>:$PATH \
 make -C <path-to-target-kernel-directory> SUBDIRS=`pwd` \
 CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm modules

Copy the s2253.ko file to the target's /lib/modules/`uname -r`/extra directory, and run "depmod -a".

For the demo application, modify the Makefile path to the cross compiler, then do "make demo_arm".

Personal tools
Namespaces

Variants
Actions
Toolbox