Open main menu

Wiki-Orange Pi β

Changes

Orange Pi Zero Plus

54 bytes added, 13:56, 27 June 2022
Compile device driver
=== '''Compile device driver''' ===
<br>
Copy the OrangePi_misc.c to the directory of :<br><nowiki>*/lichee/linux-3.10/driver/misc</nowiki>directory:<br>
<div>[[File:Orange-pi-pc2-img83.png|800px]]</div>
<br>
Enter to */lichee/linux-3.10/drivers/misc/, and modify makefile<br>
<div>[[File:Orange-pi-pc2-img84.png|800px]]</div>
<br>
Modify Makefile on currently file, shown as following:
<div>[[File:Orange-pi-i96-img53.png|800px]]</div>
<div>[[File:Orange-pi-prime-img16.png|400px]]</div>
<br>
There will be is a .ko file module which generated after compiled of OrangePi_misc.c on the directory of:<br>*/lichee/linux-3.10/output/lib/modules/3.10.65/<br>It is generated after OrangePi_misc.c compilation<div>[[File:Orange-pi-pc2-img88.png|800px]]</div><br>IInsert 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.
<div>[[File:Orange-pi-i96-img55.png|800px]]</div>
<br>