How to config AV output as default video signal ?

8 26964
I see: AV driver has been included in the kernel, just config the script.fex directly:

How to find the file Script.fex ???

Then convert it into script.bin format by using fex2bin, and replace the earlier script.bin on the board.
Reboot the system, now the AV port can be used for displaying.

How to use fex2bin ???
Reply 1# deenbee
hi, have a look this link

To get the tools, go to the git repository at

and download the ZIP file

unzip the file on Ubuntu desktop
the folder call is:

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:

there paste & replace  ( ... n#Porting_AV_driver):

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.

screen0_output_type = 2
screen0_output_mode = 14

For NTSC users

Reply 4# omgkillme

Thanks you,

You need show all Norm aivailable configurations for another users.

How to know it?

Post Last Edited by omgkillme at 2014-8-1 12:26  had it listed

All  Modes  

0        480i        1680*1050
1        576i        1440*900
2        480p        1360*768
3        576p        1280*1024
4        720p50        1024*768
5        720p60        800*600
6        1080i50        640*480
7        1080i60       
8        1080p24       
9        1080p50       
10        1080p60        1920*1080
11        pal        1280*720
14        ntsc

ok thanks

Edited by Crypter at Wed Feb 18, 2015 18:24

I'm getting only grayscale image (black and white) and overscan big enough not to see the menus on the sides on a PAL TV. Someone else had this same problem on the forum, no solution so far. Any info about how can we solve this?

P.S: Yes, I'm certain I'm not using the NTSC settings for my PAL TV (that usually gives grayscale images on pal tvs)


The script.bin/script.fex files are all OK, I left my banana pi without power more than 15min, booted it and it showed color image for like 30-45 seconds. After that it went back to monochrome, grayscale image during work. Is there any way I can set the composite output to constantly use RGB + sync signal instead of CVBS (or vice versa, I'm not certain which one it uses now).

The cabling is OK, tried my banana pi on three different receivers, all of them give the exact same results.

You have to log in before you can reply Login | Sign Up

Points Rules