How to config Bananapi pro AV output as default video signal ?

18 篇文章 0 订阅
To get the tools, go to the git repository at
https://github.com/linux-sunxi/sunxi-tools/

and download the ZIP file 

unzip the file on Ubuntu desktop
the folder call is:
"sunxi-tools-master"


Open terminal and type:

$ sudo apt-get install libusb-1.0-0-dev


then go to directory:

$ cd Desktop)
$ cd sunxi-tools-master


copy the file script.bin from SD of Banana Pi,
and paste on "sunxi-tools-master" (folder)

on terminal type:

$ make bin2fex
$ ./bin2fex script.bin >./script.fex


The script.fex file has created on sunxi-tools-master
then open with a text editor

find this line:
[disp_init]


there paste & replace  (http://wiki.lemaker.org/index.ph ... n#Porting_AV_driver):

[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 2
screen0_output_mode = 11
screen1_output_type = 0
screen1_output_mode = 4
fb0_width = 1024
fb0_height = 768
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 0
fb1_width = 1024
fb1_height = 768
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 0
lcd0_backlight = 197
lcd1_backlight = 197
lcd0_bright = 50
lcd0_contrast = 50
lcd0_saturation = 57
lcd0_hue = 50
lcd1_bright = 50
lcd1_contrast = 50
lcd1_saturation = 57
lcd1_hue = 50
 



go to terminal again type:

$ make fex2bin

$ ./fex2bin script.fex >./script.bin



copy the file script.bin from sunxi-tools-master (folder)
go to SD card paste & replace the script.bin file

That's all.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值