8,367
edits
Changes
no edit summary
Insert the TF card with written image to OrangePi, turn on the computer then you could enter to Android system.<br>
<br>
== '''Use Project Configuration Files''' ==
<br>
=== '''sys_config.fex Introduction''' ===
<br>
'''Configure hardware: sys_config.fe'''
<br>
<br>
The sys_config.fex is a binary configuration file that used by the SOC kernel driver or LiveSuit for a particular target board, including how to set up a variety of peripherals, ports, and I/O which based on the target version.<br>
For OrangePi, the location of the project configuration document is: lichee/tools/pack/chips/sun8iw7p1/configs/dolphin-p1/sys_config.fex<br>
Copy the file to the directory of /lichee, use command:<br>
$ cd ./lichee<br>
$ cp ./tools/pack/chips/sun8iw7p1/configs/dolphin-p1/sys_config.fex ./ <br>
You could personalized configuration of sys_config.fex according to
sysconfig1.fex_manul_linux_BSP_v0.4.pdf.<br>
Direcotory of sysconfig1.fex_manul_linux_BSP_v0.4.pdf is
/lichee/buildroot/docs.<br>
<br>
=== '''Examples''' ===
<br>
'''1)Modify the output mode into tv'''
<br>
* tv-out out, the output type of tv0 is invalid, you need to set the output type of tv1 into pal.
Modify defaulted enable display output configuration into tv <br>
[tv0]<br>
used = 1<br>
tv_dac_used = 1<br>
dac_src0 = 0<br>
dac_type0= 0<br>
interface= 1 <br>
[tvout_para] <br>
tvout_used= 1
tvout_channel_num= 1<br>
<br>
[disp] <br>
disp_init_enable= 1<br>
disp_mode= 1<br>
screen0_output_type= 2<br>
screen0_output_mode= 11<br>
screen1_output_type= 2<br>
screen1_output_mode= 11<br>
dev0_output_type = 4<br>
dev0_output_mode = 4<br>
dev0_screen_id = 0<br>
dev0_do_hpd = 1<br>
dev1_output_type = 2<br>
dev1_output_mode = 11<br>
Modify sys_confi and replace it when it generated OrangePiH5.dtb. If would be faster if use compilation system on githug. About compilation you could refer to the charter of Linux Compilation.<br>
<br>
'''2)Loading tv.ko module automatically after booted'''
<br>
Enter /lib/ directory, enter command: <br>
depmod -a<br>
Add one more line on /etc/modules <br>
tv<br>
It would be tv out after booted<br>
* Capacitance touch panel (capacitor tp)
<br>
{| class="wikitable" style="background:#fff;width:800px;"
|-
| Configuration Item|| Configuration Meaning
|-
| ctp_used=xx|| Whether turn on capacitance touch panel, if so set the value as 1, and vice verso 0.
|-
| ctp_name =xx|| Indicates the control scheme used in the specified scheme, for now there are: "ft5x_ts" or
"Goodix-TS".
|-
| 示例 || 示例
|-
| 示例 || 示例
|-
| 示例 || 示例
|-
| 示例 || 示例
|-
| 示例 || 示例
|-
| 示例 || 示例
|-
| 示例 || 示例
|-
| 示例 || 示例
|-
| 示例 || 示例
|-
| 示例 || 示例
|}
== '''Orange Pi Driver development''' ==