Orange Pi Manual Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
75
www.xunlong.tv
Compile the application with cross compiler
$ arm-linux-gnueabihf-gcc app.c –o aq
There will be an ap application generated in the directory, copy it to the
development board file system(on the rootfs directory of /home/orangepi/)
$ cp aq /media/*/home/orangepi/
4.
Running demo
Running Applications on Development Board
Removed the SD card and inserted it into the development board and
power on.
You need to switch to root users and load module driver module to
the development board first.
$ insmod /lib/modules/orangepi.ko
$ lsmod To check whether it is loaded