Open main menu

Wiki-Orange Pi β

Changes

Orange Pi PC 2

545 bytes added, 11:17, 23 June 2022
Compile device driver
<div style="padding-left:200px;">[[文件:Orange-pi-i96-img54.png|800px]]</div>
<br>
Back to the source code directory :<br><div style="padding-left:200px;">[[文件:Orange-pi-pc2-img85.png|800px]]</OrangePi_i96div><br>
$ ./build.sh<br>
Please refer to last section about Linux source code compilationAfter compiled the kernel, there will be an orangepi_misc.ko file generated on the directory of lichee/linux-3.4/output/lib/modules/3.4.41<br>Update the new generated module file into Linux system<div style="padding-left:200px;">[[文件:Orange-pi-pc2-img86.png|800px]]</div><br>It will generated There is a corresponding .ko file module which is generated from the previous compilation after compiled of OrangePi_misc.con */lichee/linux-3.4/output/lib/modules/3.4.39/<div style="padding-left:200px;">[[文件:Orange-pi-pc2-img87.png|800px]]</div><br>Insert U disk (please note the SD card should have been written image) if the SD card system is mounted to the directory system of /dev/sdcSDB, then SD card will have two sub mount to rootfspoints, which is respectively are / dev / sdb1 and /dev/sdc7sdb2. Two partition of SD card will automatically mount to the PC /media/ directory, the first partition is the boot partition and mounted to the second partition is the rootfs partition automatic.
<div style="padding-left:200px;">[[文件:Orange-pi-i96-img55.png|800px]]</div>
<br>
Copy the OrangePi_misc.ko file to /media/*/lib/modules/3.4.39.
$ cp OrangePi_misc.ko /media/*/lib/modules/3.4.39<br>
<br>