Orange Pi PC2 User Manual page 29

Table of Contents

Advertisement

Orange Pi Manual
resize2fs /dev/sdb2 900M
The "s"after the number represents specifying the size of file system via
the sectors(every sector calculated by 512 bite). You could also specify it
into K(KB), M(MB), G(GB), etc.
iv Use fdisk /dev/sdb to adjust the partition size, after into it, enter p,
and keep in mind about the initial position of needed extending size partition.
You need to first delete the partition then build a new one because the fdisk
could not modify the size dynamic(you need to calculate the size, it have to
enough to contain the file system adjusted in last step).
v Enter d to delete the partition need to change the size(my file system
is /dev/sdb2, which is the 2 partition ).
vi Enter n to build a new partition, make sure the initial position is the
same as you deleted, and enter the number as you desire. Besides, if it is
bootable partition you want to change, note that need to keep the bootable
mark in case cannot boot.
The above illustration is using fdisk and resize2fs to modify partition and
file system, you could also use gparted. Gparted has graphical interface and
it could help you to re-size file system at the same time of re-sizing partition.
Goarted is much easier to use and reduce the change to make mistake. For
now our offial Lubuntu and Raspbian could not use it.
8) How to use gc2035 on Linux
a. Use find command to find the location of the following files, and load it
according to the specified order
insmod videobuf-core.ko
insmod videobuf-dma-contig.ko
insmod uvcvideo.ko
insmod cci.ko
insmod vfe_os.ko
insmod vfe_subdev.ko
insmod gc2035.ko
insmod vfe_v4l2.ko
There should be generated video0 on /dev/ after loaded. After low-level
driver install, then the Andoird could be used directory.
b. Use camera in Linux
i Load up driver
sudo modprobe gc2035
sudo modprobe vfe_v4l2
ii Install motion
www.orangepi.org
Copy right by Shenzhen Xunlong Software Co., Ltd
27
www.xunlong.tv

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents