Display

When you are using a ready made image for your device your display should be configured automatically.

In script.bin it is defined what display output is used and what hardware lines are used for connecting the output.

On kernel command line you can specify the video mode used on the output or override autodetection on outputs that support EDID.

HDMI
If you are using a device with HDMI and have proper script.bin for your device setting up display is as simple as adding disp.screen0_output_mode=EDID to your kernel command line. You can specify a fixed mode like disp.screen0_output_mode=1280x1024p60 or a fallback in case EDID did not work disp.screen0_output_mode=EDID:1280x1024p60. The supported fallback display modes are currently hardcoded in the disp driver. Looking at the clock table in https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.0/drivers/video/sunxi/disp/disp_clk.c might be helpful.

script.bin
Check these values in script.bin (you may need to remove the parts starting with semicolon):

[disp_init] disp_init_enable = 1 ; disp enabled? disp_mode = 0       ; ?? screen0_output_type = 3 ; HDMI screen0_output_mode = 4 ; this is somehow translated to actual video mode - use kernel arguments to set mode in more readable manner ; framebuffer 0 paramaters - same are used for framebuffer 1 fb0_framebuffer_num = 2 fb0_format = 10 fb0_pixel_sequence = 0 fb0_scaler_mode_enable = 0

LVDS
TBD

VGA
TBD

TV/CVBS
TBD

Using two displays
TBD

A10 has support for using two independent display outputs. Depending on board wiring and other hardware limitations not all output combinations may be possible.

Using hardware scaler
TBD

In some configurations turning the hardware scaler on or off in script.bin solves some issues.