Orange Pi Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
56
$ ./build.sh
After compiled the kernel, there will be an orangepi_misc.ko file
generated on the directory of lichee/linux-3.10/output/lib/modules/3.10.65
There is a .ko module which generated after compiled of
OrangePi_misc.c on */lichee/linux-3.4/output/lib/modules/3.4.39/
Insert U disk (please note the SD card should have been written image) if
the SD card system is mounted to the directory / dev / SDB, SD card will
have two sub mount points, respectively are / dev / sdb1 and /dev/sdb2. Two
partition of SD card will automatically mount to the PC /media/ directory,
the first partition is the boot partition and the second partition is the rootfs
partition.
Copy the OrangePi_misc.ko file to /media/*/lib/modules/3.4.39.
$ cp OrangePi_misc.ko /media/*/lib/modules/3.4.39
3. Cross compiler Application Program
Here will take arm-linux-gnueabihf-gcc as an example. Check whether
there is the cross compiler, if not, then download and install it.
$ arm-linux-gnueabihf-gcc -v